qudit_sim.pulse.Square
- class qudit_sim.pulse.Square(duration, amp)
Square (constant) pulse.
- Parameters
duration (
float) – Pulse duration.amp (
Union[float,complex]) – Pulse height relative to the drive base amplitude.
Methods
modulate(drive_base, frequency, ...)Modulate the tone at the given amplitude and frequency with this pulse.