ParametricPulse¶
- class ParametricPulse(duration, name=None, limit_amplitude=None)[소스]¶
기반 클래스:
Pulse
The abstract superclass for parametric pulses.
경고
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.
버전 0.22_pending부터 폐지됨: The class
qiskit.pulse.library.parametric_pulses.ParametricPulse
is pending deprecation as of qiskit-terra 0.22. It will be marked deprecated in a future release, and then removed no earlier than 3 months after the release date. Instead, use SymbolicPulse because of QPY serialization support. See qiskit.pulse.library.symbolic_pulses for details.- 매개변수
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]) – If
True
, 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.
- limit_amplitude = True¶
- parameters¶
Return a dictionary containing the pulse’s parameters.