qiskit.pulse.library.constant
constant(duration, amp, name=None)
Generates constant-sampled Waveform
.
For amp
, samples from the function:
Parameters
- duration (int) – Duration of pulse. Must be greater than zero.
- amp (complex) – Complex pulse amplitude.
- name (str | None) – Name of pulse.
Return type
Was this page helpful?
Report a bug or request content on GitHub.