Commit 2f3b679
Correcting syndromes per shot in circuit-level example (#136)
In the current python circuit-level noise example, all syndromes are
mistakenly processed each shot, rather than only the syndromes contained
within a shot.
This PR reshapes the syndromes into a new array, and corrects this
behavior.
---------
Signed-off-by: Justin Lietz <[email protected]>
Signed-off-by: Melody Ren <[email protected]>
Co-authored-by: Melody Ren <[email protected]>1 parent 4df9939 commit 2f3b679
File tree
2 files changed
+5
-1
lines changed- .github/workflows
- docs/sphinx/examples/qec/python
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | | - | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
0 commit comments