From 16acb80a03fde1d3e54b75f8ea18ec60661498bf Mon Sep 17 00:00:00 2001 From: Arnau Casau <47946624+arnaucasau@users.noreply.github.com> Date: Mon, 20 May 2024 16:04:42 +0200 Subject: [PATCH 1/2] Remove the duplicated docs for a BackendV1 classmethod (#12443) --- qiskit/providers/backend.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/qiskit/providers/backend.py b/qiskit/providers/backend.py index 8ffc7765109c..2e551cc311e8 100644 --- a/qiskit/providers/backend.py +++ b/qiskit/providers/backend.py @@ -88,12 +88,6 @@ def __init__(self, configuration, provider=None, **fields): This next bit is necessary just because autosummary generally won't summarise private methods; changing that behaviour would have annoying knock-on effects through all the rest of the documentation, so instead we just hard-code the automethod directive. - - In addition to the public abstract methods, subclasses should also implement the following - private methods: - - .. automethod:: _default_options - :noindex: """ self._configuration = configuration self._options = self._default_options() From 8e3218bc0798b0612edf446db130e95ac9404968 Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Mon, 20 May 2024 19:10:25 +0100 Subject: [PATCH 2/2] Remove reference to `transpile` from Pulse docs (#12448) * 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 --------- Co-authored-by: Will Shanks --- qiskit/pulse/builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qiskit/pulse/builder.py b/qiskit/pulse/builder.py index b7bdbe85c192..8767e8c4e93a 100644 --- a/qiskit/pulse/builder.py +++ b/qiskit/pulse/builder.py @@ -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