https://github.com/strilanc/heavy-hex-demo
Demo of benchmarking the heavy hex code with stim.
https://github.com/strilanc/heavy-hex-demo
Last synced: 11 months ago
JSON representation
Demo of benchmarking the heavy hex code with stim.
- Host: GitHub
- URL: https://github.com/strilanc/heavy-hex-demo
- Owner: Strilanc
- License: apache-2.0
- Created: 2022-07-26T10:22:59.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-27T21:56:22.000Z (almost 4 years ago)
- Last Synced: 2024-04-14T23:21:30.030Z (about 2 years ago)
- Language: Python
- Size: 5.93 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Heavy Hex Demo
The code in this repository was written as a demonstration of using stim to analyze an error correcting code, for the IBM quantum summer school.
```bash
# regenerate circuits:
./step1_make_circuits.sh
# recollect data (using pymatching)
./step2_collect_data.sh
# regenerate plots
./step3_make_plots.sh
```
Plotting logical error rate vs distance:
| X BASIS (no threshold) | Correlated Matching | Uncorrelated Matching |
|---------------------------------------|------------------------------------------------------------------------------|--------------------------------------------------------------------------------|
| Flag measurements marked as detectors |  |  |
| Flag measurements not included |  |  |
| Z BASIS | Correlated Matching | Uncorrelated Matching |
|---------------------------------------|------------------------------------------------------------------------------|--------------------------------------------------------------------------------|
| Flag measurements marked as detectors |  |  |
| Flag measurements not included |  |  |
Plotting logical error rate vs physical error rate:
| X BASIS (no threshold) | Correlated Matching | Uncorrelated Matching |
|---------------------------------------|-------------------------------------------------------------------------|--------------------------------------------------------------------------------|
| Flag measurements marked as detectors |  |  |
| Flag measurements not included |  |  |
| Z BASIS | Correlated Matching | Uncorrelated Matching |
|---------------------------------------|------------------------------------------------------------------------------|--------------------------------------------------------------------------------|
| Flag measurements marked as detectors |  |  |
| Flag measurements not included |  |  |