-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstep2_collect
More file actions
executable file
·76 lines (66 loc) · 2.57 KB
/
step2_collect
File metadata and controls
executable file
·76 lines (66 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env bash
set -e
cd "$( dirname "${BASH_SOURCE[0]}" )"
cd "$(git rev-parse --show-toplevel)"
PYTHONPATH=src sinter collect \
--metadata_func auto \
--circuits out/circuits/for_perfectionist_decoding/*.stim \
--decoders perfectionist \
--max_shots 1_000_000_000_000 \
--max_errors 1000 \
--custom_decoders "cultiv:sinter_samplers" \
--save_resume_filepath assets/stats.csv
PYTHONPATH=src sinter collect \
--metadata_func auto \
--circuits out/circuits/for_desaturated_decoding_3/*.stim \
--decoders desaturation \
--max_shots 1_000_000_000 \
--custom_decoders "cultiv:sinter_samplers" \
--save_resume_filepath assets/stats.csv
PYTHONPATH=src sinter collect \
--metadata_func auto \
--circuits out/circuits/for_desaturated_decoding_5/*.stim \
--decoders desaturation \
--max_shots 50_000_000_000 \
--custom_decoders "cultiv:sinter_samplers" \
--save_resume_filepath assets/stats.csv
PYTHONPATH=src sinter collect \
--metadata_func auto \
--circuits out/circuits/for_intercept_sampling/*.stim \
--decoders twirl_intercept_t twirl_intercept_s twirl_intercept_z vec_intercept_t vec_intercept_s vec_intercept_z \
--max_shots 100_000_000 \
--max_errors 100 \
--custom_decoders "cultiv:sinter_samplers" \
--save_resume_filepath assets/stats.csv
PYTHONPATH=src sinter collect \
--metadata_func auto \
--circuits out/circuits/for_matching/*.stim \
--decoders pymatching-gap \
--max_shots 40_000_000 \
--max_errors 1000 \
--custom_decoders "cultiv:sinter_samplers" \
--save_resume_filepath assets/stats.csv
PYTHONPATH=src sinter collect \
--metadata_func auto \
--circuits out/circuits/for_color_gap_decoding/*.stim \
--decoders chromobius-gap \
--max_shots 10_000_000 \
--max_errors 1000 \
--custom_decoders "cultiv:sinter_samplers" \
--save_resume_filepath assets/stats.csv
sinter collect \
--metadata_func auto \
--circuits out/circuits/for_correlated_matching/*.stim \
--max_shots 1_000_000_000 \
--max_errors 1000 \
--save_resume_filepath assets/stats.csv \
--decoders pymatching
# note: replaced 'sparse_blossom_correlated' with 'pymatching' so external users can run it
#--custom_decoders "gqec.decoding:make_custom_sinter_decoders_dict" \
#--decoders sparse_blossom_correlated
./tools/write_historical_data_csv.py \
--in assets/stats.csv \
> assets/emulated-historical-stats.csv
./tools/generate_injection_only_plot.py \
--cache_file assets/count_logical_errors_cache.txt \
> assets/emulated-enumeration-stats.csv