About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
qiskit.pulse.library.sin
sin(duration, amp, freq=None, phase=0, name=None)
Generates sine wave Waveform
.
For amp
, freq
, and phase
, applies the midpoint sampling strategy to generate a discrete pulse sampled from the continuous function:
Parameters
- duration (
int
) – Duration of pulse. Must be greater than zero. - amp (
complex
) – Pulse amplitude. - freq (
Optional
[float
]) – Pulse frequency, units of 1/dt. IfNone
defaults to single cycle. - phase (
float
) – Pulse phase. - name (
Optional
[str
]) – Name of pulse.
Return type
Was this page helpful?
Report a bug or request content on GitHub.