qiskit.pulse.builder.play¶
-
play
(pulse, channel, name=None)[source]¶ Play a
pulse
on achannel
.Examples:
from qiskit import pulse d0 = pulse.DriveChannel(0) with pulse.build() as pulse_prog: pulse.play(pulse.Constant(10, 1.0), d0)
- Parameters
pulse (
Union
[Pulse
,ndarray
]) – Pulse to play.channel (
PulseChannel
) – Channel to play pulse on.name (
Optional
[str
]) – Name of the pulse.