feat: Add crumpy
Python package for visualizing Crumble timeline in Jupyter
#996
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
crumpy
to 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.md
for 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/.