-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstep1_make_circuits
More file actions
executable file
·107 lines (97 loc) · 2.51 KB
/
step1_make_circuits
File metadata and controls
executable file
·107 lines (97 loc) · 2.51 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#!/usr/bin/env bash
set -e
cd "$( dirname "${BASH_SOURCE[0]}" )"
cd "$(git rev-parse --show-toplevel)"
parallel -q --ungroup ./tools/make_circuits \
--circuit_type "{1}" \
--noise_strength "{2}" \
--basis Y \
--gateset css \
--out_dir out/circuits/for_perfectionist_decoding \
--d1 "{3}" \
--skip_if "circuit_type != 'inject[unitary]+cultivate' and d1 != 3" \
::: "inject[bell]+cultivate" "inject[teleport]+cultivate" "inject[unitary]+cultivate" \
::: 5e-4 1e-3 2e-3 \
::: 3 5 \
&
parallel -q --ungroup ./tools/make_circuits \
--circuit_type "{1}" \
--noise_strength "{2}" \
--gateset css \
--out_dir out/circuits/for_desaturated_decoding_3 \
--basis Y \
--d1 "{3}" \
--d2 15 \
--r1 "d1" \
--r2 "5" \
::: "end2end-inplace-distillation" \
::: 1e-3 2e-3 5e-4 \
::: 3 \
&
parallel -q --ungroup ./tools/make_circuits \
--circuit_type "{1}" \
--noise_strength "{2}" \
--gateset css \
--out_dir out/circuits/for_desaturated_decoding_5 \
--basis Y \
--d1 "{3}" \
--d2 15 \
--r1 "d1" \
--r2 "5" \
::: "end2end-inplace-distillation" \
::: 1e-3 2e-3 5e-4 \
::: 5 \
&
parallel -q --ungroup ./tools/make_circuits \
--circuit_type "inject[unitary]+cultivate" \
--noise_strength "{1}" \
--gateset css \
--out_dir out/circuits/for_intercept_sampling \
--d1 3 \
--b Y \
::: 1e-3 2e-3 3e-3 5e-3 7e-3 1e-2 \
&
parallel -q --ungroup ./tools/make_circuits \
--circuit_type "idle-matchable-code" \
--gateset css \
--noise_strength 1e-3 \
--out_dir out/circuits/for_matching \
--basis Y \
--d1 "{1}" \
--d2 "{2}" \
--r2 "d2*3" \
--skip_if "d2 < d1*2" \
::: 3 5 \
::: 11 15 \
&
parallel -q --ungroup ./tools/make_circuits \
--circuit_type surface-code-memory \
--gateset css \
--noise_strength 1e-3 \
--out_dir out/circuits/for_matching \
--basis Y \
--d2 "{1}" \
--r2 "d2*3" \
::: 11 15 \
&
./tools/make_circuits \
--circuit_type escape-to-big-color-code \
--basis Y \
--gateset css \
--noise_strength 1e-3 \
--out_dir out/circuits/for_color_gap_decoding \
--d1 3 5 7 \
--d2 "d1*3" \
--r2 10 \
&
parallel -q --ungroup ./tools/make_circuits \
--circuit_type surface-code-cnot \
--basis "{2}" \
--gateset css \
--noise_strength 1e-3 \
--out_dir out/circuits/for_correlated_matching \
--d2 "{1}" \
::: 3 5 7 9 11 13 15 17 19 21 23 25 \
::: X Z \
&
wait