Skip to content
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

Contextuality demo #719

Merged
merged 48 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
d4a3126
first commit of demo
josephbowles Mar 17, 2023
a702282
thumbnail added
josephbowles Mar 17, 2023
c363045
reformatted tutorial
josephbowles Mar 17, 2023
63e12cc
updated title
josephbowles Mar 17, 2023
16d4818
minor changes to demo
josephbowles Mar 21, 2023
283b107
Merge branch 'master' into contextuality_demo
josephbowles Mar 21, 2023
c394a51
minor changes to demo
josephbowles Mar 22, 2023
174acb8
title changed
josephbowles Mar 23, 2023
74d9c0a
Merge branch 'master' into contextuality_demo
josephbowles Mar 23, 2023
c665118
Merge branch 'master' into contextuality_demo
josephbowles Apr 17, 2023
0e4b8bf
changes following guillermos comments
josephbowles Apr 17, 2023
442d39a
changes following guillermos comments
josephbowles Apr 17, 2023
658b2f6
couple of errors fixed
josephbowles Apr 20, 2023
5e1f4a3
Update demonstrations/tutorial_contextuality.py
josephbowles May 12, 2023
e256810
Update demonstrations/tutorial_contextuality.py
josephbowles May 12, 2023
6a8aa90
Update demonstrations/tutorial_contextuality.py
josephbowles May 12, 2023
555d47f
Update demonstrations/tutorial_contextuality.py
josephbowles May 12, 2023
3517e76
Update demonstrations/tutorial_contextuality.py
josephbowles May 12, 2023
460f67d
Update demonstrations/tutorial_contextuality.py
josephbowles May 12, 2023
8fd489e
Update demonstrations/tutorial_contextuality.py
josephbowles May 12, 2023
56e5d71
Update demonstrations/tutorial_contextuality.py
josephbowles May 12, 2023
6f78b6d
Update demonstrations/tutorial_contextuality.py
josephbowles May 12, 2023
2df6241
Merge branch 'master' into contextuality_demo
josephbowles May 12, 2023
c6dbce2
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
2d658e3
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
1d3c2ad
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
b6eec36
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
4502e0f
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
a7d92fd
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
18a4275
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
42888fb
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
e915e14
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
813ce82
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
7e4b5f9
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
f58cf18
Update demonstrations/tutorial_contextuality.py
josephbowles Jun 12, 2023
e4d1beb
Merge branch 'master' into contextuality_demo
josephbowles Jun 20, 2023
06f1a0c
jax errors from pennylane 0.30 update fixed
josephbowles Jun 23, 2023
d25a5b3
increase optimization steps in figure
josephbowles Jul 7, 2023
5abf00d
Merge branch 'master' into contextuality_demo
KetpuntoG Aug 16, 2023
56a116f
Create tutorial_contextuality.metadata.json
KetpuntoG Aug 16, 2023
706e83e
Merge branch 'master' into contextuality_demo
josephbowles Aug 31, 2023
54acbfe
thumbnail
KetpuntoG Aug 31, 2023
caca8a5
Merge branch 'master' into contextuality_demo
KetpuntoG Sep 1, 2023
36174ff
Update tutorial_contextuality.py
KetpuntoG Sep 1, 2023
0687db1
Merge branch 'contextuality_demo' of https://github.com/PennyLaneAI/q…
KetpuntoG Sep 1, 2023
a781fc7
image
KetpuntoG Sep 1, 2023
5fd87f2
Update tutorial_contextuality.py
KetpuntoG Sep 1, 2023
ca82f56
Update tutorial_contextuality.py
KetpuntoG Sep 1, 2023
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.
Binary file added demonstrations/contextuality/model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demonstrations/contextuality/rps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demonstrations/contextuality/rpstable.png
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.
83 changes: 83 additions & 0 deletions demonstrations/tutorial_contextuality.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"title": "Contextuality and inductive bias in QML",
"authors": [
{
"id": "joseph_bowles"
}
],
"dateOfPublication": "2023-09-06T00:00:00+00:00",
"dateOfLastModification": "2023-09-06T00:00:00+00:00",
"categories": [
"Quantum Machine Learning"
],
"tags": [],
"previewImages": [
{
"type": "thumbnail",
"uri": "/_images/thumbnail_tutorial_Contextuality.png"
},
{
"type": "large_thumbnail",
"uri": "/_static/large_demo_thumbnails/thumbnail_large_Contextuality.png"
}
],
"seoDescription": "Train a problem-inspired ansatz on a contextuality-inspired dataset.",
"doi": "",
"canonicalURL": "/qml/demos/tutorial_contextuality",
"references": [
{
"id": "paper",
"type": "article",
"title": "Contextuality and inductive bias in quantum machine learning.",
"authors": "J. Bowles, V. J. Wright, M. Farkas, N. Killoran, M. Schuld",
"year": "2023",
"journal": "",
"url": "https://arxiv.org/abs/2302.01365"
},
{
"id": "contextuality",
"type": "article",
"title": "Contextuality for preparations, transformations, and unsharp measurements.",
"authors": "R. W. Spekkens",
"year": "2005",
"journal": "Phys. Rev. A 71",
"url": "https://journals.aps.org/pra/abstract/10.1103/PhysRevA.71.052108"
},
{
"id": "reptheory",
"type": "article",
"title": "Representation Theory for Geometric Quantum Machine Learning.",
"authors": "M. Ragone, P. Braccia, Q. T. Nguyen, L. Schatzki, P. J. Coles, F. Sauvage, M. Larocca, M. Cerezo",
"year": "2023",
"journal": "",
"url": "https://arxiv.org/abs/2210.07980"
},
{
"id": "equivariant",
"type": "article",
"title": "Theory for Equivariant Quantum Neural Networks.",
"authors": "Q. T. Nguyen, L. Schatzki, P. Braccia, M. Ragone, P. J. Coles, F. Sauvage, M. Larocca, M. Cerezo",
"year": "2022",
"journal": "",
"url": "https://arxiv.org/abs/2210.08566"
},
{
"id": "surrogates",
"type": "article",
"title": "Classical surrogates for quantum learning models.",
"authors": "F. J. Schreiber, J. Eiser, J. J. Meyer",
"year": "2022",
"journal": "",
"url": "https://arxiv.org/abs/2206.11740"
}
],
"basedOnPapers": [],
"referencedByPapers": [],
"relatedContent": [
{
"type": "demonstration",
"id": "tutorial_geometric_qml",
"weight": 1.0
}
]
}
Loading