Skip to content

Commit 01871a8

Browse files
ashishks0522Daviddoctorperceptronant0nmsvdrdren
authored
Update /qml/demos/ URLs to /demos/ across content (#1800)
Remove /qml prefix from all pennylane.ai demo URLs to match the current site routing structure (pennylane.ai/demos/ instead of pennylane.ai/qml/demos/). * Authored by Cursor 🤖 --------- Co-authored-by: David <david.ren@xanadu.ai> Co-authored-by: Paul Finlay <50180049+doctorperceptron@users.noreply.github.com> Co-authored-by: Anton <anton.moiseev@xanadu.ai> Co-authored-by: drdren <104710745+drdren@users.noreply.github.com>
1 parent 5e78753 commit 01871a8

145 files changed

Lines changed: 224 additions & 231 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
+ ("latest/" if dev else "stable/"),
223223
None,
224224
),
225-
"demo": ("https://pennylane.ai/qml", None),
225+
"demo": ("https://pennylane.ai", "https://pennylane.ai/qml/objects.inv"),
226226
}
227227

228228
# Enable :doc: references for intersphinx (disabled by default in Sphinx 5.0+)

demonstrations_metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Below is given an example of a complete metadata file for a demonstration.
6161
"hardware": [
6262
{
6363
"id": "aws",
64-
"link": "https://pennylane.ai/qml/demos/tutorial_quantum_transfer_learning",
64+
"link": "https://pennylane.ai/demos/tutorial_quantum_transfer_learning",
6565
"logo": "/_static/hardware_logos/aws.png"
6666
}
6767
]

demonstrations_v2/adjoint_diff_benchmarking/demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
##############################################################################
1515
# This page is supplementary material to the
16-
# `Adjoint Differentiation <https://pennylane.ai/qml/demos/tutorial_adjoint_diff>`__
16+
# :doc:`Adjoint Differentiation <demos/tutorial_adjoint_diff>`
1717
# demonstration. The below script produces the benchmarking images used.
1818

1919
import timeit

demonstrations_v2/adjoint_diff_benchmarking/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"executable_stable": false,
99
"executable_latest": false,
1010
"dateOfPublication": "2021-11-23T00:00:00+00:00",
11-
"dateOfLastModification": "2026-04-14T15:48:14+00:00",
11+
"dateOfLastModification": "2026-05-28T00:00:00+00:00",
1212
"categories": [
1313
"Quantum Machine Learning"
1414
],

demonstrations_v2/circuits_as_fourier_series/demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,8 @@
790790
791791
Handily, both references have an associated PennyLane demo!
792792
793-
- `Quantum models as Fourier series <https://pennylane.ai/qml/demos/tutorial_expressivity_fourier_series>`__ (2020). Maria Schuld, Ryan Sweke, Johannes Jakob Meyer.
794-
- `Generalized parameter-shift rules <https://pennylane.ai/qml/demos/tutorial_general_parshift>`__ (2021). David Wierichs.
793+
- :doc:`Quantum models as Fourier series <demos/tutorial_expressivity_fourier_series>` (2020). Maria Schuld, Ryan Sweke, Johannes Jakob Meyer.
794+
- :doc:`Generalized parameter-shift rules <demos/tutorial_general_parshift>` (2021). David Wierichs.
795795
796796
Finally, PennyLane is jam-packed with tools for analyzing circuits as Fourier series.
797797
Check out the documentation on the :mod:`Fourier module <pennylane.fourier>` to learn more!

demonstrations_v2/circuits_as_fourier_series/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"executable_stable": false,
99
"executable_latest": false,
1010
"dateOfPublication": "2023-09-11T00:00:00+00:00",
11-
"dateOfLastModification": "2026-05-25T15:00:00+00:00",
11+
"dateOfLastModification": "2026-05-28T00:00:00+00:00",
1212
"categories": [
1313
"Optimization",
1414
"Quantum Machine Learning"

demonstrations_v2/covalent_cloud_gpu/demo.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
# QSVMs are essentially `traditional
1212
# SVMs <https://en.wikipedia.org/wiki/Support_vector_machine>`__ that rely on `embedding
1313
# kernels <https://en.wikipedia.org/wiki/Kernel_method#Mathematics:_the_kernel_trick>`__ evaluated on
14-
# a quantum computer—a.k.a. `quantum embedding
15-
# kernel <https://pennylane.ai/qml/demos/tutorial_kernels_module/#training-and-evaluating-quantum-kernels>`__.
14+
# a quantum computer—a.k.a. :doc:`quantum embedding kernel <demos/tutorial_kernels_module>`.
1615
# These kernels provide a unique (and perhaps classically intractable) means of measuring pairwise
1716
# similarity.
1817
#

demonstrations_v2/covalent_cloud_gpu/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"executable_stable": false,
1212
"executable_latest": false,
1313
"dateOfPublication": "2024-05-24T00:00:00+00:00",
14-
"dateOfLastModification": "2026-04-14T15:48:14+00:00",
14+
"dateOfLastModification": "2026-05-28T00:00:00+00:00",
1515
"categories": [
1616
"Quantum Machine Learning"
1717
],

demonstrations_v2/gqe_training/demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
`The generative quantum eigensolver (GQE) and its application for ground state search <https://arxiv.org/abs/2401.09253>`__
66
that employs a classical generative model of quantum circuits for the purpose of ground-state
77
energy estimation of any molecular Hamiltonian [#nakaji2024]_.
8-
It has been proposed as a scalable alternative to the `variational quantum eigensolver (VQE) <https://pennylane.ai/qml/demos/tutorial_vqe/>`__ approach,
8+
It has been proposed as a scalable alternative to the :doc:`variational quantum eigensolver (VQE) <demos/tutorial_vqe>` approach,
99
where the quantum state is represented as a quantum circuit with tunable parameters which are then optimized during training in order to arrive at a
1010
state minimizing the corresponding energy :math:`E.` Instead, in GQE, the structure of the quantum circuit is given by a trained generative model.
1111

demonstrations_v2/gqe_training/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"executable_stable": false,
1212
"executable_latest": false,
1313
"dateOfPublication": "2024-09-20T00:00:00+00:00",
14-
"dateOfLastModification": "2026-04-14T15:48:14+00:00",
14+
"dateOfLastModification": "2026-05-28T00:00:00+00:00",
1515
"categories": [
1616
"Quantum Machine Learning",
1717
"Quantum Chemistry",

0 commit comments

Comments
 (0)