Skip to content
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

Add block encoding with matrix access oracles demo #943

Merged
merged 75 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from 70 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
dc4f974
add block encoding demo
soranjh Oct 2, 2023
5fa2126
add text for fable
soranjh Oct 2, 2023
54b109b
messy sparse block encoding section
Jaybsoni Oct 3, 2023
6a64406
add FABLE code blocks
DSGuala Oct 4, 2023
90aa2dd
add general circuit
soranjh Oct 4, 2023
feb6f3d
add general circuit
soranjh Oct 4, 2023
021873c
Edit fable code
DSGuala Oct 4, 2023
759828e
Merge branch 'add_block_encoding' of https://github.com/PennyLaneAI/q…
DSGuala Oct 4, 2023
91c2a6f
Merge branch 'master' into add_block_encoding
Jaybsoni Oct 4, 2023
6ee17ed
add better images
soranjh Oct 4, 2023
30d6919
Clean up section on block_encoding
Jaybsoni Oct 4, 2023
3353dd1
Merge branch 'add_block_encoding' of https://github.com/PennyLaneAI/q…
soranjh Oct 4, 2023
7fee215
add oracle definitions
DSGuala Oct 4, 2023
b2ec958
Merge branch 'add_block_encoding' of https://github.com/PennyLaneAI/q…
DSGuala Oct 4, 2023
fd7a6b6
Merge branch 'add_block_encoding' of https://github.com/PennyLaneAI/q…
soranjh Oct 4, 2023
faef859
edit text
soranjh Oct 4, 2023
eb6dcff
edit title
soranjh Oct 4, 2023
6115534
add demo to rst
soranjh Oct 4, 2023
6364893
add thumbnail image
soranjh Oct 5, 2023
be24402
add thumbnail image
soranjh Oct 5, 2023
6222b9f
add thumbnail image
soranjh Oct 5, 2023
c648b79
add thumbnail image
soranjh Oct 5, 2023
f1eace6
Merge branch 'master' into add_block_encoding
soranjh Oct 23, 2023
0a3a05a
modify text
soranjh Oct 23, 2023
5053a2f
modify text
soranjh Oct 27, 2023
e017d98
modify text and code
soranjh Oct 27, 2023
11f0e4c
clean up code
soranjh Oct 27, 2023
8509dd4
merge master and fix conflict
soranjh Oct 27, 2023
d27315e
correct code
soranjh Oct 27, 2023
e113836
modify print
soranjh Oct 30, 2023
13beb83
Merge branch 'master' into add_block_encoding
Jaybsoni Nov 1, 2023
a4fdd0f
Added more theory
Jaybsoni Nov 2, 2023
24709c6
Merge branch 'master' into add_block_encoding
Jaybsoni Nov 2, 2023
05ef7a8
re-word conclusion
Jaybsoni Nov 2, 2023
c291518
Apply suggestions from code review
Jaybsoni Nov 6, 2023
cd74556
Merge branch 'master' into add_block_encoding
Jaybsoni Nov 6, 2023
ff5c3f1
update text
soranjh Nov 8, 2023
3470a2a
add input args
soranjh Nov 8, 2023
6d630f1
add review comments
soranjh Nov 8, 2023
d925a4e
correct code
soranjh Nov 8, 2023
b763630
update metadata
soranjh Nov 8, 2023
1c7cbf0
update rst file
soranjh Nov 8, 2023
be74146
address review comments
Jaybsoni Nov 9, 2023
9bc5f3a
more code review comments
Jaybsoni Nov 9, 2023
4cc5d20
FABLE: change oracle signatures, allow arbitrary matrix size
DSGuala Nov 9, 2023
8e06744
Merge branch 'add_block_encoding' of https://github.com/PennyLaneAI/q…
DSGuala Nov 9, 2023
f6f17ca
update code
soranjh Nov 9, 2023
e440af5
modify code
soranjh Nov 9, 2023
5080287
update images
DSGuala Nov 10, 2023
2497e7b
fix wire labeling and make uniform
Jaybsoni Nov 10, 2023
77cf815
correct text
soranjh Nov 10, 2023
d8e390b
Merge branch 'add_block_encoding' of https://github.com/PennyLaneAI/q…
soranjh Nov 10, 2023
7f18d67
modify text and code
soranjh Nov 10, 2023
7fcf793
Update demonstrations/tutorial_block_encoding.py
Jaybsoni Nov 13, 2023
6883b07
add small corrections
soranjh Nov 13, 2023
9c77c9a
Merge branch 'add_block_encoding' of https://github.com/PennyLaneAI/q…
soranjh Nov 13, 2023
efe409a
add small corrections
soranjh Nov 13, 2023
f195407
review comments + new thumbnail
Jaybsoni Nov 16, 2023
cc1fa9e
missed rst file
Jaybsoni Nov 16, 2023
047a229
code review comments
Jaybsoni Nov 16, 2023
66db3d0
Merge branch 'master' into add_block_encoding
Jaybsoni Nov 16, 2023
564b311
changing large thumbnail path
KetpuntoG Nov 16, 2023
3e04701
empty commit to redeploy
KetpuntoG Nov 16, 2023
aadd90e
smalls modifications
KetpuntoG Nov 17, 2023
761f663
Update tutorial_block_encoding.py
KetpuntoG Nov 17, 2023
c38619d
update related demos
KetpuntoG Nov 17, 2023
988564b
remove theory
Jaybsoni Nov 17, 2023
a57dc3a
add theory
Jaybsoni Nov 21, 2023
682d80a
add anc to image
DSGuala Nov 21, 2023
b7686fc
clean up explanation
Jaybsoni Nov 23, 2023
fa49d61
Update demonstrations/tutorial_block_encoding.py
Jaybsoni Nov 23, 2023
54e9d6d
fix sentence
Jaybsoni Nov 23, 2023
4b305bb
Apply suggestions from code review
soranjh Nov 24, 2023
e5c175b
make circuit compact
soranjh Nov 24, 2023
dcb9146
Apply suggestions from code review
Jaybsoni Nov 24, 2023
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
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 demonstrations/block_encoding/general_circuit.png
Jaybsoni marked this conversation as resolved.
Show resolved Hide resolved
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.
68 changes: 68 additions & 0 deletions demonstrations/tutorial_block_encoding.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"title": "Block Encodings",
"authors": [
{
"id": "soran_jahangiri"
soranjh marked this conversation as resolved.
Show resolved Hide resolved
},
{
"id": "jay_soni"
soranjh marked this conversation as resolved.
Show resolved Hide resolved
},
{
"id": "diego_guala"
soranjh marked this conversation as resolved.
Show resolved Hide resolved
}
],
"dateOfPublication": "2023-11-28T00:00:00+00:00",
"dateOfLastModification": "2023-11-28T00:00:00+00:00",
"categories": [
"Quantum Computing",
"Algorithms"
],
"tags": [],
"previewImages": [
{
"type": "thumbnail",
"uri": "/_images/thumbnail_Block_Encodings_Matrix_Oracle.png"
},
{
"type": "large_thumbnail",
"uri": "/_static/large_demo_thumbnails/thumbnail_large_Block_Encodings_Matrix_Oracle.png"
}
],
"seoDescription": "Learn about methods to achieve block-encoding for a given matrix.",
"doi": "",
"canonicalURL": "/qml/demos/tutorial_block_encoding",
"references": [
{
"id": "Daan2023",
"type": "article",
"title": "Explicit Quantum Circuits for Block Encodings of Certain Sparse Matrices.",
"authors": "Daan C., Lin L., Roel V. B, Chao Y.",
"year": "2023",
"journal": "Preprint",
"url": "https://arxiv.org/pdf/2203.10236.pdf"
},
{
"id": "McClean2018",
"type": "article",
"title": "FABLE: Fast Approximate Quantum Circuits for Block-Encodings",
"authors": "Daan C., Roel V. B.",
"year": "2022",
"journal": "arXiv",
"url": "https://arxiv.org/pdf/2205.00081.pdf"
}
],
"basedOnPapers": [],
"referencedByPapers": [],
"relatedContent": [
{
"type": "demonstration",
"id": "tutorial_lcu_blockencoding",
"weight": 1.0
},
{
"type": "demonstration",
"id": "tutorial_intro_qsvt",
"weight": 1.0
}
]
}
Loading