-
Notifications
You must be signed in to change notification settings - Fork 15
Description
If you run our tutorial colab:
E.g., use File->Save a copy in drive on this colab:
https://colab.research.google.com/drive/14WslzTRPVhF86q2zhFImxY-WEcgAymx4?usp=sharing
You can see the Stim circuit visualization just works in the colab itself, whereas the Tesseract decoder visualization requires several steps including:
- cloning the whole repo
- generating and manipulating files on the filesystem
- downloading the json to the users's laptop
- uploading to the separate page https://quantumlib.github.io/tesseract-decoder/viz/
It would be great to reduce the number of steps at least a little bit. For example, probably we can add the code in to_json.py
to be part of the python module so that it's unnecessary to manipulate files on disk.
As a reach goal, it would be cool to have an understanding of how Stim's able to load the 3d interactive plot in the colab itself to see if it may be viable to just put the 3D animation directly into the colab in a future refactor.