qiskit.pulse.library.constant¶
- constant(duration, amp, name=None)[Quellcode]¶
Generates constant-sampled
Waveform
.For \(A=\)
amp
, samples from the function:\[f(x) = A\]- Parameter
duration (int) – Duration of pulse. Must be greater than zero.
amp (complex) – Complex pulse amplitude.
name (Optional[str]) – Name of pulse.
- Rückgabetyp