Skip to content

Commit

Permalink
standardize stim code circuit
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumjim committed Jan 18, 2024
1 parent 2f8bd05 commit d379596
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qiskit_qec/circuits/stim_code_circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d379596

Please sign in to comment.