From 2804ae61eb3110e3a1d69edeeec54c5fdbcf562f Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 22:26:19 +0000 Subject: [PATCH] Fix two cross-references in `BasisTranslator` docstring (#12398) (#12405) (cherry picked from commit 07c8f20481813493eae80164731794fccdc1de3d) Co-authored-by: Jim Garrison --- qiskit/transpiler/passes/basis/basis_translator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qiskit/transpiler/passes/basis/basis_translator.py b/qiskit/transpiler/passes/basis/basis_translator.py index 074c6d341baa..04bf852e55b5 100644 --- a/qiskit/transpiler/passes/basis/basis_translator.py +++ b/qiskit/transpiler/passes/basis/basis_translator.py @@ -97,8 +97,8 @@ class BasisTranslator(TransformationPass): When this error occurs it typically means that either the target basis is not universal or there are additional equivalence rules needed in the - :clas:~.EquivalenceLibrary` instance being used by the - :class:~.BasisTranslator` pass. You can refer to + :class:`~.EquivalenceLibrary` instance being used by the + :class:`~.BasisTranslator` pass. You can refer to :ref:`custom_basis_gates` for details on adding custom equivalence rules. """