Skip to content

Commit

Permalink
comment that the number to Id() is called 'length'
Browse files Browse the repository at this point in the history
  • Loading branch information
ahelsing committed Jun 19, 2019
1 parent 29302b0 commit 85a6fe6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/python/qgl2/qgl1.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from qgl2.qgl2 import qreg, pulse, qgl2stub, qgl2meas, control, classical

# Many uses of Id supply a delay. That's the length: an int or float
# Must use the label 'length'
# FIXME: Do we need to include that explicitly?
@qgl2stub('QGL.PulsePrimitives')
def Id(channel: qreg, *args, **kwargs) -> pulse:
Expand Down

0 comments on commit 85a6fe6

Please sign in to comment.