Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.pulse.builder.play

play(pulse, channel, name=None)

GitHub

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.