From 6250fbc0d005fe3f8c8092792166a1bb2c9195f3 Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Thu, 17 Nov 2016 21:11:34 -0800 Subject: [PATCH] PEP compliance --- abp/graphstate.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/abp/graphstate.py b/abp/graphstate.py index e37f72f..b1f41e3 100755 --- a/abp/graphstate.py +++ b/abp/graphstate.py @@ -62,7 +62,7 @@ class GraphState(object): def _add_node(self, node, **kwargs): """ Add a node. - + By default, nodes are initialized with ``vop=``:math:`I`, i.e. they are in the :math:`|+\\rangle` state. """ if node in self.node: @@ -425,7 +425,8 @@ class GraphState(object): """ Represent as a string for quick debugging """ s = "" for key in sorted(self.node.keys()): - s += "{}: {}\t".format(key, clifford.get_name(self.node[key]["vop"])) + s += "{}: {}\t".format(key, + clifford.get_name(self.node[key]["vop"])) if self.adj[key]: s += str(tuple(self.adj[key].keys())).replace(" ", "") else: