From 433efa7147fef823b2496492ba2564a2ac55cba2 Mon Sep 17 00:00:00 2001 From: James Wootton Date: Fri, 19 Jan 2024 20:20:25 +0100 Subject: [PATCH] remove measuremed_logicals --- src/qiskit_qec/decoders/hdrg_decoders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qiskit_qec/decoders/hdrg_decoders.py b/src/qiskit_qec/decoders/hdrg_decoders.py index 939b64d8..256b440b 100644 --- a/src/qiskit_qec/decoders/hdrg_decoders.py +++ b/src/qiskit_qec/decoders/hdrg_decoders.py @@ -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 = {}