forked from oscarhiggott/PyMatching
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs, bump stim to 1.10 (oscarhiggott#55)
* decode_batch test * Update benchmarks using decode_batch * Bump stim C++ dependency to v1.10.0. Fixes oscarhiggott#54 * Update docs for drawing * Update toric code example notebook * Update stim C++ dependency to latest commit * Add b8 test * Fix cli test * Add surface code b8 test * Binary read/write * stim 1.10.0 * include obs * update workflow Co-authored-by: Oscar Higgott <[email protected]>
- Loading branch information
1 parent
97e0d0a
commit e4a451c
Showing
18 changed files
with
301 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -246,21 +246,21 @@ jobs: | |
run: pytest tests --cov=./src/pymatching --cov-report=xml | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v3 | ||
upload_all: | ||
name: Upload to pypi | ||
needs: [build_wheels, build_sdist] | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') | ||
steps: | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.9" | ||
|
||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: artifact | ||
path: dist | ||
|
||
- uses: pypa/[email protected] | ||
with: | ||
password: ${{ secrets.pypi_password }} | ||
# upload_all: | ||
# name: Upload to pypi | ||
# needs: [build_wheels, build_sdist] | ||
# runs-on: ubuntu-latest | ||
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') | ||
# steps: | ||
# - uses: actions/setup-python@v4 | ||
# with: | ||
# python-version: "3.9" | ||
# | ||
# - uses: actions/download-artifact@v3 | ||
# with: | ||
# name: artifact | ||
# path: dist | ||
# | ||
# - uses: pypa/[email protected] | ||
# with: | ||
# password: ${{ secrets.pypi_password }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.24 KB
(110%)
...atching_v0.7_vs_pymatching_v2_vs_networkx_timing_p=0.001_per_round_both_bases_decoded.pdf
Binary file not shown.
Binary file modified
BIN
+6.89 KB
(110%)
....7_vs_pymatching_v2_vs_networkx_timing_p=0.001_per_round_both_bases_decoded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions
18
...face_code_rotated_memory_x_p_0.001_d_5_7_9_13_17_23_29_39_50_both_bases/pymatching_v2.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
d,p,microseconds | ||
5, 0.001,0.7137 | ||
7, 0.001,1.8224 | ||
9, 0.001,3.9624 | ||
13, 0.001,11.7847 | ||
17, 0.001,25.6879 | ||
23, 0.001,68.0293 | ||
29, 0.001,150.337 | ||
39, 0.001,436.855 | ||
50, 0.001,1060.09 | ||
5, 0.001,0.388141 | ||
7, 0.001,1.05477 | ||
9, 0.001,2.31456 | ||
13, 0.001,6.96616 | ||
17, 0.001,16.0062 | ||
23, 0.001,45.1341 | ||
29, 0.001,102.495 | ||
39, 0.001,310.649 | ||
50, 0.001,778.247 |
Binary file modified
BIN
-514 Bytes
(98%)
...ases/pymatching_v0.7_vs_pymatching_v2_vs_networkx_timing_p=0.005_per_round_both_bases.pdf
Binary file not shown.
18 changes: 9 additions & 9 deletions
18
...face_code_rotated_memory_x_p_0.005_d_5_7_9_13_17_23_29_39_50_both_bases/pymatching_v2.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
d,p,microseconds | ||
5, 0.005,3.1209 | ||
7, 0.005,7.2927 | ||
9, 0.005,16.3826 | ||
13, 0.005,56.8005 | ||
17, 0.005,146.022 | ||
23, 0.005,391.382 | ||
29, 0.005,878.586 | ||
39, 0.005,2687.91 | ||
50, 0.005,7183.41 | ||
5, 0.005,1.83938 | ||
7, 0.005,6.13618 | ||
9, 0.005,14.5596 | ||
13, 0.005,50.9597 | ||
17, 0.005,125.17 | ||
23, 0.005,338.516 | ||
29, 0.005,718.097 | ||
39, 0.005,2349.41 | ||
50, 0.005,6834.5 |
Binary file modified
BIN
-12 Bytes
(100%)
...ases/pymatching_v0.7_vs_pymatching_v2_vs_networkx_timing_p=0.008_per_round_both_bases.pdf
Binary file not shown.
18 changes: 9 additions & 9 deletions
18
...ce_code_rotated_memory_x_p_0.008_1_d_5_7_9_13_17_23_29_39_50_both_bases/pymatching_v2.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
d,p,microseconds | ||
5, 0.008,4.8573 | ||
7, 0.008,12.9679 | ||
9, 0.008,33.1905 | ||
13, 0.008,128.431 | ||
17, 0.008,337.928 | ||
23, 0.008,947.958 | ||
29, 0.008,2268.38 | ||
39, 0.008,7801.89 | ||
50, 0.008,24642.2 | ||
5, 0.008,6.84748 | ||
7, 0.008,13.299 | ||
9, 0.008,30.117 | ||
13, 0.008,117.831 | ||
17, 0.008,317.935 | ||
23, 0.008,935.859 | ||
29, 0.008,2185.42 | ||
39, 0.008,7447.51 | ||
50, 0.008,23116.7 |
Binary file modified
BIN
-23 Bytes
(100%)
...bases/pymatching_v0.7_vs_pymatching_v2_vs_networkx_timing_p=0.01_per_round_both_bases.pdf
Binary file not shown.
16 changes: 6 additions & 10 deletions
16
...rface_code_rotated_memory_x_p_0.01_d_5_7_9_13_17_23_29_39_50_both_bases/pymatching_v2.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
d,p,microseconds | ||
5, 0.01,5.4227 | ||
7, 0.01,17.2281 | ||
9, 0.01,44.5062 | ||
13, 0.01,185.097 | ||
17, 0.01,504.902 | ||
23, 0.01,1483.5 | ||
29, 0.01,3549.17 | ||
39, 0.01,12820.4 | ||
50, 0.01,40346.1 | ||
5, 0.01,9.1722 | ||
7, 0.01,17.3477 | ||
9, 0.01,42.1067 | ||
13, 0.01,171.797 | ||
17, 0.01,469.216 | ||
23, 0.01,1460.07 |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters