Skip to content

Commit

Permalink
Merge branch 'feature/XYX-cliffords' into feature/XYX-Cliffords
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewware committed Apr 16, 2020
2 parents 335aa25 + 750a31c commit 9d8d3d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion QGL/BasicSequences/RB.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@ def TwoQubitRB(q1, q2, seqs, cliff_type='std',

#Add the measurement to all sequences
for seq in seqsBis:
seq.append(MEAS(q1) * MEAS(q2))
if meas_qubits.upper() == "ALL":
seq.append(MEAS(q1) * MEAS(q2))
else:
seq.append(reduce(operator.mul, [MEAS(q) for q in meas_qubits]))

axis_descriptor = [{
'name': 'length',
Expand Down

0 comments on commit 9d8d3d7

Please sign in to comment.