qiskit.pulse.library.drag
drag(duration, amp, sigma, beta, name=None, zero_ends=True)
Generates Y-only correction DRAG Waveform
for standard nonlinear oscillator (SNO) [1].
For amp
, sigma
, and beta
, applies the midpoint
sampling strategy to generate a discrete pulse sampled from the continuous function:
where is the function sampled in gaussian()
, and is the function sampled in gaussian_deriv()
.
If zero_ends == True
, the samples from are remapped as in gaussian()
.
References
Parameters
- duration (int) – Duration of pulse. Must be greater than zero.
- amp (complex) – Pulse amplitude at center
duration/2
. - sigma (float) – Width (standard deviation) of pulse.
- beta (float) – Y correction amplitude. For the SNO this is . Where is the relative coupling strength between the first excited and second excited states and is the detuning between the respective excited states.
- name (str | None) – Name of pulse.
- zero_ends (bool) – If True, zero ends at
x = -1, x = duration + 1
, but rescale to preserve amp.
Return type
Was this page helpful?
Report a bug or request content on GitHub.