GaussianDragCorrection

class qililab.GaussianDragCorrection(amplitude, duration, num_sigmas, drag_coefficient)

Bases: Gaussian

Calculates the first order drag correction of the imaginary (Ey) channel of a drive pulse. See https://arxiv.org/abs/0901.0534 (10).

So far only implemented for Gaussian pulses.

Parameters:
  • drag_coefficient (float) – drag coefficient

  • waveform (Waveform) – waveform on which the drag transformation is calculated

Attributes Summary

yaml_tag

Methods Summary

envelope([resolution])

Returns the envelope corresponding to the drag correction.

get_duration()

Get the duration of the waveform.

Attributes Documentation

yaml_tag = '!GaussianDragCorrection'

Methods Documentation

envelope(resolution=1)

Returns the envelope corresponding to the drag correction.

Parameters:

resolution (int, optional) – Pulse resolution. 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