SuddenNetZero

class qililab.SuddenNetZero(amplitude, duration, b, t_phi)

Bases: Waveform

Sudden Net Zero waveform. https://arxiv.org/pdf/2008.07411

Parameters:
  • duration (int) – Duration of the pulse (ns).

  • amplitude (float) – Maximum amplitude of the pulse.

  • b (float) – Instant stops height when going from the rectangular half-duration to height = 0. Coefficient applied to the amplitude.

  • t_phi (int) – Time at height = 0, in the middle of the positive and negative rectangular pulses.

Methods

envelope([resolution])

SuddenNetZero envelope.

get_duration()

Get the duration of the waveform.

Attributes

yaml_tag

envelope(resolution=1.0)

SuddenNetZero envelope.

Parameters:

resolution (float, optional) – Resolution of the pulse. Defaults to 1.

Returns:

Height of the envelope for each time step.

Return type:

np.ndarray

get_duration()

Get the duration of the waveform.

Returns:

The duration of the waveform in ns.

Return type:

int