Conversation
|
|
Here is the new tutorial: https://bloqade.quera.com/pr-preview/pr-311/digital/examples/tsim/magic_state_distillation/ |
Otherwise, pages will not be rendered but just downloaded
mkdocs.yml
Outdated
| execute: true | ||
| allow_errors: false | ||
| ignore: ["scripts/*", "digital/examples/qasm2/*"] | ||
| execute_ignore: ["scripts/*", "digital/examples/qasm2/*", "digital/examples/tsim/magic_state_distillation.ipynb"] |
There was a problem hiding this comment.
When ignore is used, pages are actually not rendered, but downloaded.
I assume what was meant is execute_ignore
There was a problem hiding this comment.
Oh, that's the appropriate fix for #310. Anyway, that's good, thanks!
Why aren't we executing the new notebook though?
There was a problem hiding this comment.
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)
david-pl
left a comment
There was a problem hiding this comment.
Can you convert the notebook to juptext? Otherwise it's not very nice to review here.
I suppose it also has something to do with not executing the notebook on build though, right?
david-pl
left a comment
There was a problem hiding this comment.
Looks good, just one very minor nit! Feel free to merge when it's ready from your side.
| ) | ||
|
|
||
| # %% [markdown] | ||
| # After distillation, the fidelity has increased to 99.7%. This is much better than the original 97% of the individual input magic states. A downside is that the distillation process is only successful 13.7% of the time. This means, we have to repeat the distillation process multiple times until we get a good output state. |
There was a problem hiding this comment.
Now that we actually execute the notebook, it won't always be exactly 13.7%
This is a tutorial showing how to use TSIM with bloqade-circuit