Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.pulse.library.discrete

Module for builtin discrete pulses.

Note the sampling strategy use for all discrete pulses is midpoint.

Functions

constant(duration, amp[, name])Generates constant-sampled Waveform.
cos(duration, amp[, freq, phase, name])Generates cosine wave Waveform.
drag(duration, amp, sigma, beta[, name, …])Generates Y-only correction DRAG Waveform for standard nonlinear oscillator (SNO) [1].
gaussian(duration, amp, sigma[, name, zero_ends])Generates unnormalized gaussian Waveform.
gaussian_deriv(duration, amp, sigma[, name])Generates unnormalized gaussian derivative Waveform.
gaussian_square(duration, amp, sigma[, …])Generates gaussian square Waveform.
sawtooth(duration, amp[, freq, phase, name])Generates sawtooth wave Waveform.
sech(duration, amp, sigma[, name, zero_ends])Generates unnormalized sech Waveform.
sech_deriv(duration, amp, sigma[, name])Generates unnormalized sech derivative Waveform.
sin(duration, amp[, freq, phase, name])Generates sine wave Waveform.
square(duration, amp[, freq, phase, name])Generates square wave Waveform.
triangle(duration, amp[, freq, phase, name])Generates triangle wave Waveform.
zero(duration[, name])Generates zero-sampled Waveform.
Was this page helpful?
Report a bug or request content on GitHub.