Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

qiskit.pulse.builder.play

play(pulse, channel, name=None)

GitHub(opens in a new tab)

Play a pulse on a channel.

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.
Was this page helpful?
Report a bug or request content on GitHub.