Skip to content

Commit

Permalink
Remove reference to transpile from Pulse docs (#12448) (#12451)
Browse files Browse the repository at this point in the history
* Remove reference to `transpile` from Pulse docs

This reference to `transpile` was mistakenly inserted as part of 1a027ac
(gh-11565); `execute` used to ignore the `transpile` step for
`Schedule`/`ScheduleBlock` and submit directly to `backend.run`.

I am not clear if there are actually any backends that *accept* pulse
jobs anymore, but if there are, this is what the text should have been
translated to.

* Update qiskit/pulse/builder.py

Co-authored-by: Will Shanks <[email protected]>

---------

Co-authored-by: Will Shanks <[email protected]>
(cherry picked from commit 8e3218b)

Co-authored-by: Jake Lishman <[email protected]>
  • Loading branch information
mergify[bot] and jakelishman authored May 20, 2024
1 parent 3d90917 commit f6b0290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit/pulse/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
The builder initializes a :class:`.pulse.Schedule`, ``pulse_prog``
and then begins to construct the program within the context. The output pulse
schedule will survive after the context is exited and can be transpiled and executed like a
normal Qiskit schedule using ``backend.run(transpile(pulse_prog, backend))``.
schedule will survive after the context is exited and can be used like a
normal Qiskit schedule.
Pulse programming has a simple imperative style. This leaves the programmer
to worry about the raw experimental physics of pulse programming and not
Expand Down

0 comments on commit f6b0290

Please sign in to comment.