Skip to content

Tesseract visualizations#26

Merged
noajshu merged 5 commits into
mainfrom
tesseract-viz
Jun 5, 2025
Merged

Tesseract visualizations#26
noajshu merged 5 commits into
mainfrom
tesseract-viz

Conversation

@noajshu

@noajshu noajshu commented May 30, 2025

Copy link
Copy Markdown
Contributor

Created a visualizer for Tesseract execution.
Will add some visuals shortly

@noajshu

noajshu commented May 30, 2025

Copy link
Copy Markdown
Contributor Author

Example usage:

bazel build src:all
./bazel-bin/src/tesseract --pqlimit 1000000 --beam 10 --sample-num-shots 100 --det-order-seed 13267562 --circuit testdata/colorcodes/r\=9\,d\=9\,p\=0.001\,noise\=si1000\,c\=superdense_color_code_X\,q\=121\,gates\=cz.stim --sample-seed 717347  --verbose --threads 1  > logfile.txt
python viz/to_json.py logfile.txt -o logfile.json

then upload logfile.json to the 3dviewer.html tool page

Here is a heavily-compressed GIF to show what this looks like decoding d9 color code shots:
tesseract_superdense_d9r9_p001

@LalehB LalehB left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks Noah!
The visualization is fantastic 👏🏻

Comment thread src/tesseract_main.cc
@noajshu noajshu merged commit a77f5e7 into main Jun 5, 2025
3 checks passed
@noajshu noajshu deleted the tesseract-viz branch June 5, 2025 21:54
noajshu added a commit that referenced this pull request Jul 16, 2025
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.

2 participants