Skip to content

Conversation

jon-wurtz
Copy link
Contributor

No description provided.

@jon-wurtz jon-wurtz marked this pull request as draft September 24, 2025 15:48
Copy link
Contributor

github-actions bot commented Sep 24, 2025

PR Preview Action v1.6.2

🚀 View preview at
https://QuEraComputing.github.io/bloqade/pr-preview/pr-288/

Built to branch gh-pages at 2025-10-15 21:50 UTC.
Preview will be ready when the GitHub Pages deployment is complete.


# %%
circuit4_parallel = utils.parallelize(circuit=circuit4)
circuit4_parallel = utils.no_similarity(circuit4_parallel)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, it's now run at the end of parallelize, so you can just remove all calls to no_similarity and it will work the same.



# %%
def visualize_grid_interactions(circuit, L=4):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wonder if this should be some sort of stdlib-- it's a lot of code to drop into a tutorial. Another option would be to "hide" it in the webpage to give a better flow of the tutorial. @david-pl .

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree, the code that produces these plots has little benefit for the user. Also, we are currently not running notebooks when building the documentation, so you'd have to add the image manually anyway. My suggestion would be to show the images, but not the source code.
As a side note: those graphs could do with some more detailed explanations.

@david-pl
Copy link
Contributor

One general comment here: about a third of the example is just reproducing the noisy GHZ result for which we already have an example and a blog post. Granted, you show parallelization benefits the fidelity, but this can be readily seen from other examples that use automated parallelism too. Can we just remove the manual parallelization GHZ part? I feel like it's mostly redundant at this point.

Another small thing: maybe a few sentences explaining the Steane code and a reference or two wouldn't hurt :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants