Skip to content

Commit 0be3fa1

Browse files
authored
Fix surface code link (#1843)
### Before submitting Please complete the following checklist when submitting a PR: - [ ] Ensure that your tutorial executes correctly, and conforms to the guidelines specified in the [README](https://github.com/PennyLaneAI/demos/blob/master/README.md). - [ ] Remember to do a grammar check of the content you include. - [ ] All tutorials conform to [PEP8 standards](https://www.python.org/dev/peps/pep-0008/). To auto format files, simply `pip install black`, and then run `black -l 100 path/to/file.py`. When all the above are checked, delete everything above the dashed line and fill in the pull request template. ------------------------------------------------------------------------------------------------------------ **Title:** **Summary:** **Relevant references:** **Possible Drawbacks:** **Related GitHub Issues:** ---- If you are writing a demonstration, please answer these questions to facilitate the marketing process. * GOALS — Why are we working on this now? *Eg. Promote a new PL feature or show a PL implementation of a recent paper.* * AUDIENCE — Who is this for? *Eg. Chemistry researchers, PL educators, beginners in quantum computing.* * KEYWORDS — What words should be included in the marketing post? * Which of the following types of documentation is most similar to your file? (more details [here](https://www.notion.so/xanaduai/Different-kinds-of-documentation-69200645fe59442991c71f9e7d8a77f8)) - [ ] Tutorial - [ ] Demo - [ ] How-to
1 parent 73b7590 commit 0be3fa1

20 files changed

Lines changed: 22 additions & 22 deletions

File tree

demonstrations_v2/ensemble_multi_qpu/demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
##############################################################################
4848
# This tutorial requires the ``pennylane-rigetti`` and ``pennylane-qiskit`` packages, which can be
4949
# installed by following the instructions `here <https://pennylane.ai/install>`__. We also
50-
# make use of the `PyTorch interface <https://pennylane.readthedocs.io/en/stable/introduction
51-
# /interfaces.html>`_, which can be installed from `here
50+
# make use of the `PyTorch interface <https://docs.pennylane.ai/en/stable/introduction/interfaces.html>`_,
51+
# which can be installed from `here
5252
# <https://pytorch.org/get-started/locally/>`__.
5353
#
5454
# .. warning::

demonstrations_v2/ensemble_multi_qpu/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": "2020-02-14T00:00:00+00:00",
11-
"dateOfLastModification": "2026-04-17T15:48:14+00:00",
11+
"dateOfLastModification": "2026-07-23T15:48:14+00:00",
1212
"categories": [
1313
"Quantum Machine Learning"
1414
],

demonstrations_v2/qonn/demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
#
108108
# Create a layer function which defines one layer of the QONN, consisting of a linear
109109
# `interferometer
110-
# <https://pennylane.readthedocs.io/en/stable/code/api/pennylane.templates.subroutines.Interferometer.html>`__
110+
# <https://docs.pennylane.ai/en/stable/code/api/pennylane.Interferometer.html>`__
111111
# (i.e., an array of beamsplitters and phase shifts) and a non-linear Kerr interaction layer. Both
112112
# the interferometer and the non-linear layer are applied to all modes. The triangular mesh scheme,
113113
# described in `Reck et al. (1994) <https://dx.doi.org/10.1103/PhysRevLett.73.58>`__ is chosen here

demonstrations_v2/qonn/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": "2020-08-05T00:00:00+00:00",
11-
"dateOfLastModification": "2026-04-14T15:48:14+00:00",
11+
"dateOfLastModification": "2026-07-23T15:48:14+00:00",
1212
"categories": [
1313
"Optimization"
1414
],

demonstrations_v2/tutorial_data_reuploading_classifier/demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
We can encode the output label as a particular quantum state that we want
129129
to end up in and use Pennylane to find the probability of ending up in that
130130
state after running the circuit. We construct an observable corresponding to
131-
the output label using the `Hermitian <https://pennylane.readthedocs.io/en/latest/code/ops/qubit.html#pennylane.ops.qubit.Hermitian>`_
131+
the output label using the `Hermitian <https://docs.pennylane.ai/en/stable/code/api/pennylane.Hermitian.html>`_
132132
operator. The expectation value of the observable gives the overlap or fidelity.
133133
We can then define the cost function as the sum of the fidelities for all
134134
the data points after passing through the circuit and optimize the parameters

demonstrations_v2/tutorial_data_reuploading_classifier/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"executable_stable": true,
99
"executable_latest": true,
1010
"dateOfPublication": "2019-10-11T00:00:00+00:00",
11-
"dateOfLastModification": "2026-06-19T15:48:14+00:00",
11+
"dateOfLastModification": "2026-07-23T15:48:14+00:00",
1212
"categories": [
1313
"Quantum Machine Learning"
1414
],

demonstrations_v2/tutorial_game_of_surface_codes/demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Introduction
1717
------------
1818
19-
The game of surface codes is a high-level framework for designing :doc:` surface code <demos/intro_to_surface_code>` quantum computing architectures.
19+
The game of surface codes is a high-level framework for designing :doc:`surface code <demos/intro_to_surface_code>` quantum computing architectures.
2020
The game helps us understand space-time trade-offs, where designs with a higher qubit overhead allow for faster computations and vice versa.
2121
For example, a space-efficient design might allow a computation with :math:`10^8` T gates to run in :math:`4` hours using :math:`55k` physical qubits,
2222
whereas an intermediate design may run the same computation in :math:`22` minutes using :math:`120k` physical qubits,

demonstrations_v2/tutorial_game_of_surface_codes/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"executable_stable": true,
99
"executable_latest": true,
1010
"dateOfPublication": "2025-06-02T00:00:00+00:00",
11-
"dateOfLastModification": "2026-07-14T00:00:00+00:00",
11+
"dateOfLastModification": "2026-07-23T00:00:00+00:00",
1212
"categories": [
1313
"Quantum Computing",
1414
"Compilation",

demonstrations_v2/tutorial_how_to_build_compressed_double_factorized_hamiltonians/demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
# :class:`~.pennylane.BasisRotation` operation, which implements the unitary transformation
230230
# :math:`\exp \left( \sum_{pq}[\log U]_{pq} (a^\dagger_p a_q - a^\dagger_q a_p) \right)`
231231
# using the `Givens rotation networks
232-
# <https://docs.pennylane.ai/en/stable/code/api/pennylane.qchem.givens_decomposition.html>`_
232+
# <https://docs.pennylane.ai/en/stable/code/api/pennylane.math.decomposition.givens_decomposition.html>`_
233233
# that can be efficiently implemented on quantum hardware. The ``leaf_unitary_rotation``
234234
# function below does this for a leaf tensor:
235235
#

demonstrations_v2/tutorial_how_to_build_compressed_double_factorized_hamiltonians/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"executable_stable": true,
99
"executable_latest": true,
1010
"dateOfPublication": "2025-03-05T09:00:00+00:00",
11-
"dateOfLastModification": "2026-05-28T00:00:00+00:00",
11+
"dateOfLastModification": "2026-07-23T00:00:00+00:00",
1212
"categories": [
1313
"Quantum Chemistry",
1414
"Algorithms",

0 commit comments

Comments
 (0)