Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

# Drag¶

class Drag(duration: Union[int, ParameterExpression], amp: Union[complex, ParameterExpression], sigma: Union[float, ParameterExpression], beta: Union[float, ParameterExpression], name: Optional[str] = None, limit_amplitude: Optional[bool] = None)[source]

Bases: object

The Derivative Removal by Adiabatic Gate (DRAG) pulse is a standard Gaussian pulse with an additional Gaussian derivative component and lifting applied.

It can be calibrated either to reduce the phase error due to virtual population of the $$|2\rangle$$ state during the pulse or 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.

References

Create new pulse instance.

প্যারামিটার
• duration -- Pulse length in terms of the sampling period dt.

• amp -- The amplitude of the Drag envelope.

• sigma -- A measure of how wide or narrow the Gaussian peak is; described mathematically in the class docstring.

• beta -- The correction amplitude.

• name -- Display name for this pulse envelope.

• limit_amplitude -- If True, then limit the amplitude of the waveform to 1. The default is True and the amplitude is constrained to 1.

রিটার্নস

SymbolicPulse instance.

Attributes

alias = 'Drag'