ParametricPulse¶
- class ParametricPulse(duration, name=None, limit_amplitude=None)[source]¶
Bases:
qiskit.pulse.library.pulse.Pulse
The abstract superclass for parametric pulses.
Warning
This class is superseded by
SymbolicPulse
and will be deprecated and eventually removed in the future because of the poor flexibility for defining a new waveform type and serializing it through theqiskit.qpy
framework.Create a parametric pulse and validate the input parameters.
- Parameters
duration (
Union
[int
,ParameterExpression
]) – Pulse length in terms of the the sampling period dt.name (
Optional
[str
]) – Display name for this pulse envelope.limit_amplitude (
Optional
[bool
]) – IfTrue
, then limit the amplitude of the waveform to 1. The default isTrue
and the amplitude is constrained to 1.
Methods
Plot the interpolated envelope of pulse.
Return a Waveform with samples filled according to the formula that the pulse represents and the parameter values it contains.
Return True iff the instruction is parameterized.
Validate parameters.
Attributes
- duration¶
- name¶
- id¶
Unique identifier for this pulse.
- Return type
int
- limit_amplitude = True¶
- parameters¶
Return a dictionary containing the pulse’s parameters.
- Return type
Dict
[str
,Any
]