Skip to main contentIBM Quantum Documentation

qiskit.pulse.library.Cos

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

A cosine pulse.

The envelope of the pulse is given by:

f(x)=Acos(2πfreqx+phase),0<=x<durationf(x) = \text{A}\cos\left(2\pi\text{freq}x+\text{phase}\right) , 0 <= x < duration

where A=amp×exp(i×angle)\text{A} = \text{amp} \times\exp\left(i\times\text{angle}\right).

Parameters

Returns

ScalableSymbolicPulse instance.

Return type

ScalableSymbolicPulse

Was this page helpful?