Skip to main contentIBM Quantum Documentation
This page is from the dev version of Qiskit SDK. Go to the stable version

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.