-
Notifications
You must be signed in to change notification settings - Fork 237
Upload nonlinear amplitude transformation demo #1738
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
Open
drdren
wants to merge
28
commits into
master
Choose a base branch
from
dren-nonlinear-QSVT
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 20 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
3997239
Upload nonlinear amplitude transformation demo
drdren a7b0e4a
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 335df76
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren d501d82
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 2cd34b0
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 78adab8
Merge branch 'master' into dren-nonlinear-QSVT
drdren 25ffba0
Add requirements to install pyqsp
drdren eb77784
Upload thumbnails and figure
drdren 825b4b2
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 2109524
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 311cb47
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 852df44
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren b868a35
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren ede1c47
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 3d17876
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren af2ac92
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren c372945
Fix figure name
drdren 8a22ca9
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 6912422
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 59db055
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren c5b8b5c
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren e6639f9
Merge branch 'master' into dren-nonlinear-QSVT
drdren a73c75b
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 300a2b3
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren a782e96
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 9670073
Update demonstrations_v2/tutorial_nonlinear_amplitude_transformation/…
drdren 1d756dc
Change qml to qp
drdren 038c4d7
Merge branch 'master' into dren-nonlinear-QSVT
drdren File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+46.9 KB
...emo_thumbnails/pennylane-demo-nonlinear-transformation-qsvt-large-thumbnail.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
BIN
+45.4 KB
...aph_demo_thumbnails/pennylane-demo-nonlinear-transformation-qsvt-open-graph.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
BIN
+11.7 KB
...ular_demo_thumbnails/pennylane-demo-nonlinear-transformation-qsvt-thumbnail.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
BIN
+105 KB
...mplitude-transformation/pennylane-demo-nonlinear-transformation-qsvt-method.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
716 changes: 716 additions & 0 deletions
716
demonstrations_v2/tutorial_nonlinear_amplitude_transformation/demo.py
Large diffs are not rendered by default.
Oops, something went wrong.
148 changes: 148 additions & 0 deletions
148
demonstrations_v2/tutorial_nonlinear_amplitude_transformation/metadata.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,148 @@ | ||
| { | ||
| "title": "Nonlinear amplitude transformation", | ||
| "authors": [ | ||
| { | ||
| "username": "rishabhgupta" | ||
| } | ||
| ], | ||
| "executable_stable": true, | ||
| "executable_latest": true, | ||
| "dateOfPublication": "2026-04-08T10:00:00+00:00", | ||
| "dateOfLastModification": "2026-04-08T15:48:14+00:00", | ||
| "categories": [ | ||
| "Quantum Machine Learning" | ||
| ], | ||
| "tags": [], | ||
| "previewImages": [ | ||
| { | ||
| "type": "thumbnail", | ||
| "uri": "/_static/demo_thumbnails/regular_demo_thumbnails/pennylane-demo-nonlinear-transformation-qsvt-thumbnail.png" | ||
| }, | ||
| { | ||
| "type": "large_thumbnail", | ||
| "uri": "/_static/demo_thumbnails/large_demo_thumbnails/pennylane-demo-nonlinear-transformation-qsvt-large-thumbnail.png" | ||
| } | ||
| ], | ||
| "seoDescription": "Learn about the nonlinear amplitude transformation using QSVT", | ||
| "doi": "", | ||
| "references": [ | ||
| { | ||
| "id": "Bravyi2004", | ||
| "type": "article", | ||
| "title": "Universal Quantum Computation with ideal Clifford gates and noisy ancillas", | ||
| "authors": "Sergei Bravyi and Alexei Kitaev", | ||
| "year": "2004", | ||
| "journal": "arXiv", | ||
| "url": "https://arxiv.org/abs/quant-ph/0403025" | ||
| }, | ||
| { | ||
| "id": "Fowler", | ||
| "type": "article", | ||
| "title": "Surface codes: Towards practical large-scale quantum computation", | ||
| "authors": "Austin G. Fowler, Matteo Mariantoni, John M. Martinis, Andrew N. Cleland", | ||
| "year": "2012", | ||
| "journal": "Phys. Rev. A", | ||
| "url": "https://journals.aps.org/pra/abstract/10.1103/PhysRevA.86.032324" | ||
| }, | ||
| { | ||
| "id": "Gidney2024", | ||
| "type": "article", | ||
| "title": "Magic state cultivation: growing T states as cheap as CNOT gates", | ||
| "authors": "Craig Gidney, Noah Shutty, Cody Jones", | ||
| "year": "2024", | ||
| "journal": "arXiv", | ||
| "url": "https://arxiv.org/abs/2409.17595" | ||
| }, | ||
| { | ||
| "id": "QuEra2025", | ||
| "type": "article", | ||
| "title": "Experimental demonstration of logical magic state distillation", | ||
| "authors": "Pedro Sales Rodriguez, et al.", | ||
| "year": "2025", | ||
| "journal": "Nature", | ||
| "url": "https://www.nature.com/articles/s41586-025-09367-3" | ||
| }, | ||
| { | ||
| "id": "Ruiz2025", | ||
| "type": "article", | ||
| "title": "Unfolded distillation: very low-cost magic state preparation for biased-noise qubits", | ||
| "authors": "Diego Ruiz, Jérémie Guillaud, Christophe Vuillot, Mazyar Mirrahimi", | ||
| "year": "2025", | ||
| "journal": "arXiv", | ||
| "url": "https://arxiv.org/abs/2507.12511" | ||
| }, | ||
| { | ||
| "id": "Itogawa2025", | ||
| "type": "article", | ||
| "title": "Efficient magic state distillation by zero-Level distillation", | ||
| "authors": "Tomohiro Itogawa, Yugo Takada, Yutaka Hirano, Keisuke Fujii", | ||
| "year": "2025", | ||
| "journal": "PRX Quantum", | ||
| "url": "https://journals.aps.org/prxquantum/abstract/10.1103/thxx-njr6" | ||
| }, | ||
| { | ||
| "id": "Hirano2024", | ||
| "type": "article", | ||
| "title": "Leveraging Zero-Level Distillation to Generate High-Fidelity Magic States", | ||
| "authors": "Yutaka Hirano, Tomohiro Itogawa, Keisuke Fujii", | ||
| "year": "2024", | ||
| "journal": "arXiv", | ||
| "url": "https://arxiv.org/abs/2404.09740" | ||
| }, | ||
| { | ||
| "id": "Google2025", | ||
| "type": "article", | ||
| "title": "Magic state cultivation on a superconducting quantum processor", | ||
| "authors": "Emma Rosenfeld, et al.", | ||
| "year": "2025", | ||
| "journal": "arXiv", | ||
| "url": "https://arxiv.org/abs/2512.13908" | ||
| }, | ||
| { | ||
| "id": "Chen2025", | ||
| "type": "article", | ||
| "title": "Efficient Magic State Cultivation on ℝ\u21192", | ||
| "authors": "Zi-Han Chen, Ming-Cheng Chen, Chao-Yang Lu, Jian-Wei Pan", | ||
| "year": "2025", | ||
| "journal": "arXiv", | ||
| "url": "https://arxiv.org/abs/2503.18657" | ||
| }, | ||
| { | ||
| "id": "Hirano2025", | ||
| "type": "article", | ||
| "title": "Efficient magic state cultivation with lattice surgery", | ||
| "authors": "Yutaka Hirano, Riki Toshio, Tomohiro Itogawa, Keisuke Fujii", | ||
| "year": "2025", | ||
| "journal": "arXiv", | ||
| "url": "https://arxiv.org/abs/2510.24615" | ||
| }, | ||
| { | ||
| "id": "Heinrich2019", | ||
| "type": "article", | ||
| "title": "Robustness of Magic and Symmetries of the Stabiliser Polytope", | ||
| "authors": "Markus Heinrich and David Gross", | ||
| "year": "2019", | ||
| "journal": "Quantum", | ||
| "url": "https://quantum-journal.org/papers/q-2019-04-08-132" | ||
| } | ||
| ], | ||
| "basedOnPapers": [], | ||
| "referencedByPapers": [], | ||
| "relatedContent": [ | ||
| { | ||
| "type": "demonstration", | ||
| "id": "tutorial_magic_state_distillation", | ||
| "weight": 1.0 | ||
| }, | ||
| { | ||
| "type": "demonstration", | ||
| "id": "tutorial_game_of_surface_codes", | ||
| "weight": 0.5 | ||
| }, | ||
| { | ||
| "type": "demonstration", | ||
| "id": "tutorial_lattice_surgery", | ||
| "weight": 0.5 | ||
| } | ||
| ] | ||
| } | ||
1 change: 1 addition & 0 deletions
1
demonstrations_v2/tutorial_nonlinear_amplitude_transformation/requirements.in
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| pyqsp |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the bibliography in demo.py is correct, then this references section should be changed accordingly.