Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Commit

Permalink
Edge case T=0 syndrome measurements fixed (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
jagunther authored Jun 15, 2020
1 parent 803ed03 commit 659727d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/ignis/verification/topological_codes/circuits.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def __init__(self, d, T=0):

for _ in range(T-1):
self.syndrome_measurement()
self.syndrome_measurement(reset=False)

if T != 0:
self.syndrome_measurement(reset=False)
self.readout()

def get_circuit_list(self):
Expand Down

0 comments on commit 659727d

Please sign in to comment.