Closed CoherenceController closed 7 years ago
@dieris do you have an example QGL program?
align(MEAS(q1)*X(q2))
was trying to center all the pulses in (), including the digitizer trigger for MEAS(q1)
could someone @caryan @blakejohnson review this branch and merge if ok? The purpose is to have a X pulse aligned with the center of a measurement (on another qubit). Without this fix, the digitizer trigger would also be centered.
@dieris I think Colm and I were uncomfortable with tying this to a magic label (in this case 'TRIG'). But, I don't immediately have a better solution for you. What I want is to introduce is a new concept of an Event
with zero-duration. Then we could properly inject triggers on edges to do something like this.
This prevents a digitizer trigger from being aligned with the other pulses. For example, when center-aligning a measurement pulse with a gate on another qubit. Not sure if this solution is too restrictive. --DR