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.
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

Constant

class qiskit.pulse.library.Constant(duration, amp, angle=0.0, name=None, limit_amplitude=None)

Bases: object

A simple constant pulse, with an amplitude value and a duration:

f(x)=amp×exp(iangle),0<=x<durationf(x)=0,elsewheref(x) = \text{amp}\times\exp\left(i\text{angle}\right) , 0 <= x < duration f(x) = 0 , elsewhere
Deprecated since version 1.3

The class qiskit.pulse.library.symbolic_pulses.Constant is deprecated as of Qiskit 1.3. It will be removed in Qiskit 2.0. The entire Qiskit Pulse package is being deprecated and will be moved to the Qiskit Dynamics repository: https://github.com/qiskit-community/qiskit-dynamics


Attributes

alias

Default value: 'Constant'

Was this page helpful?
Report a bug or request content on GitHub.