Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
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
6,183 changes: 6,183 additions & 0 deletions docs/digital/examples/tsim/magic_state_distillation.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/scripts/gen_ref_nav.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@


skip_keywords = [
".venv", ## skip virtual environment
"julia", ## [KHW] skip for now since we didn't have julia codegen rdy
"builder/base", ## hiding from user
"builder/terminate", ## hiding from user
Expand Down
5 changes: 5 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@
.md-typeset .grid.cards {
font-size: small;
} */

/* Hide Jupyter notebook input/output prompts (In[ ] and Out[ ]) */
.jp-InputPrompt, .jp-OutputPrompt {
display: none !important;
}
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ nav:
- Squin dialect examples:
- Deutsch-Jozsa Algorithm: digital/examples/squin/deutsch_squin.py
- GHZ state preparation with noise: digital/examples/squin/ghz.py
- TSIM examples:
- Magic state distillation: digital/examples/tsim/magic_state_distillation.ipynb
- Integration with other SDKs:
- Noisy GHZ states with cirq: "digital/examples/interop/noisy_ghz.py"
- Bloqade Analog:
Expand Down Expand Up @@ -135,7 +137,7 @@ plugins:
- mkdocs-jupyter:
execute: true
allow_errors: false
ignore: ["scripts/*", "digital/examples/qasm2/*"]
execute_ignore: ["scripts/*", "digital/examples/qasm2/*", "digital/examples/tsim/magic_state_distillation.ipynb"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When ignore is used, pages are actually not rendered, but downloaded.

I assume what was meant is execute_ignore

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's the appropriate fix for #310. Anyway, that's good, thanks!

Why aren't we executing the new notebook though?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two reasons: It would only run once the new version of bloqade-circuit is released (with the tsim integration). The other reason is it takes about 10 mins to run on CI (2 mins locally). If we really wanted it to run, I might have to do some optimizing (or remove some slow parts)

- mike

extra_javascript:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ authors = [
{ name = "kaihsin", email="khwu@quera.com" },
{ name = "weinbe58", email="pweinberg@quera.com"},
{ name = "johnzl-777", email="jlong@quera.com"},
{ name = "rafaelha", email="rhaenel@quera.com"},
]
classifiers = [
"Development Status :: 3 - Alpha",
Expand Down
Loading