Skip to content

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
wants to merge 71 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
c2e94ae
Created demo.py
colinjdale May 6, 2025
b76fe6e
Added image files to demo assets
colinjdale May 6, 2025
e84cd35
Created metadata.json
colinjdale May 6, 2025
24824ae
Finished translating the introduction
colinjdale May 6, 2025
8e5d164
Fixed hyperlink and reference formatting
colinjdale May 6, 2025
1095c80
Fully translated demo into demo.py
colinjdale May 6, 2025
00852de
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale May 6, 2025
1942bbe
Fixed hyperlinks again.
colinjdale May 6, 2025
c1085a5
Updated metadata.json
colinjdale May 7, 2025
53fe92f
Added placeholder thumbnail.
colinjdale May 7, 2025
48a2562
Copied demo.py and metadata to demonstrations.
colinjdale May 7, 2025
25ddd90
Typo in metadata
colinjdale May 7, 2025
27fc223
Removed demo and metadata from demonstrations_v2
colinjdale May 7, 2025
8d7669b
Fixed some math mode text, and a function definition typo.
colinjdale May 7, 2025
1b5b50c
Changed the depreciated qml.ControlledQubitUnitary
colinjdale May 7, 2025
d09e721
Added large thumbnail placeholder
colinjdale May 7, 2025
1317874
Fixed LaTeX macros and redundant figures
colinjdale May 7, 2025
7eeef01
Deleted unused image assets
colinjdale May 7, 2025
186da09
Fixed some errors.
colinjdale May 7, 2025
e9e790f
Spell and grammar check
colinjdale May 7, 2025
8ed8d22
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale May 7, 2025
6209e94
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale May 7, 2025
7e5264d
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale May 7, 2025
cb797c8
Ran black on demo.py
colinjdale May 7, 2025
0bd713b
Tried removed figsize arguments when generating plots.
colinjdale May 7, 2025
8eb6167
Small changes.
colinjdale May 7, 2025
e87dd85
Merge branch 'demo_quantum_chebyshev_transform' of https://github.com…
colinjdale May 7, 2025
1a87f52
Changed Chebyshev polynomials plot.
colinjdale May 7, 2025
486e9bd
Deleted unused asset
colinjdale May 7, 2025
67a510d
Changed np.inner to np.vdot
colinjdale May 8, 2025
002ba36
edited descriptive comment to match last commit
colinjdale May 8, 2025
cc926ea
Added figure captions.
colinjdale May 9, 2025
7bf1aa0
Added alt text to static images.
colinjdale May 9, 2025
d5e13ab
Used black but then modified result for fig.text
colinjdale May 9, 2025
9920305
Modified captions
colinjdale May 9, 2025
888bf10
Fixed math mode mistake
colinjdale May 9, 2025
0416346
Made better temporary thumbnails
colinjdale May 12, 2025
e0903e2
Edited text, better describing the basis
colinjdale May 12, 2025
7531181
A couple typos
colinjdale May 12, 2025
dda0b41
Fixed math mode error and made more edits.
colinjdale May 12, 2025
51d8cb2
Increased Fig 1. size, fixed math mod error.
colinjdale May 12, 2025
2954e8d
Changed title
colinjdale May 16, 2025
01e92b6
Fixed the technical issue.
colinjdale May 16, 2025
3828dc9
Fixed the circuit diagram.
colinjdale May 16, 2025
6f6b716
Changed the title again.
colinjdale May 16, 2025
0dcdc18
Lots of edits.
colinjdale May 16, 2025
c6676a2
small math mode correction
colinjdale May 16, 2025
7b33e30
typo
colinjdale May 16, 2025
68dc3ec
Expanded on conclusion.
colinjdale May 20, 2025
1216223
More typos
colinjdale May 20, 2025
05878e8
Added thumbnail figure to intro.
colinjdale May 20, 2025
4003381
Added qubitization to related content
colinjdale May 20, 2025
ea7d9d6
Fixed figure reference issue.
colinjdale May 20, 2025
33c5473
Edits round 1 from Alvaro review
colinjdale May 22, 2025
7f9a50f
New introduction
colinjdale May 22, 2025
ec34b75
Major revisions to text in background section
colinjdale May 22, 2025
72149e1
More intro edits.
colinjdale May 22, 2025
3124650
Update tutorial_quantum_chebyshev_transform.py
colinjdale May 22, 2025
c051f24
Some more edits.
colinjdale May 26, 2025
ced7582
Added DCT section.
colinjdale May 27, 2025
d2010d9
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale May 27, 2025
8c222c7
Small edits
colinjdale May 27, 2025
0787e3c
Edited text.
colinjdale May 27, 2025
14db24a
More edits.
colinjdale May 27, 2025
d9cf638
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale May 27, 2025
17914a1
Updated gitignore to ignore my ubuntu venv
colinjdale Jun 2, 2025
f224efb
Typo
colinjdale Jun 2, 2025
b9ba43f
Update demonstrations/tutorial_quantum_chebyshev_transform.py
colinjdale Jun 3, 2025
77a5c6d
Update demonstrations/tutorial_quantum_chebyshev_transform.py
colinjdale Jun 3, 2025
bc2fbdf
Merge branch 'master' into demo_quantum_chebyshev_transform
colinjdale Jun 3, 2025
91affb0
Alvaro changes implemented
colinjdale Jun 3, 2025
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ backreferences
.DS_Store
demos_community.rst
.venv/
.venv_ubuntu/
.venv-build/
**/*.egg-info/

Expand Down
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.
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 demonstrations/tutorial_quantum_chebyshev_transform.metadata.json
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
}
]
}
Loading