-
Notifications
You must be signed in to change notification settings - Fork 211
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
Conversation
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
5 images added to /_static/demonstration_assets/quantum_chebyshef_transform
Filled with preliminary information.
Removed some punctuation from equations.
Added reference section with Williams et al. 2023
Added de Lejarza 2025 paper to references which uses the transform for generative modelling. Not yet referenced in text.
Modified metadata file previewImages to include this thumbnail.
Copied relevant files to demonstrations, so they are now in both demonstrations and demonstrations_v2.
Fixed typo in metadata in both demonstrations folders
So that I don't have to edit both, and since I don't know what demonstrations_v2 is.
... to qml.ctrl on the required unitary. Edited text to properly explain the new implimentation of the multicontrolled RX.
Thank you for opening this pull request. You can find the built site at this link. Deployment Info:
Note: It may take several minutes for updates to this pull request to be reflected on the deployed site. |
Removed redundant figures, fixed latex macros, and emojis. Some typoes.
Fixed the title. Removed QFT figure at the beginning. Added reference to de Lejarza 2025 paper in the introduction.
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.
Looking pretty good, just very minor suggestions
Co-authored-by: Alvaro Ballon <[email protected]>
Co-authored-by: Alvaro Ballon <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Before submitting
Please complete the following checklist when submitting a PR:
Ensure that your tutorial executes correctly, and conforms to the
guidelines specified in the README.
Remember to do a grammar check of the content you include.
All tutorials conform to
PEP8 standards.
To auto format files, simply
pip install black
, and thenrun
black -l 100 path/to/file.py
.When all the above are checked, delete everything above the dashed
line and fill in the pull request template.
Title:
Quantum Chebyshev Transform
Summary:
Inspired by recent work in quantum generative modeling in the Chebyshev basis. Introduces Chebyshev polynomials and their properties, briefly describing the classical discrete Chebyshev transform. Defines quantum Chebyshev basis states, and implements the Quantum Chebyshev transform in PennyLane. Finishes by showing how the transformed states have the expected amplitudes and orthogonality relation.
Relevant references:
Paper that introduces the Quantum Chebyshev transform, and uses it for generative modeling of probability distributions.
Chelsea A. Williams, Annie E. Paine, Hsin-Yu Wu, Vincent E. Elfving, Oleksandr Kyriienk, "Quantum Chebyshev transform: mapping, embedding, learning and sampling distributions", https://arxiv.org/abs/2306.17026, (2023).
Further work that applies the toolkit introduced above for learning and sampling distributions that appear in high-energy physics.
Jorge J. Martínez de Lejarza, Hsin-Yu Wu, Oleksandr Kyriienko, Germán Rodrigo, Michele Grossi, "Quantum Chebyshev Probabilistic Models for Fragmentation Functions", https://arxiv.org/abs/2503.16073, (2025).
Possible Drawbacks:
Demo does not show what to do with the transform. Perhaps could include a section on QPE of a qubitized Hamiltonian. Still thinking about it.
Related GitHub Issues:
If you are writing a demonstration, please answer these questions to facilitate the marketing process.
To show a PL implementation of a paper from late 2023 by William's et al. The implementation here is part of the toolbox introduced in that paper which seems useful for generative modeling and high-energy physics applications.*
Quantum machine learning researchers and quantum computing for high-energy physics researchers.
Chebyshev, generative modeling, probability distributions, PennyLane
(more details here)