Skip to content

A game of surface codes demo #1355

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

Merged
merged 64 commits into from
Jun 2, 2025
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
070f413
A game of surface codes demo
Qottmann Apr 14, 2025
e01fb52
A game of surface codes demo
Qottmann Apr 14, 2025
0d8e55f
merge
Qottmann Apr 22, 2025
c9957a9
intro, context, qubit patches
Qottmann Apr 22, 2025
6c33693
add figure
Qottmann Apr 22, 2025
b1504b7
more details
Qottmann Apr 22, 2025
cec3353
more high level stuff, really like the examples from the paper
Qottmann Apr 22, 2025
aa7b2f5
more updates
Qottmann Apr 22, 2025
7648b50
Basic operations
Qottmann Apr 23, 2025
b664d98
compact block
Qottmann Apr 23, 2025
0ead8d5
compact block
Qottmann Apr 23, 2025
e470797
compact block
Qottmann Apr 23, 2025
46414da
typos and math mode
Qottmann Apr 23, 2025
b434f40
minor tweaks
Qottmann Apr 23, 2025
d7240bf
intermedaite and fast blocks
Qottmann Apr 23, 2025
271d21b
typos?
Qottmann Apr 24, 2025
65bb27d
typo
Qottmann Apr 24, 2025
30f3d35
typo
Qottmann Apr 25, 2025
f1e6f92
minor things
Qottmann Apr 25, 2025
da83cb6
minor things
Qottmann Apr 25, 2025
b0159c0
minor things
Qottmann Apr 25, 2025
741fcaa
distillation block
Qottmann Apr 25, 2025
74985c0
full quantum computer minimal setup
Qottmann Apr 25, 2025
cae55e8
conclusion - first draft finished
Qottmann Apr 25, 2025
378de58
typos and small things, self review
Qottmann Apr 25, 2025
68d3d43
clarify error probability --> infidelity
Qottmann Apr 25, 2025
e55cc46
Merge branch 'master' into dev
actions-user Apr 28, 2025
d960e90
Merge branch 'master' into dev
actions-user Apr 28, 2025
2eecb99
Merge branch 'master' into dev
actions-user Apr 29, 2025
f1921ae
Merge branch 'master' into dev
actions-user May 6, 2025
9ae3031
Merge branch 'master' into dev
actions-user May 7, 2025
af301f0
Merge branch 'master' into dev
actions-user May 7, 2025
93fa12c
Merge branch 'dev' of https://github.com/PennyLaneAI/qml into gosc
Qottmann May 8, 2025
bc99445
introduce data block
Qottmann May 8, 2025
eded211
Apply suggestions from code review
Qottmann May 8, 2025
f125012
.. of quantum computing
Qottmann May 8, 2025
6e92353
Merge branch 'gosc' of https://github.com/PennyLaneAI/qml into gosc
Qottmann May 8, 2025
c024736
expand intermediate design
Qottmann May 8, 2025
ef2d3f7
attribution
Qottmann May 9, 2025
f3c121e
Workaround for ensuring we stay on numpy 1.x until next release
rashidnhm May 12, 2025
d68e261
Trigger CI
rashidnhm May 12, 2025
d7ae957
Trigger CI
rashidnhm May 12, 2025
ee9834d
Trigger CI
rashidnhm May 13, 2025
82c8528
Try semicolon in comment
rashidnhm May 13, 2025
027bd5f
remove upgrade
Qottmann May 13, 2025
66c6945
Point pennylane (temporarily) to a new branch
rashidnhm May 13, 2025
01b7068
Merge branch 'sc-91141-bump-jax' of https://github.com/PennyLaneAI/qm…
Qottmann May 13, 2025
bfcf755
reert makefile change
Qottmann May 13, 2025
098889b
Update Makefile
Qottmann May 14, 2025
0ec01c5
abstract
Qottmann May 14, 2025
9cb6151
Merge branch 'master' into dev
actions-user May 21, 2025
6064a23
Merge branch 'master' into dev
actions-user May 21, 2025
bc98eaf
Merge branch 'master' into dev
actions-user May 21, 2025
fc103a7
Merge branch 'master' into dev
actions-user May 22, 2025
88bbef6
Merge branch 'master' into dev
actions-user May 22, 2025
6e51773
Merge branch 'master' into dev
actions-user May 23, 2025
d6106e5
Merge branch 'dev' of https://github.com/PennyLaneAI/qml into gosc
Qottmann May 26, 2025
4904a37
add images
Qottmann May 26, 2025
f3ad46f
update image links
Qottmann May 26, 2025
92b2f86
typo
Qottmann May 27, 2025
89f7d89
Apply suggestions from code review
Qottmann Jun 2, 2025
b16acb7
Merge branch 'master' into gosc
Qottmann Jun 2, 2025
cf6d74d
remove versioning stuff
Qottmann Jun 2, 2025
6fbe234
dates
Qottmann Jun 2, 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
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ environment:
$$PYTHON_VENV_PATH/bin/python -m pip install --extra-index-url https://test.pypi.org/simple/ PennyLane-Lightning --pre --upgrade;\
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/PennyLaneAI/pennylane.git#egg=pennylane;\
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/XanaduAI/iqpopt.git#egg=iqpopt;\
# TODO: Remove this on next release. Currently Catalyst 0.11 pins jaxlib to 0.4.8;\
$$PYTHON_VENV_PATH/bin/python -m pip install 'numpy<2';\
fi;\
fi

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.
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.
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions demonstrations/tutorial_game_of_surface_codes.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"title": "A Game of Surface Codes: Large-Scale Quantum Computing with Lattice Surgery",
"authors": [
{
"username": "Qottmann"
}
],
"dateOfPublication": "2025-06-30T00:00:00+00:00",
"dateOfLastModification": "2025-06-30T00:00:00+00:00",
"categories": [
"Quantum Computing",
"Algorithms"
],
"tags": [],
"previewImages": [
{
"type": "thumbnail",
"uri": "/_static/demo_thumbnails/regular_demo_thumbnails/thumbnail_game_of_surface_codes.png"
},
{
"type": "large_thumbnail",
"uri": "/_static/demo_thumbnails/large_demo_thumbnails/thumbnail_large_game_of_surface_codes.png"
}
],
"seoDescription": "A game of surface codes: Exploring space-time tradeoffs in surface code based quantum computation.",
"doi": "",
"references": [
{
"id": "Litinski",
"type": "preprint",
"title": "A Game of Surface Codes: Large-Scale Quantum Computing with Lattice Surgery",
"authors": "Daniel Litinski",
"year": "2021",
"publisher": "",
"journal": "",
"doi": "10.22331/q-2019-03-05-128",
"url": "https://arxiv.org/abs/1808.02892"
}
],
"basedOnPapers": ["10.22331/q-2019-03-05-128"],
"referencedByPapers": [],
"relatedContent": [
{
"type": "demonstration",
"id": "tutorial_toric_code",
"weight": 1.0
},
{
"type": "demonstration",
"id": "tutorial_mbqc",
"weight": 1.0
}
]
}
419 changes: 419 additions & 0 deletions demonstrations/tutorial_game_of_surface_codes.py

Large diffs are not rendered by default.