Skip to content

Commit

Permalink
Fix sphinx class/method links (#2729)
Browse files Browse the repository at this point in the history
Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
  • Loading branch information
dime10 and Jaybsoni authored Jun 17, 2022
1 parent a756e54 commit 30d59c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pennylane/ops/op_math/adjoint_constructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def adjoint(fn, lazy=True):
The adjoint and inverse are identical for unitary gates, but not in general. For example, quantum channels and observables may have different adjoint and inverse operators.
.. seealso:: :class:`~.ops.arithmetic.Adjoint` and :meth:`~.operation.Operator.adjoint`
.. seealso:: :class:`~.ops.op_math.Adjoint` and :meth:`.Operator.adjoint`
**Example**
Expand Down Expand Up @@ -100,8 +100,8 @@ def circuit(a):
:title: Lazy Evaluation
When ``lazy=False``, the function first attempts operation-specific decomposition of the
adjoint via the :meth:`.operation.Operator.adjoint` method. Only if an Operator doesn't have
an :meth:`.operation.Operator.adjoint` method is the object wrapped with the :class:`~.ops.arithmetic.Adjoint`
adjoint via the :meth:`.Operator.adjoint` method. Only if an Operator doesn't have
an :meth:`.Operator.adjoint` method is the object wrapped with the :class:`~.ops.op_math.Adjoint`
wrapper class.
>>> qml.adjoint(qml.PauliZ(0), lazy=False)
Expand Down

0 comments on commit 30d59c0

Please sign in to comment.