Skip to content

Commit 68d77b1

Browse files
Merge branch 'master' into dependabot/pip/pillow-12.3.0
2 parents e8a601e + 27e0aa0 commit 68d77b1

27 files changed

Lines changed: 503 additions & 23 deletions

File tree

68.7 KB
Loading
17.3 KB
Loading

demonstrations_v2/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

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/exploring_trotterization/demo.py

Lines changed: 365 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
{
2+
"title": "Exploring Trotterization",
3+
"doi":"",
4+
"authors": [
5+
{
6+
"username": "emgem"
7+
}
8+
],
9+
"executable_stable": true,
10+
"executable_latest": true,
11+
"dateOfPublication": "2026-07-28T00:00:00+00:00",
12+
"dateOfLastModification": "2026-07-28T00:00:00+00:00",
13+
"categories": ["Quantum Computing"],
14+
"tags": ["Trotterization","Phase Gradient", "Simulation"],
15+
"previewImages": [
16+
{
17+
"type": "thumbnail",
18+
"uri": "/_static/demo_thumbnails/regular_demo_thumbnails/pennylane-demo-trotterization-thumbnail.png"
19+
},
20+
{
21+
"type": "large_thumbnail",
22+
"uri": "/_static/demo_thumbnails/large_demo_thumbnails/pennylane-demo-trotterization-large-thumbnail.png"
23+
}
24+
],
25+
"seoDescription": "Hamiltonian simulation is a leading application of quantum computers, and the tools used to carry it out can be the difference between success and failure. Trotterization is a key addition to the quantum simulation toolkit.",
26+
"references": [
27+
{
28+
"id": "Su2020",
29+
"type": "other",
30+
"title": "A Theory of Trotter Error",
31+
"authors": "Su",
32+
"year": "2020",
33+
"publisher": "Simons Institute for the Theory of Computing",
34+
"url": "https://simons.berkeley.edu/sites/default/files/docs/15639/trottererrortheorysimons.pdf"
35+
},
36+
{
37+
"id": "Childs2010",
38+
"type": "article",
39+
"title": "Limitations on the simulation of non-sparse Hamiltonians",
40+
"authors": "Childs and Kothari",
41+
"year": "2010",
42+
"journal": "Quantum Information and Computation",
43+
"doi": "10.48550/arXiv.0908.4398",
44+
"url": "https://doi.org/10.48550/arXiv.0908.4398"
45+
},
46+
{
47+
"id": "Cirstoiu2020",
48+
"type": "article",
49+
"title": "Variational fast forwarding for quantum simulation beyond the coherence time",
50+
"authors": "Cirstoiu, Holmes, Iosue, Cincio, Coles, and Sornborger",
51+
"year": "2020",
52+
"journal": "npj Quantum Information",
53+
"doi": "10.48550/arXiv.1910.04292",
54+
"url": "https://doi.org/10.48550/arXiv.1910.04292"
55+
},
56+
{
57+
"id": "Gidney2018",
58+
"type": "article",
59+
"title": "Halving the cost of quantum addition",
60+
"authors": "Gidney",
61+
"year": "2018",
62+
"journal": "Quantum",
63+
"doi": "10.22331/q-2018-06-18-74",
64+
"url": "https://doi.org/10.22331/q-2018-06-18-74"
65+
},
66+
{
67+
"id": "Strang1968",
68+
"type": "article",
69+
"title": "On the Construction and Comparison of Difference Schemes",
70+
"authors": "Strang",
71+
"year": "1968",
72+
"journal": "SIAM Journal on Numerical Analysis",
73+
"doi": "10.1137/0705041",
74+
"url": "https://doi.org/10.1137/0705041"
75+
},
76+
{
77+
"id": "Verlet1967",
78+
"type": "article",
79+
"title": "Computer 'Experiments' on Classical Fluids. I. Thermodynamical Properties of Lennard-Jones Molecules",
80+
"authors": "Verlet",
81+
"year": "1967",
82+
"journal": "Physical Review",
83+
"doi": "10.1103/PhysRev.159.98",
84+
"url": "https://doi.org/10.1103/PhysRev.159.98"
85+
},
86+
{
87+
"id": "Suzuki1990",
88+
"type": "article",
89+
"title": "Fractal Decomposition of Exponential Operators to Many-Body Theories and Monte Carlo Simulations",
90+
"authors": "Suzuki",
91+
"year": "1990",
92+
"journal": "Physics Letters A",
93+
"doi": "10.1016/0375-9601(90)90962-N",
94+
"url": "https://doi.org/10.1016/0375-9601(90)90962-N"
95+
}
96+
],
97+
"basedOnPapers": [],
98+
"referencedByPapers": [],
99+
"relatedContent": [
100+
{
101+
"type": "demonstration",
102+
"id": "tutorial_error_prop",
103+
"weight": 1.0
104+
},
105+
{
106+
"type": "demonstration",
107+
"id": "tutorial_resource_estimation_spectroscopy",
108+
"weight": 1.0
109+
},
110+
{
111+
"type": "demonstration",
112+
"id": "tutorial_resource_estimation_vibronic_dynamics",
113+
"weight": 1.0
114+
}
115+
]
116+
}
58.6 KB
Loading
37.8 KB
Loading

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

0 commit comments

Comments
 (0)