Skip to main contentIBM Quantum Documentation

qiskit.pulse.library.Sawtooth

qiskit.pulse.library.Sawtooth(duration, amp, phase, freq=None, angle=0.0, name=None, limit_amplitude=None)GitHub(opens in a new tab)

A sawtooth pulse.

The envelope of the pulse is given by:

f(x)=2A[g(x)g(x)+12]f(x) = 2\text{A}\left[g\left(x\right)- \lfloor g\left(x\right)+\frac{1}{2}\rfloor\right]

where A=amp×exp(i×angle)\text{A} = \text{amp} \times\exp\left(i\times\text{angle}\right), g(x)=x×freq+phase2πg\left(x\right)=x\times\text{freq}+\frac{\text{phase}}{2\pi}, and ...\lfloor ...\rfloor is the floor operation.

Parameters

Returns

ScalableSymbolicPulse instance.

Return type

ScalableSymbolicPulse

Was this page helpful?