Skip to content

Commit

Permalink
fix prob assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumjim authored Mar 1, 2024
1 parent 354caa2 commit 4aa4633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qiskit_qec/decoders/decoding_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def weight_syndrome_graph(self, counts, method: str = METHOD_SPITZ):

boundary_nodes = []
for n, node in enumerate(self.graph.nodes()):
if node.is_boundary:
if node.is_logical:
boundary_nodes.append(n)

for edge in self.graph.edge_list():
Expand Down

0 comments on commit 4aa4633

Please sign in to comment.