Skip to content

Commit

Permalink
Fix maddr in qec3q
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Ristè committed Jun 13, 2018
1 parent ea4e701 commit 2cec398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGL/BasicSequences/Feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def BitFlip3(data_qs, ancilla_qs, theta=None, phi=None, nrounds=1, meas_delay=1e
for k in range(nrounds):
seqs+=[CNOT(data_qs[0],ancilla_qs[0])*CNOT(data_qs[1],ancilla_qs[1])],
seqs+=[CNOT(data_qs[1], ancilla_qs[0])*CNOT(data_qs[2],ancilla_qs[1])],
seqs+= [MEASA(ancilla_qs[0], maddr=(10,2*k+1))*MEASA(ancilla_qs[1], maddr=(10,2*k+2)),
seqs+= [MEASA(ancilla_qs[0], maddr=(10,2**(2*n))*MEASA(ancilla_qs[1], maddr=(10,2**(2*n+1))),
Id(ancilla_qs[0], meas_delay),
MEAS(data_qs[0],amp=0)*MEAS(data_qs[1],amp=0)*MEAS(data_qs[2],amp=0)] # virtual msmt's just to keep the number of segments uniform across digitizer channels
seqs+=Decode(10, 11, 4**nrounds-1)
Expand Down

0 comments on commit 2cec398

Please sign in to comment.