Skip to content

Commit

Permalink
use format <demos/tutorial_name>
Browse files Browse the repository at this point in the history
  • Loading branch information
Qottmann committed Feb 12, 2025
1 parent 2b2351d commit b2b126b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/code/qml_pauli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Dynamical Lie Algebras
----------------------

PennyLane provides support for working with dynamical Lie algebras (DLA) of Pauli operators.
See our :doc:`Introduction to Dynamical Lie Algebras for quantum practitioners </tutorial_liealgebra>`.
See our :doc:`Introduction to Dynamical Lie Algebras for quantum practitioners <demos/tutorial_liealgebra>`.

.. currentmodule:: pennylane

Expand Down
2 changes: 1 addition & 1 deletion pennylane/labs/dla/lie_closure_dense.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def lie_closure_dense(
.. seealso::
For details on the mathematical definitions, see :func:`~lie_closure` and our
:doc:`Introduction to Dynamical Lie Algebras for quantum practitioners </tutorial_liealgebra>`.
:doc:`Introduction to Dynamical Lie Algebras for quantum practitioners <demos/tutorial_liealgebra>`.
Args:
generators (Iterable[Union[PauliWord, PauliSentence, Operator, np.ndarray]]): generating set for which to compute the
Expand Down
2 changes: 1 addition & 1 deletion pennylane/labs/dla/structure_constants_dense.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def structure_constants_dense(g: TensorLike, is_orthonormal: bool = True) -> Ten
:class:`~PauliSentence` that are employed in :func:`~structure_constants`, e.g., when there are few generators
that are sums of many Paulis.
.. seealso:: For details on the mathematical definitions, see :func:`~structure_constants` and the section "Lie algebra basics" in our :doc:`g-sim demo </demos/tutorial_liesim/#lie-algebra-basics>`.
.. seealso:: For details on the mathematical definitions, see :func:`~structure_constants` and the section "Lie algebra basics" in our :doc:`g-sim demo <demos/tutorial_liesim/#lie-algebra-basics>`.
Args:
g (np.array): The (dynamical) Lie algebra provided as dense matrices, as generated from :func:`~lie_closure_dense`.
Expand Down
2 changes: 1 addition & 1 deletion pennylane/pauli/dla/center.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def center(
Returns:
List[Union[Operator, PauliSentence]]: Center of ``g``
.. seealso:: :func:`~lie_closure`, :func:`~structure_constants`, :class:`~pennylane.pauli.PauliVSpace`, :doc:`Introduction to Dynamical Lie Algebras for quantum practitioners </tutorial_liealgebra>`
.. seealso:: :func:`~lie_closure`, :func:`~structure_constants`, :class:`~pennylane.pauli.PauliVSpace`, :doc:`Introduction to Dynamical Lie Algebras for quantum practitioners <demos/tutorial_liealgebra>`
**Example**
Expand Down
2 changes: 1 addition & 1 deletion pennylane/pauli/dla/lie_closure.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def lie_closure(
Union[list[:class:`~.PauliSentence`], list[:class:`~.Operator`]]: a basis of either :class:`~.PauliSentence` or :class:`~.Operator` instances that is closed under
commutators (Lie closure).
.. seealso:: :func:`~structure_constants`, :func:`~center`, :class:`~pennylane.pauli.PauliVSpace`, :doc:`Introduction to Dynamical Lie Algebras for quantum practitioners </tutorial_liealgebra>`
.. seealso:: :func:`~structure_constants`, :func:`~center`, :class:`~pennylane.pauli.PauliVSpace`, :doc:`Introduction to Dynamical Lie Algebras for quantum practitioners <demos/tutorial_liealgebra>`
**Example**
Expand Down
2 changes: 1 addition & 1 deletion pennylane/pauli/dla/structure_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def structure_constants(
Returns:
TensorLike: The adjoint representation of shape ``(d, d, d)``, corresponding to indices ``(gamma, alpha, beta)``.
.. seealso:: :func:`~lie_closure`, :func:`~center`, :class:`~pennylane.pauli.PauliVSpace`, :doc:`Introduction to Dynamical Lie Algebras for quantum practitioners </tutorial_liealgebra>`
.. seealso:: :func:`~lie_closure`, :func:`~center`, :class:`~pennylane.pauli.PauliVSpace`, :doc:`Introduction to Dynamical Lie Algebras for quantum practitioners <demos/tutorial_liealgebra>`
**Example**
Expand Down

0 comments on commit b2b126b

Please sign in to comment.