Waveform
AlignedWaveform ¶
Bases: Waveform
<padded waveform> ::= <waveform> | <waveform> <alignment> <value>
<alignment> ::= 'left aligned' | 'right aligned'
<value> ::= 'left value' | 'right value' | <scalar expr>
Constant ¶
Bases: Instruction
f(t=0:duration) = value
Parameters:
Source code in src/bloqade/ir/control/waveform.py
Linear ¶
Bases: Instruction
f(t=0:duration) = start + (stop-start)/duration * t
Parameters:
Source code in src/bloqade/ir/control/waveform.py
Poly ¶
Bases: Instruction
f(t=0:duration) = c[0] + c[1]t + c[2]t^2 + ... + c[n-1]t^n-1 + c[n]t^n
Parameters:
Source code in src/bloqade/ir/control/waveform.py
PythonFn ¶
Scale ¶
Slice ¶
Smooth ¶
Bases: Waveform