From d3795969f1fd2ff790a6ee0f2852c2b0e237437e Mon Sep 17 00:00:00 2001 From: James Wootton Date: Thu, 18 Jan 2024 17:14:07 +0100 Subject: [PATCH] standardize stim code circuit --- src/qiskit_qec/circuits/stim_code_circuit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qiskit_qec/circuits/stim_code_circuit.py b/src/qiskit_qec/circuits/stim_code_circuit.py index e27b52f4..d095918c 100644 --- a/src/qiskit_qec/circuits/stim_code_circuit.py +++ b/src/qiskit_qec/circuits/stim_code_circuit.py @@ -191,7 +191,8 @@ def _helper(stim_circuit: StimCircuit, reps: int): self.decomp_stim_circuit = self.decompose_stim_circuit(self.stim_circuit) _helper(self.decomp_stim_circuit, 1) - self.circuit = self.qc + self.circuit = {"": self.qc} + self.base = "" # if a set of measurement comparisons is deterministically 1 in the absence of errors, # the set of syndromes is compared to that