-
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
base: master
Are you sure you want to change the base?
Conversation
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.
The results look great 🚀 I'll send it to Guillermo too so he can take a quick peek. Overall, my main feedback is to try and make it more self-contained, especially in the introductory part. I also wonder if we can say anything about the QChT being advantageous over the classical one in any way? (If it is, otherwise we just stay quiet!)
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)