Skip to content

Commit

Permalink
Fixed typo leading to missing examples (Qiskit#12689)
Browse files Browse the repository at this point in the history
  • Loading branch information
shraddha-aangiras committed Jul 3, 2024
1 parent 9571ea1 commit 5a4d598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qiskit/transpiler/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ class TranspileLayout:
qubits in the circuit as it fits the circuit to the target backend. For example,
let the input circuit be:
.. plot:
.. plot::
:include-source:
from qiskit.circuit import QuantumCircuit, QuantumRegister
Expand All @@ -469,7 +469,7 @@ class TranspileLayout:
Suppose that during the layout stage the transpiler reorders the qubits to be:
.. plot:
.. plot::
:include-source:
from qiskit import QuantumCircuit
Expand Down Expand Up @@ -497,7 +497,7 @@ class TranspileLayout:
the transpiler needs to insert swap gates, and the output circuit
becomes:
.. plot:
.. plot::
:include-source:
from qiskit import QuantumCircuit
Expand Down

0 comments on commit 5a4d598

Please sign in to comment.