diff --git a/doc/releases/changelog-dev.md b/doc/releases/changelog-dev.md index 904240a7422..7c259a4d363 100644 --- a/doc/releases/changelog-dev.md +++ b/doc/releases/changelog-dev.md @@ -164,6 +164,9 @@

Documentation 📝

+* Removed some redundant documentation for the `evolve` function. + [(#5347)](https://github.com/PennyLaneAI/pennylane/pull/5347) + * Updated the final example in the `compile` docstring to use transforms correctly. [(#5348)](https://github.com/PennyLaneAI/pennylane/pull/5348) diff --git a/pennylane/ops/functions/evolve.py b/pennylane/ops/functions/evolve.py index c85ac6bd9d3..c7d2722b9b2 100644 --- a/pennylane/ops/functions/evolve.py +++ b/pennylane/ops/functions/evolve.py @@ -45,10 +45,6 @@ def evolve(*args, **kwargs): # pylint: disable=unused-argument Returns: .Evolution: evolution operator - .. seealso:: - - :class:`~.Evolution` - **Examples** We can use ``qml.evolve`` to compute the evolution of any PennyLane operator: @@ -83,10 +79,6 @@ def evolve(*args, **kwargs): # pylint: disable=unused-argument The :class:`~.ParametrizedEvolution` class uses a numerical ordinary differential equation solver (`here `_). - .. seealso:: - - :class:`~.ParametrizedEvolution` - **Examples** When evolving a :class:`.ParametrizedHamiltonian`, a :class:`.ParametrizedEvolution` @@ -159,8 +151,6 @@ def circuit(params): the first execution will typically take a little longer with the benefit that all following executions will be significantly faster, see the jax docs on jitting. JIT-compiling is optional, and one can remove the decorator when only single executions are of interest. - - Please check the :class:`.ParametrizedEvolution` class for more usage details. """