Skip to main content
IBM Quantum Platform
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.

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 has been deprecated.


Attributes

alias

Default value: 'Constant'

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