-
Notifications
You must be signed in to change notification settings - Fork 209
Demo quantum chebyshev transform #1364
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
colinjdale
wants to merge
71
commits into
master
Choose a base branch
from
demo_quantum_chebyshev_transform
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 all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
c2e94ae
Created demo.py
colinjdale b76fe6e
Added image files to demo assets
colinjdale e84cd35
Created metadata.json
colinjdale 24824ae
Finished translating the introduction
colinjdale 8e5d164
Fixed hyperlink and reference formatting
colinjdale 1095c80
Fully translated demo into demo.py
colinjdale 00852de
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale 1942bbe
Fixed hyperlinks again.
colinjdale c1085a5
Updated metadata.json
colinjdale 53fe92f
Added placeholder thumbnail.
colinjdale 48a2562
Copied demo.py and metadata to demonstrations.
colinjdale 25ddd90
Typo in metadata
colinjdale 27fc223
Removed demo and metadata from demonstrations_v2
colinjdale 8d7669b
Fixed some math mode text, and a function definition typo.
colinjdale 1b5b50c
Changed the depreciated qml.ControlledQubitUnitary
colinjdale d09e721
Added large thumbnail placeholder
colinjdale 1317874
Fixed LaTeX macros and redundant figures
colinjdale 7eeef01
Deleted unused image assets
colinjdale 186da09
Fixed some errors.
colinjdale e9e790f
Spell and grammar check
colinjdale 8ed8d22
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale 6209e94
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale 7e5264d
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale cb797c8
Ran black on demo.py
colinjdale 0bd713b
Tried removed figsize arguments when generating plots.
colinjdale 8eb6167
Small changes.
colinjdale e87dd85
Merge branch 'demo_quantum_chebyshev_transform' of https://github.com…
colinjdale 1a87f52
Changed Chebyshev polynomials plot.
colinjdale 486e9bd
Deleted unused asset
colinjdale 67a510d
Changed np.inner to np.vdot
colinjdale 002ba36
edited descriptive comment to match last commit
colinjdale cc926ea
Added figure captions.
colinjdale 7bf1aa0
Added alt text to static images.
colinjdale d5e13ab
Used black but then modified result for fig.text
colinjdale 9920305
Modified captions
colinjdale 888bf10
Fixed math mode mistake
colinjdale 0416346
Made better temporary thumbnails
colinjdale e0903e2
Edited text, better describing the basis
colinjdale 7531181
A couple typos
colinjdale dda0b41
Fixed math mode error and made more edits.
colinjdale 51d8cb2
Increased Fig 1. size, fixed math mod error.
colinjdale 2954e8d
Changed title
colinjdale 01e92b6
Fixed the technical issue.
colinjdale 3828dc9
Fixed the circuit diagram.
colinjdale 6f6b716
Changed the title again.
colinjdale 0dcdc18
Lots of edits.
colinjdale c6676a2
small math mode correction
colinjdale 7b33e30
typo
colinjdale 68dc3ec
Expanded on conclusion.
colinjdale 1216223
More typos
colinjdale 05878e8
Added thumbnail figure to intro.
colinjdale 4003381
Added qubitization to related content
colinjdale ea7d9d6
Fixed figure reference issue.
colinjdale 33c5473
Edits round 1 from Alvaro review
colinjdale 7f9a50f
New introduction
colinjdale ec34b75
Major revisions to text in background section
colinjdale 72149e1
More intro edits.
colinjdale 3124650
Update tutorial_quantum_chebyshev_transform.py
colinjdale c051f24
Some more edits.
colinjdale ced7582
Added DCT section.
colinjdale d2010d9
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale 8c222c7
Small edits
colinjdale 0787e3c
Edited text.
colinjdale 14db24a
More edits.
colinjdale d9cf638
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale 17914a1
Updated gitignore to ignore my ubuntu venv
colinjdale f224efb
Typo
colinjdale b9ba43f
Update demonstrations/tutorial_quantum_chebyshev_transform.py
colinjdale 77a5c6d
Update demonstrations/tutorial_quantum_chebyshev_transform.py
colinjdale bc2fbdf
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale 91affb0
Alvaro changes implemented
colinjdale 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
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ backreferences | |
.DS_Store | ||
demos_community.rst | ||
.venv/ | ||
.venv_ubuntu/ | ||
.venv-build/ | ||
**/*.egg-info/ | ||
|
||
|
Binary file added
BIN
+49.2 KB
...humbnails/large_demo_thumbnails/thumbnail_large_quantum_chebyshev_transform.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
+26.3 KB
...mo_thumbnails/regular_demo_thumbnails/thumbnail_quantum_chebyshev_transform.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
+141 KB
_static/demonstration_assets/quantum_chebyshev_transform/chebyshev_polynomials.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
+56.3 KB
_static/demonstration_assets/quantum_chebyshev_transform/qcht_circuit_diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions
61
demonstrations/tutorial_quantum_chebyshev_transform.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,61 @@ | ||
{ | ||
"title": "Quantum Chebyshev Transform", | ||
"authors": [ | ||
{ | ||
"username": "colinjdale" | ||
} | ||
], | ||
"dateOfPublication": "2025-05-09T00:00:00+00:00", | ||
"dateOfLastModification": "2025-05-07T00:00:00+00:00", | ||
"categories": [ | ||
"Algorithms", | ||
"Quantum Machine Learning" | ||
], | ||
"tags": [], | ||
"previewImages": [ | ||
{ | ||
"type": "thumbnail", | ||
"uri": "/_static/demo_thumbnails/regular_demo_thumbnails/thumbnail_quantum_chebyshev_transform.png" | ||
} | ||
], | ||
"seoDescription": "Implement the Quantum Chebyshev Transform in PennyLane.", | ||
"doi": "", | ||
"references": [ | ||
{ | ||
"id": "williams2023", | ||
"type": "article", | ||
"title": "Quantum Chebyshev transform: mapping, embedding, learning and sampling distributions", | ||
"authors": "Chelsea A. Williams, Annie E. Paine, Hsin-Yu Wu, Vincent E. Elfving, Oleksandr Kyriienk", | ||
"year": "2023", | ||
"journal": "", | ||
"url": "https://arxiv.org/abs/2306.17026" | ||
}, | ||
{ | ||
"id": "delejarza2025", | ||
"type": "article", | ||
"title":"Quantum Chebyshev Probabilistic Models for Fragmentation Functions", | ||
"authors": "Jorge J. Martínez de Lejarza, Hsin-Yu Wu, Oleksandr Kyriienko, Germán Rodrigo, Michele Grossi", | ||
"year": "2025", | ||
"url": "https://arxiv.org/abs/2503.16073" | ||
} | ||
], | ||
"basedOnPapers": ["10.48550/arXiv.2306.17026"], | ||
"referencedByPapers": [], | ||
"relatedContent": [ | ||
{ | ||
"type": "demonstration", | ||
"id": "tutorial_qft", | ||
"weight": 1.0 | ||
}, | ||
{ | ||
"type": "demonstration", | ||
"id": "tutorial_qcbm", | ||
"weight": 1.0 | ||
}, | ||
{ | ||
"type": "demonstration", | ||
"id": "tutorial_period_finding", | ||
"weight": 1.0 | ||
} | ||
] | ||
} |
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.
Uh oh!
There was an error while loading. Please reload this page.