Skip to content

Commit

Permalink
Optional choice of dig_trig (or None)
Browse files Browse the repository at this point in the history
Allow sequences with MEAS where we are not interested in the measurement
result (e.g. to test QNDness)
  • Loading branch information
Diego Ristè committed Jan 13, 2018
1 parent 7df452a commit 00ca952
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion QGL/PulsePrimitives.py
Expand Up @@ -735,7 +735,8 @@ def MEAS(qubit, **kwargs):
ignoredStrParams = ['phase', 'frameChange']
if 'amp' not in kwargs:
ignoredStrParams.append('amp')
return Pulse("MEAS", measChan, params, amp, 0.0, 0.0, ignoredStrParams)
meas_label = "MEAS_no_trig" if 'dig_trig' in kwargs and not kwargs['dig_trig'] else "MEAS"
return Pulse(meas_label, measChan, params, amp, 0.0, 0.0, ignoredStrParams)


#MEAS and ring-down time on one qubit, echo on every other
Expand Down

0 comments on commit 00ca952

Please sign in to comment.