Skip to content

Commit

Permalink
Corrected links in old Demos (#1173)
Browse files Browse the repository at this point in the history
Fixing issues with links to in-page section anchors.

---------

Co-authored-by: Ashish Kanwar Singh <[email protected]>
  • Loading branch information
ikurecic and ashishks0522 authored Aug 2, 2024
1 parent 31d9380 commit 9907e19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demonstrations/tutorial_liesim.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
Technically, the (dynamical) Lie algebra is formed by skew-Hermitian operators :math:`\{i h_i\}`.
We avoid this distinction here since for all practical purposes one can also look at Hermitian
operators and explicitly add imaginary units in the exponents where appropriate.
For more details, see the note in the "Lie algebras" section of our :doc:`Intro to (Dynamical) Lie Algebras for quantum practitioners </demos/tutorial_liealgebra//#lie-algebras>`.
For more details, see the note in the "Lie algebras" section of our `Intro to (dynamical) Lie algebras for quantum practitioners <https://pennylane.ai/qml/demos/tutorial_liealgebra/#lie-algebras>`__.
:math:`\mathfrak{g}`-sim theory
-------------------------------
Expand Down
2 changes: 1 addition & 1 deletion demonstrations/tutorial_quantum_chemistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
##############################################################################
# In this case, since we have truncated the basis of molecular orbitals, the resulting
# observable is an approximation of the Hamiltonian generated in the
# section :ref:`hamiltonian`.
# section `Building the Hamiltonian <https://pennylane.ai/qml/demos/tutorial_quantum_chemistry/#building-the-hamiltonian>`__.
#
# OpenFermion-PySCF backend
# -------------------------
Expand Down
2 changes: 1 addition & 1 deletion demonstrations/tutorial_quantum_natural_gradient.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
The most successful class of quantum algorithms for use on near-term noisy quantum hardware
is the so-called variational quantum algorithm. As laid out in the
:ref:`Concepts section <glossary_variational_circuit>`, in variational quantum algorithms
`Concepts section <https://pennylane.ai/qml/glossary/#variational-circuits>`__, in variational quantum algorithms
a low-depth parametrized quantum circuit ansatz is chosen, and a problem-specific
observable measured. A classical optimization loop is then used to find
the set of quantum parameters that *minimize* a particular measurement expectation value
Expand Down

0 comments on commit 9907e19

Please sign in to comment.