BBN-Q / PyQLab

A python library for instrument control and superconducting QIP experiments.
Apache License 2.0
25 stars 11 forks source link

Force triggers to be left-aligned #88

Closed CoherenceController closed 7 years ago

CoherenceController commented 9 years ago

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

caryan commented 9 years ago

@dieris do you have an example QGL program?

dieris commented 9 years ago

align(MEAS(q1)*X(q2))

was trying to center all the pulses in (), including the digitizer trigger for MEAS(q1)

dieris commented 8 years ago

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.

blakejohnson commented 8 years ago

@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.