Drag¶
- class Drag(duration, amp, sigma, beta, name=None, limit_amplitude=None)[소스]¶
기반 클래스:
qiskit.pulse.library.parametric_pulses.ParametricPulse
The Derivative Removal by Adiabatic Gate (DRAG) pulse is a standard Gaussian pulse with an additional Gaussian derivative component and lifting applied.
It is designed to reduce the frequency spectrum of a standard Gaussian pulse near the \(|1\rangle\leftrightarrow|2\rangle\) transition, reducing the chance of leakage to the \(|2\rangle\) state.
\[\begin{split}g(x) &= \exp\Bigl(-\frac12 \frac{(x - \text{duration}/2)^2}{\text{sigma}^2}\Bigr)\\ g'(x) &= \text{amp}\times\frac{g(x)-g(-1)}{1-g(-1)}\\ f(x) &= g'(x) \times \Bigl(1 + 1j \times \text{beta} \times \Bigl(-\frac{x - \text{duration}/2}{\text{sigma}^2}\Bigr) \Bigr), \quad 0 \le x < \text{duration}\end{split}\]where \(g(x)\) is a standard unlifted Gaussian waveform and \(g'(x)\) is the lifted
Gaussian
waveform.This pulse, defined by \(f(x)\), would be more accurately named as
LiftedDrag
, however, for historical and practical DSP reasons it has the nameDrag
.참조
Initialize the drag pulse.
- 매개변수
duration (
Union
[int
,ParameterExpression
]) – Pulse length in terms of the the sampling period dt.amp (
Union
[complex
,ParameterExpression
]) – The amplitude of the Drag envelope.sigma (
Union
[float
,ParameterExpression
]) – A measure of how wide or narrow the Gaussian peak is; described mathematically in the class docstring.beta (
Union
[float
,ParameterExpression
]) – The correction amplitude.name (
Optional
[str
]) – Display name for this pulse envelope.limit_amplitude (
Optional
[bool
]) – IfTrue
, then limit the amplitude of the waveform to 1. The default isTrue
and the amplitude is constrained to 1.
Methods
Plot the interpolated envelope of pulse.
Return a Waveform with samples filled according to the formula that the pulse represents and the parameter values it contains.
Return True iff the instruction is parameterized.
Validate parameters.
Attributes
- amp¶
The Gaussian amplitude.
- 반환 형식
Union
[complex
,ParameterExpression
]
- beta¶
The weighing factor for the Gaussian derivative component of the waveform.
- 반환 형식
Union
[float
,ParameterExpression
]
- id¶
Unique identifier for this pulse.
- 반환 형식
int
- limit_amplitude = True¶
- parameters¶
- 반환 형식
Dict
[str
,Any
]
- sigma¶
The Gaussian standard deviation of the pulse width.
- 반환 형식
Union
[float
,ParameterExpression
]