Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ee33999
Add demo on low depth MNIST circuits
fkiwit Sep 22, 2025
482b090
Fixed the metadata and changed the number of characters to 100 using …
fkiwit Sep 22, 2025
cdba56e
Remove redundant packages from demonstrations_v2/low_depth_circuits_m…
fkiwit Sep 22, 2025
65c8925
Merge branch 'master' into master
DSGuala Sep 29, 2025
3c7710f
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
0c0c993
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
30e62de
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
fd7f769
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
c92aa4f
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
b874d32
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
36a3841
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
b33525f
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
9684f30
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
dad72d9
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
bbabcd6
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
25db1b7
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
7e4ce55
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
0573e42
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Oct 6, 2025
9197f4f
Remove tqdm, remove table, add link to pennylane dataset, a bit more …
fkiwit Oct 6, 2025
aaef933
Merge branch 'master' into master
DSGuala Oct 16, 2025
9021b07
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Nov 2, 2025
e19a272
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Nov 2, 2025
14135cf
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Nov 2, 2025
16a0676
Merge branch 'master' into master
fkiwit Nov 2, 2025
675327a
add images and update metadata
DSGuala Nov 17, 2025
4ff933c
update dateOfPublication
DSGuala Nov 17, 2025
e96a661
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
daniela-angulo Nov 20, 2025
78363ca
Update demonstrations_v2/low_depth_circuits_mnist/requirements.in
DSGuala Nov 20, 2025
acd8fbc
Apply suggestions from code review
daniela-angulo Nov 21, 2025
01f7e62
Apply suggestions from code review
daniela-angulo Nov 21, 2025
74c3e57
Merge pull request #1 from PennyLaneAI/add-low-depth-image-circuits-t…
fkiwit Nov 22, 2025
aa27a99
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Nov 22, 2025
e433140
Update demonstrations_v2/low_depth_circuits_mnist/demo.py
fkiwit Nov 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
606 changes: 606 additions & 0 deletions demonstrations_v2/low_depth_circuits_mnist/demo.py

Large diffs are not rendered by default.

106 changes: 106 additions & 0 deletions demonstrations_v2/low_depth_circuits_mnist/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"title": "Loading classical data with low-depth circuits",
"authors": [
{
"username": "flokiwit"
},
{
"username": "bernhard"
},
{
"username": "criofrio"
}
],
"executable_stable": true,
"executable_latest": true,
"dateOfPublication": "2025-11-25T00:00:00+00:00",
"dateOfLastModification": "2025-11-17T00:00:00+00:00",
"categories": [
"Quantum Machine Learning"
],
"tags": [],
"previewImages": [
{
"type": "thumbnail",
"uri": "/_static/demo_thumbnails/regular_demo_thumbnails/pennylane-demo-loading-data-low-depth-thumbnail.png"
},
{
"type": "large_thumbnail",
"uri": "/_static/demo_thumbnails/opengraph_demo_thumbnails/pennylane-demo-loading-data-low-depth-open-graph.png"
}
],
"seoDescription": "This demo shows how to efficiently encode classical image data into quantum states using low-depth circuits, and train a variational quantum classifier on a low-depth MNIST dataset.",
"doi": "",
"references": [
{
"id": "kiwit2025",
"type": "article",
"title": "Typical Machine Learning Datasets as Low-Depth Quantum Circuits",
"authors": "Kiwit, F.J., Jobst, B., Luckow, A., Pollmann, F., Riofrío, C.A.",
"year": "2025",
"journal": "Quantum Sci. Technol.",
"doi": "10.1088/2058-9565/ae0123",
"url": "https://doi.org/10.1088/2058-9565/ae0123"
},
{
"id": "le2011a",
"type": "article",
"title": "A flexible representation of quantum images for polynomial preparation, image compression, and processing operations",
"authors": "Le, P.Q., Dong, F., Hirota, K.",
"year": "2011",
"journal": "Quantum Inf. Process",
"doi": "10.1007/s11128-010-0177-y",
"url": "https://doi.org/10.1007/s11128-010-0177-y"
},
{
"id": "le2011b",
"type": "other",
"title": "A Flexible Representation and Invertible Transformations for Images on Quantum Computers",
"authors": "Le, P.Q., Iliyasu, A.M., Dong, F., Hirota, K.",
"year": "2011",
"booktitle": "New Advances in Intelligent Signal Processing. Studies in Computational Intelligence, vol 372",
"publisher": "Springer, Berlin, Heidelberg",
"doi": "10.1007/978-3-642-11739-8_9",
"url": "https://doi.org/10.1007/978-3-642-11739-8_9"
},
{
"id": "sun2011",
"type": "other",
"title": "A Multi-Channel Representation for Images on Quantum Computers Using the RGBα Color Space",
"authors": "Sun, B. et al.",
"year": "2011",
"booktitle": "2011 IEEE 7th International Symposium on Intelligent Signal Processing, Floriana, Malta",
"pages": "1–6",
"doi": "10.1109/WISP.2011.6051718",
"url": "https://doi.org/10.1109/WISP.2011.6051718"
},
{
"id": "sun2013",
"type": "article",
"title": "An RGB Multi-Channel Representation for Images on Quantum Computers",
"authors": "Sun, B., Iliyasu, A., Yan, F., Dong, F., Hirota, K.",
"year": "2013",
"journal": "J. Adv. Comput. Intell. Intell. Inform.",
"volume": "17",
"number": "3",
"pages": "404–417",
"doi": "10.20965/jaciii.2013.p0404",
"url": "https://doi.org/10.20965/jaciii.2013.p0404"
},
{
"id": "jobst2024",
"type": "article",
"title": "Efficient MPS representations and quantum circuits from the Fourier modes of classical image data",
"authors": "Jobst, B., Shen, K., Riofrío, C.A., Shishenina, E., Pollmann, F.",
"year": "2024",
"journal": "Quantum",
"volume": "8",
"pages": "1544",
"doi": "10.22331/q-2024-12-03-1544",
"url": "https://doi.org/10.22331/q-2024-12-03-1544"
}
],
"basedOnPapers": ["10.1088/2058-9565/ae0123"],
"referencedByPapers": [],
"relatedContent": []
}
2 changes: 2 additions & 0 deletions demonstrations_v2/low_depth_circuits_mnist/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
autoray==0.8
tqdm==4.67.1