Skip to content

Commit 7c2f549

Browse files
committed
Add missing docs ref label
1 parent ddd8fdd commit 7c2f549

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

qiskit/transpiler/passes/optimization/two_qubit_peephole.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ class TwoQubitPeepholeOptimization(TransformationPass):
6262
this pass offers improved runtime performance by performing the synthesis in
6363
parallel. It also has improved heuristics enabled by doing the optimization in
6464
a single step which can result in better quality output, especially in cases
65-
of overcomplete and/or hetergeneous targets. However, these heuristics and this
65+
of overcomplete and/or heterogeneous targets. However, these heuristics and this
6666
pass as a whole are only valid for physical circuits. Additionally, unlike
67-
:class:`.UnitarySynthesis` pass this does not use the :ref:`unitary-synth-plugin`.
67+
:class:`.UnitarySynthesis` pass this does not use :ref:`unitary-synth-plugin`.
6868
This is a tradeoff for performance and it forgoes the pluggability exposed
6969
via that interface. Internally it currently only uses the :class:`.TwoQubitBasisDecomposer`
7070
and :class:`.TwoQubitControlledUDecomposer` for synthesizing the two qubit unitaries.

qiskit/transpiler/passes/synthesis/plugin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ def run(self, high_level_object, coupling_map=None, target=None, qubits=None, **
254254
Using Plugins
255255
=============
256256
257+
.. _unitary-synth-plugin:
258+
257259
Unitary Synthesis Plugins
258260
-------------------------
259261

0 commit comments

Comments
 (0)