Skip to content

Commit

Permalink
remove measuremed_logicals
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumjim committed Jan 19, 2024
1 parent 6ab2010 commit 433efa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qiskit_qec/decoders/hdrg_decoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def cluster(self, nodes):
# get indices for nodes and logical nodes
dg = self.decoding_graph.graph
ns = set(dg.nodes().index(node) for node in nodes)
lns = set(node for node in dg.nodes().index(self.decoding_graph.logical_nodes))
lns = set(dg.nodes().index(node) for node in self.decoding_graph.logical_nodes)

dist_max = 0
final_clusters = {}
Expand Down

0 comments on commit 433efa7

Please sign in to comment.