Skip to content

Commit

Permalink
Update qiskit/circuit/__init__.py (typo corrected) (#13203)
Browse files Browse the repository at this point in the history
* typo corrected

* Update __init__.py (typo corrected)
  • Loading branch information
Shivansh20128 authored Sep 20, 2024
1 parent 597f2b2 commit 79a99a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/circuit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@
:class:`Instruction`\ s can be related to other circuits to provide a decompositions by using
their :attr:`Instruction.definition` attribute, which provides a local, one-off decomposition. This
can be in whatever basis set of operations is most convenient to you, as long as the definitions of
all contained gates have some topological order; that is, you cannot use a gate in a definition it
all contained gates have some topological order; that is, you cannot use a gate in a definition if
its own definition depends on the parent. If the :class:`Instruction` should be considered entirely
opaque to optimizers, its :attr:`~Instruction.definition` can be ``None``. See
:ref:`circuit-custom-gates` for more detail.
Expand Down

0 comments on commit 79a99a1

Please sign in to comment.