Skip to content

Commit

Permalink
Add alt text to images
Browse files Browse the repository at this point in the history
  • Loading branch information
beckykd committed Dec 10, 2024
1 parent e7b6e93 commit 6928e1a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions qiskit_ibm_runtime/fake_provider/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
Here is an example of using a fake backend for transpilation and simulation.
.. plot::
:alt: [Circuit diagram output by the previous code.]
:include-source:
:context: close-figs
Expand All @@ -53,14 +54,17 @@
circuit.draw('mpl', style="iqp")
.. plot::
:include-source:
:alt: [Circuit diagram output by the previous code.]
:include-source::alt: [Circuit diagram output by the previous code.]
:context: close-figs
# Transpile the ideal circuit to a circuit that can be directly executed by the backend
# Transpile the ideal circuit to a circuit that can be
# directly executed by the backend
transpiled_circuit = transpile(circuit, backend)
transpiled_circuit.draw('mpl', style="iqp")
.. plot::
:alt: [Histogram output by the previous code.]
:include-source:
:context: close-figs
Expand Down Expand Up @@ -89,7 +93,8 @@
service = QiskitRuntimeService()
backend = service.backend('ibmq_manila')
# generate a simulator that mimics the real quantum system with the latest calibration results
# generate a simulator that mimics the real quantum
# system with the latest calibration results
backend_sim = AerSimulator.from_backend(backend)
Expand Down

0 comments on commit 6928e1a

Please sign in to comment.