qudit_sim.pulse.Drag

class qudit_sim.pulse.Drag(duration, amp, sigma, beta, center=None, zero_ends=True)

DRAG pulse.

Parameters
  • duration (float) – Pulse duration.

  • amp (Union[float, complex]) – Gaussian height relative to the drive base amplitude.

  • sigma (float) – Gaussian width in seconds.

  • beta (float) – DRAG \(\beta\) factor.

  • center (Optional[float]) – Center of the Gaussian as time in seconds from the beginning of the pulse.

  • zero_ends (bool) – Whether to “ground” the pulse by removing the pedestal and rescaling the amplitude accordingly.

Methods

modulate(drive_base, frequency, ...)

Modulate the tone at the given amplitude and frequency with this pulse.

Attributes

amp

rtype

complex