Skip to content

[DEMO] QML for Phase Detection #1335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 43 commits into from
Apr 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
ee8f14a
added demo
SaverioMonaco Feb 25, 2025
73a8383
implemented feedback comments for annni demo
SaverioMonaco Mar 4, 2025
677e7be
added hyperlink to the paper in the intro
SaverioMonaco Mar 4, 2025
61dee12
changed references from arxiv to journals, added acknowledgements
SaverioMonaco Mar 5, 2025
d9c4d5a
PR commit
SaverioMonaco Mar 25, 2025
1a69966
Added tutorial_annni.png file and moved two images to annni folder
CatalinaAlbornoz Mar 27, 2025
b2c1c82
Made small modifications to the annni demo, added the metadata, and m…
CatalinaAlbornoz Mar 27, 2025
4762f52
Modified annni demo
CatalinaAlbornoz Mar 27, 2025
b75bbe2
Modified annni demo (formatting and titles to sentence case)
CatalinaAlbornoz Mar 27, 2025
cab5631
Added high resolution images for Fig 2 and 3 (phase diagrams)
CatalinaAlbornoz Apr 1, 2025
7ff96b2
Changed jax_enable_x64 to TRUE, made the images smaller, removed the …
CatalinaAlbornoz Apr 3, 2025
2d60aa6
Merge branch 'master' into master
CatalinaAlbornoz Apr 3, 2025
1949a38
Added captions for figures 3 and 5-9
CatalinaAlbornoz Apr 3, 2025
fc63213
Edited the Figure captions
CatalinaAlbornoz Apr 3, 2025
dfcecf9
Update formatting
daniela-angulo Apr 10, 2025
1ac9b6a
Merge branch 'master' into master
CatalinaAlbornoz Apr 10, 2025
4bcbe14
Fixing figure captions
daniela-angulo Apr 10, 2025
7f6cc35
Merge branch 'master' of https://github.com/SaverioMonaco/qml into pr…
daniela-angulo Apr 10, 2025
b2f0b62
Changed some figure captions and added items to the label in figures …
CatalinaAlbornoz Apr 11, 2025
1118635
Fixed formatting and removed prints for loss
CatalinaAlbornoz Apr 11, 2025
bfb1046
tiny fix
daniela-angulo Apr 11, 2025
2e2c059
a bit more of formatting
daniela-angulo Apr 13, 2025
035ab58
small change
daniela-angulo Apr 14, 2025
48a9033
fix explanation of the Cross Entropy loss terms
SaverioMonaco Apr 16, 2025
7611d25
fix explanation of the QAD
SaverioMonaco Apr 16, 2025
557ab67
fix explanation of the QAD, tiny fix
SaverioMonaco Apr 16, 2025
d523ff5
Update demonstrations/tutorial_annni.py
daniela-angulo Apr 17, 2025
050d983
fixing typo
daniela-angulo Apr 17, 2025
1329a86
Updating .py file
daniela-angulo Apr 21, 2025
bca279a
Test commenting the figsize
CatalinaAlbornoz Apr 22, 2025
717c916
Merge branch 'master' into master
CatalinaAlbornoz Apr 22, 2025
1188a80
Fixing small formatting things
daniela-angulo Apr 22, 2025
7534efc
Added thumbnails and removed figsize in 4 figures
CatalinaAlbornoz Apr 22, 2025
9cb4a3b
Removed Jupyter notebook
CatalinaAlbornoz Apr 22, 2025
664e798
added DMRG meaning
daniela-angulo Apr 22, 2025
f7d7b7b
Updated the ackgnowledgement
CatalinaAlbornoz Apr 22, 2025
1f3a939
Removed annni sketch
CatalinaAlbornoz Apr 25, 2025
d0e9238
Update demonstrations/tutorial_annni.py
CatalinaAlbornoz Apr 28, 2025
b822f83
Update demonstrations/tutorial_annni.py
CatalinaAlbornoz Apr 28, 2025
b35bbba
Update demonstrations/tutorial_annni.py
CatalinaAlbornoz Apr 28, 2025
18fefe7
Removed extra demo thumbnail, tried adding figsize to fig 5
CatalinaAlbornoz Apr 28, 2025
3ed57e2
Updated date of publication and last modification
CatalinaAlbornoz Apr 28, 2025
b9b821b
Update demonstrations/tutorial_annni.py
CatalinaAlbornoz Apr 28, 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.
106 changes: 106 additions & 0 deletions demonstrations/tutorial_annni.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"title": "Supervised and Unsupervised Quantum Machine Learning Models for the Phase Detection of the ANNNI Spin Model",
"authors": [
{
"username": "SaverioMonaco"
}
],
"dateOfPublication": "2025-04-28T00:00:00+00:00",
"dateOfLastModification": "2025-04-28T00:00:00+00:00",
"categories": [
"Quantum Machine Learning"
],
"tags": [],
"previewImages": [
{
"type": "thumbnail",
"uri": "/_static/demo_thumbnails/regular_demo_thumbnails/thumbnail_CERN_ANNNI.png"
},
{
"type": "large_thumbnail",
"uri": "/_static/demo_thumbnails/large_demo_thumbnails/thumbnail_large_CERN_ANNNI.png"
}
],
"seoDescription": "Based on the paper Quantum phase detection generalization from marginal quantum neural network models, explore the phase diagram of the Axial Next-Nearest-Neighbor Ising (ANNNI) model using both supervised and unsupervised learning methods.",
"doi": "",
"references": [
{
"id": "Monaco2023",
"type": "article",
"title": "Quantum phase detection generalization from marginal quantum neural network models.",
"authors": "Monaco S., Kiss O., Mandarino A., Vallecorsa S., Michele G.",
"year": "2023",
"journal": "PhysRevB",
"url": "https://journals.aps.org/prb/abstract/10.1103/PhysRevB.107.L081105"
},
{
"id": "Cea2023",
"type": "preprint",
"title": "Exploring the Phase Diagram of the quantum one-dimensional ANNNI model",
"authors": "Maria Cea, Michele Grossi, Saverio Monaco, Enrique Rico, Luca Tagliacozzo, Sofia Vallecorsa",
"year": "2023",
"journal": "arXiv",
"url": "https://arxiv.org/abs/2402.11022"
},
{
"id": "Peruzzo2013",
"type": "article",
"title": "A variational eigenvalue solver on a quantum processor",
"authors": "Alberto Peruzzo, Jarrod McClean, Peter Shadbolt, Man-Hong Yung, Xiao-Qi Zhou, Peter J. Love, Alán Aspuru-Guzik, Jeremy L. O'Brien",
"year": "2013",
"journal": "Nat. Commun.",
"url": "https://www.nature.com/articles/ncomms5213"
},
{
"id": "Kottmann2022",
"type": "article",
"title": "Variational Quantum Anomaly Detection: Unsupervised mapping of phase diagrams on a physical quantum computer",
"authors": "Korbinian Kottmann, Friederike Metz, Joana Fraxanet, Niccolo Baldelli",
"year": "2022",
"journal": "PhysRevResearch",
"url": "https://journals.aps.org/prresearch/abstract/10.1103/PhysRevResearch.3.043184"
},
{
"id": "Cong2019",
"type": "article",
"title": "Quantum Convolutional Neural Networks",
"authors": "Iris Cong, Soonwon Choi, Mikhail D. Lukin",
"year": "2019",
"journal": "Nat. Phys.",
"url": "https://www.nature.com/articles/s41567-019-0648-8"
},
{
"id": "Caro2022",
"type": "article",
"title": "Generalization in quantum machine learning from few training data",
"authors": "Matthias C. Caro, Hsin-Yuan Huang, Marco Cerezo, Kunal Sharma, Andrew Sornborger, Lukasz Cincio, Patrick J. Coles",
"year": "2022",
"journal": "Nat. Commun.",
"url": "https://www.nature.com/articles/s41467-022-32550-3"
}
],
"basedOnPapers": ["10.1103/PhysRevB.107.L081105"],
"referencedByPapers": [],
"relatedContent": [
{
"type": "demonstration",
"id": "tutorial_how_to_build_spin_hamiltonians",
"weight": 1.0
},
{
"type": "demonstration",
"id": "tutorial_constant_depth_mps_prep",
"weight": 1.0
},
{
"type": "demonstration",
"id": "tutorial_vqe",
"weight": -1.0
},
{
"type": "demonstration",
"id": "tutorial_isingmodel_PyTorch",
"weight": 1.0
}
]
}
Loading