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 \(A=\)
amp
, \(\sigma=\)sigma
, and \(\beta=\)beta
, applies themidpoint
sampling strategy to generate a discrete pulse sampled from the continuous function:\[f(x) = g(x) + i \beta h(x),\]where \(g(x)\) is the function sampled in
gaussian()
, and \(h(x)\) is the function sampled ingaussian_deriv()
.If
zero_ends == True
, the samples from \(g(x)\) are remapped as ingaussian()
.참조
- 매개변수
duration (
int
) – Duration of pulse. Must be greater than zero.amp (
complex
) – Pulse amplitude at centerduration/2
.sigma (
float
) – Width (standard deviation) of pulse.beta (
float
) – Y correction amplitude. For the SNO this is \(\beta=-\frac{\lambda_1^2}{4\Delta_2}\). Where \(\lambda_1\) is the relative coupling strength between the first excited and second excited states and \(\Delta_2\) is the detuning between the respective excited states.name (
Optional
[str
]) – Name of pulse.zero_ends (
bool
) – If True, zero ends atx = -1, x = duration + 1
, but rescale to preserve amp.
- 반환 형식