feat: Add crumpy Python package for visualizing Crumble timeline in Jupyter#996
Open
guenp wants to merge 5 commits intoquantumlib:mainfrom
Open
feat: Add crumpy Python package for visualizing Crumble timeline in Jupyter#996guenp wants to merge 5 commits intoquantumlib:mainfrom
crumpy Python package for visualizing Crumble timeline in Jupyter#996guenp wants to merge 5 commits intoquantumlib:mainfrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Add crumpy's .py files (both src and test), update some .js files of Crumble, update .gitignore and package.json for JS bundling, add pyproject.toml with file path updates
Add Sam as author, update links to point to Stim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a new Python package called
crumpyto theglue/folder. CrumPy was built by @zzzappy as part of his summer 2025 internship at Riverlane. We'd like to contribute this back to Stim.In order to make this work we had to make changes to the Crumble source code. The modified files are in
glue/crumpy/src/js. There is one other file where the edit is just a few lines, so in this PR I've left that file inglue/crumble. A follow-up project could be to refactor the Crumble code and unify this code and make it configurable for use with CrumPy.How it works
Please see
glue/crumpy/README.mdfor the project overview and build instructions:Example
Todo
This PR is still in draft mode for initial review comments.
You can find the current version of CrumPy here: https://github.com/Deltakit/crumpy and the latest PyPI release: https://pypi.org/project/crumpy/.