victor79 commited on
Commit
6b24f5d
·
verified ·
1 Parent(s): 3a69248

Upload 62 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. linear_function_10qL.json +198 -0
  2. linear_function_10qL.pt +3 -0
  3. linear_function_2qL.json +86 -0
  4. linear_function_2qL.pt +3 -0
  5. linear_function_3qL.json +100 -0
  6. linear_function_3qL.pt +3 -0
  7. linear_function_4qL.json +114 -0
  8. linear_function_4qL.pt +3 -0
  9. linear_function_4qY.json +114 -0
  10. linear_function_4qY.pt +3 -0
  11. linear_function_5qL.json +128 -0
  12. linear_function_5qL.pt +3 -0
  13. linear_function_5qT.json +128 -0
  14. linear_function_5qT.pt +3 -0
  15. linear_function_6qL.json +142 -0
  16. linear_function_6qL.pt +3 -0
  17. linear_function_6qT.json +142 -0
  18. linear_function_6qT.pt +3 -0
  19. linear_function_6qY.json +142 -0
  20. linear_function_6qY.pt +3 -0
  21. linear_function_7qF.json +156 -0
  22. linear_function_7qF.pt +3 -0
  23. linear_function_7qH.json +156 -0
  24. linear_function_7qH.pt +3 -0
  25. linear_function_7qL.json +156 -0
  26. linear_function_7qL.pt +3 -0
  27. linear_function_7qT.json +156 -0
  28. linear_function_7qT.pt +3 -0
  29. linear_function_7qY.json +156 -0
  30. linear_function_7qY.pt +3 -0
  31. linear_function_8qF.json +170 -0
  32. linear_function_8qF.pt +3 -0
  33. linear_function_8qJ.json +170 -0
  34. linear_function_8qJ.pt +3 -0
  35. linear_function_8qL.json +170 -0
  36. linear_function_8qL.pt +3 -0
  37. linear_function_8qT1.json +170 -0
  38. linear_function_8qT1.pt +3 -0
  39. linear_function_8qT2.json +170 -0
  40. linear_function_8qT2.pt +3 -0
  41. linear_function_8qY.json +170 -0
  42. linear_function_8qY.pt +3 -0
  43. linear_function_9qF1.json +184 -0
  44. linear_function_9qF1.pt +3 -0
  45. linear_function_9qF2.json +184 -0
  46. linear_function_9qF2.pt +3 -0
  47. linear_function_9qH1.json +184 -0
  48. linear_function_9qH1.pt +3 -0
  49. linear_function_9qH2.json +184 -0
  50. linear_function_9qH2.pt +3 -0
linear_function_10qL.json ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 10,
5
+ "difficulty": 1024,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 2
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 5
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 4
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 6
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 5
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 6,
95
+ 7
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 6
103
+ ]
104
+ ],
105
+ [
106
+ "CX",
107
+ [
108
+ 7,
109
+ 8
110
+ ]
111
+ ],
112
+ [
113
+ "CX",
114
+ [
115
+ 8,
116
+ 7
117
+ ]
118
+ ],
119
+ [
120
+ "CX",
121
+ [
122
+ 8,
123
+ 9
124
+ ]
125
+ ],
126
+ [
127
+ "CX",
128
+ [
129
+ 9,
130
+ 8
131
+ ]
132
+ ]
133
+ ],
134
+ "depth_slope": 2,
135
+ "max_depth": 512,
136
+ "metrics_weights": {
137
+ "n_cnots": 0.1,
138
+ "n_layers_cnots": 0.05,
139
+ "n_layers": 0.05,
140
+ "n_gates": 0.1
141
+ }
142
+ },
143
+ "policy_cls": "twisterl.nn.BasicPolicy",
144
+ "policy": {
145
+ "embedding_size": 512,
146
+ "common_layers": [
147
+ 256
148
+ ],
149
+ "policy_layers": [],
150
+ "value_layers": []
151
+ },
152
+ "algorithm_cls": "twisterl.rl.PPO",
153
+ "algorithm": {
154
+ "collecting": {
155
+ "num_cores": 32,
156
+ "num_episodes": 1024,
157
+ "lambda": 0.995,
158
+ "gamma": 0.995
159
+ },
160
+ "training": {
161
+ "num_epochs": 10,
162
+ "vf_coef": 0.8,
163
+ "ent_coef": 0.01,
164
+ "clip_ratio": 0.1,
165
+ "normalize_advantage": false
166
+ },
167
+ "learning": {
168
+ "diff_threshold": 0.85,
169
+ "diff_max": 1024,
170
+ "diff_metric": "ppo_deterministic"
171
+ },
172
+ "optimizer": {
173
+ "lr": 0.0003
174
+ },
175
+ "evals": {
176
+ "ppo_deterministic": {
177
+ "num_episodes": 100,
178
+ "deterministic": true,
179
+ "num_searches": 1,
180
+ "num_mcts_searches": 0,
181
+ "num_cores": 32,
182
+ "C": 1.41
183
+ },
184
+ "ppo_10": {
185
+ "num_episodes": 100,
186
+ "deterministic": false,
187
+ "num_searches": 10,
188
+ "num_mcts_searches": 0,
189
+ "num_cores": 32,
190
+ "C": 1.41
191
+ }
192
+ },
193
+ "logging": {
194
+ "log_freq": 1,
195
+ "checkpoint_freq": 10
196
+ }
197
+ }
198
+ }
linear_function_10qL.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68cce765ca81658eeafdf8391891bfd3f0b9abb9dcc2182033b29125d94712bf
3
+ size 755085
linear_function_2qL.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 2,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ]
21
+ ],
22
+ "depth_slope": 2,
23
+ "max_depth": 128,
24
+ "metrics_weights": {
25
+ "n_cnots": 0.01,
26
+ "n_layers_cnots": 0.01,
27
+ "n_layers": 0.01,
28
+ "n_gates": 0.01
29
+ }
30
+ },
31
+ "policy_cls": "twisterl.nn.BasicPolicy",
32
+ "policy": {
33
+ "embedding_size": 512,
34
+ "common_layers": [
35
+ 256
36
+ ],
37
+ "policy_layers": [],
38
+ "value_layers": []
39
+ },
40
+ "algorithm_cls": "twisterl.rl.PPO",
41
+ "algorithm": {
42
+ "collecting": {
43
+ "num_cores": 32,
44
+ "num_episodes": 1024,
45
+ "lambda": 0.995,
46
+ "gamma": 0.995
47
+ },
48
+ "training": {
49
+ "num_epochs": 10,
50
+ "vf_coef": 0.8,
51
+ "ent_coef": 0.01,
52
+ "clip_ratio": 0.1,
53
+ "normalize_advantage": false
54
+ },
55
+ "learning": {
56
+ "diff_threshold": 0.85,
57
+ "diff_max": 256,
58
+ "diff_metric": "ppo_deterministic"
59
+ },
60
+ "optimizer": {
61
+ "lr": 0.0003
62
+ },
63
+ "evals": {
64
+ "ppo_deterministic": {
65
+ "num_episodes": 100,
66
+ "deterministic": true,
67
+ "num_searches": 1,
68
+ "num_mcts_searches": 0,
69
+ "num_cores": 32,
70
+ "C": 1.41
71
+ },
72
+ "ppo_10": {
73
+ "num_episodes": 100,
74
+ "deterministic": false,
75
+ "num_searches": 10,
76
+ "num_mcts_searches": 0,
77
+ "num_cores": 32,
78
+ "C": 1.41
79
+ }
80
+ },
81
+ "logging": {
82
+ "log_freq": 1,
83
+ "checkpoint_freq": 10
84
+ }
85
+ }
86
+ }
linear_function_2qL.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a893ff70b2498178d3ecc3aa77e8d8eb38e0298e600d8ccc6cf7c85e3a04a9e
3
+ size 542029
linear_function_3qL.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 3,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 2
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 2
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 2,
25
+ 0
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ]
35
+ ],
36
+ "depth_slope": 2,
37
+ "max_depth": 128,
38
+ "metrics_weights": {
39
+ "n_cnots": 0.01,
40
+ "n_layers_cnots": 0.01,
41
+ "n_layers": 0.01,
42
+ "n_gates": 0.01
43
+ }
44
+ },
45
+ "policy_cls": "twisterl.nn.BasicPolicy",
46
+ "policy": {
47
+ "embedding_size": 512,
48
+ "common_layers": [
49
+ 256
50
+ ],
51
+ "policy_layers": [],
52
+ "value_layers": []
53
+ },
54
+ "algorithm_cls": "twisterl.rl.PPO",
55
+ "algorithm": {
56
+ "collecting": {
57
+ "num_cores": 32,
58
+ "num_episodes": 1024,
59
+ "lambda": 0.995,
60
+ "gamma": 0.995
61
+ },
62
+ "training": {
63
+ "num_epochs": 10,
64
+ "vf_coef": 0.8,
65
+ "ent_coef": 0.01,
66
+ "clip_ratio": 0.1,
67
+ "normalize_advantage": false
68
+ },
69
+ "learning": {
70
+ "diff_threshold": 0.85,
71
+ "diff_max": 256,
72
+ "diff_metric": "ppo_deterministic"
73
+ },
74
+ "optimizer": {
75
+ "lr": 0.0003
76
+ },
77
+ "evals": {
78
+ "ppo_deterministic": {
79
+ "num_episodes": 100,
80
+ "deterministic": true,
81
+ "num_searches": 1,
82
+ "num_mcts_searches": 0,
83
+ "num_cores": 32,
84
+ "C": 1.41
85
+ },
86
+ "ppo_10": {
87
+ "num_episodes": 100,
88
+ "deterministic": false,
89
+ "num_searches": 10,
90
+ "num_mcts_searches": 0,
91
+ "num_cores": 32,
92
+ "C": 1.41
93
+ }
94
+ },
95
+ "logging": {
96
+ "log_freq": 1,
97
+ "checkpoint_freq": 10
98
+ }
99
+ }
100
+ }
linear_function_3qL.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3eb3e90b4d4e185a23cc6b77e091597fcb2e09ff3fc186adef31a5f79109faa
3
+ size 554317
linear_function_4qL.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 4,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 0,
18
+ 3
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 0
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 3
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 3,
39
+ 0
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ]
49
+ ],
50
+ "depth_slope": 2,
51
+ "max_depth": 128,
52
+ "metrics_weights": {
53
+ "n_cnots": 0.01,
54
+ "n_layers_cnots": 0.01,
55
+ "n_layers": 0.01,
56
+ "n_gates": 0.01
57
+ }
58
+ },
59
+ "policy_cls": "twisterl.nn.BasicPolicy",
60
+ "policy": {
61
+ "embedding_size": 512,
62
+ "common_layers": [
63
+ 256
64
+ ],
65
+ "policy_layers": [],
66
+ "value_layers": []
67
+ },
68
+ "algorithm_cls": "twisterl.rl.PPO",
69
+ "algorithm": {
70
+ "collecting": {
71
+ "num_cores": 32,
72
+ "num_episodes": 1024,
73
+ "lambda": 0.995,
74
+ "gamma": 0.995
75
+ },
76
+ "training": {
77
+ "num_epochs": 10,
78
+ "vf_coef": 0.8,
79
+ "ent_coef": 0.01,
80
+ "clip_ratio": 0.1,
81
+ "normalize_advantage": false
82
+ },
83
+ "learning": {
84
+ "diff_threshold": 0.85,
85
+ "diff_max": 256,
86
+ "diff_metric": "ppo_deterministic"
87
+ },
88
+ "optimizer": {
89
+ "lr": 0.0003
90
+ },
91
+ "evals": {
92
+ "ppo_deterministic": {
93
+ "num_episodes": 100,
94
+ "deterministic": true,
95
+ "num_searches": 1,
96
+ "num_mcts_searches": 0,
97
+ "num_cores": 32,
98
+ "C": 1.41
99
+ },
100
+ "ppo_10": {
101
+ "num_episodes": 100,
102
+ "deterministic": false,
103
+ "num_searches": 10,
104
+ "num_mcts_searches": 0,
105
+ "num_cores": 32,
106
+ "C": 1.41
107
+ }
108
+ },
109
+ "logging": {
110
+ "log_freq": 1,
111
+ "checkpoint_freq": 10
112
+ }
113
+ }
114
+ }
linear_function_4qL.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6529325c43fab94ab1356197d2908ca5ed6fa5708e883ae51d3a273f236b962c
3
+ size 570701
linear_function_4qY.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 4,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 3
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 3
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 2,
25
+ 3
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 3,
32
+ 0
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 3,
39
+ 1
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ]
49
+ ],
50
+ "depth_slope": 2,
51
+ "max_depth": 128,
52
+ "metrics_weights": {
53
+ "n_cnots": 0.01,
54
+ "n_layers_cnots": 0.01,
55
+ "n_layers": 0.01,
56
+ "n_gates": 0.01
57
+ }
58
+ },
59
+ "policy_cls": "twisterl.nn.BasicPolicy",
60
+ "policy": {
61
+ "embedding_size": 512,
62
+ "common_layers": [
63
+ 256
64
+ ],
65
+ "policy_layers": [],
66
+ "value_layers": []
67
+ },
68
+ "algorithm_cls": "twisterl.rl.PPO",
69
+ "algorithm": {
70
+ "collecting": {
71
+ "num_cores": 32,
72
+ "num_episodes": 1024,
73
+ "lambda": 0.995,
74
+ "gamma": 0.995
75
+ },
76
+ "training": {
77
+ "num_epochs": 10,
78
+ "vf_coef": 0.8,
79
+ "ent_coef": 0.01,
80
+ "clip_ratio": 0.1,
81
+ "normalize_advantage": false
82
+ },
83
+ "learning": {
84
+ "diff_threshold": 0.85,
85
+ "diff_max": 256,
86
+ "diff_metric": "ppo_deterministic"
87
+ },
88
+ "optimizer": {
89
+ "lr": 0.0003
90
+ },
91
+ "evals": {
92
+ "ppo_deterministic": {
93
+ "num_episodes": 100,
94
+ "deterministic": true,
95
+ "num_searches": 1,
96
+ "num_mcts_searches": 0,
97
+ "num_cores": 32,
98
+ "C": 1.41
99
+ },
100
+ "ppo_10": {
101
+ "num_episodes": 100,
102
+ "deterministic": false,
103
+ "num_searches": 10,
104
+ "num_mcts_searches": 0,
105
+ "num_cores": 32,
106
+ "C": 1.41
107
+ }
108
+ },
109
+ "logging": {
110
+ "log_freq": 1,
111
+ "checkpoint_freq": 10
112
+ }
113
+ }
114
+ }
linear_function_4qY.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:641fc0aed479190b7e8645a32e4744fa4d215dbad33fd2833358cf2db922c04a
3
+ size 570701
linear_function_5qL.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 5,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 2
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ]
63
+ ],
64
+ "depth_slope": 2,
65
+ "max_depth": 128,
66
+ "metrics_weights": {
67
+ "n_cnots": 0.01,
68
+ "n_layers_cnots": 0.01,
69
+ "n_layers": 0.01,
70
+ "n_gates": 0.01
71
+ }
72
+ },
73
+ "policy_cls": "twisterl.nn.BasicPolicy",
74
+ "policy": {
75
+ "embedding_size": 512,
76
+ "common_layers": [
77
+ 256
78
+ ],
79
+ "policy_layers": [],
80
+ "value_layers": []
81
+ },
82
+ "algorithm_cls": "twisterl.rl.PPO",
83
+ "algorithm": {
84
+ "collecting": {
85
+ "num_cores": 32,
86
+ "num_episodes": 1024,
87
+ "lambda": 0.995,
88
+ "gamma": 0.995
89
+ },
90
+ "training": {
91
+ "num_epochs": 10,
92
+ "vf_coef": 0.8,
93
+ "ent_coef": 0.01,
94
+ "clip_ratio": 0.1,
95
+ "normalize_advantage": false
96
+ },
97
+ "learning": {
98
+ "diff_threshold": 0.85,
99
+ "diff_max": 256,
100
+ "diff_metric": "ppo_deterministic"
101
+ },
102
+ "optimizer": {
103
+ "lr": 0.0003
104
+ },
105
+ "evals": {
106
+ "ppo_deterministic": {
107
+ "num_episodes": 100,
108
+ "deterministic": true,
109
+ "num_searches": 1,
110
+ "num_mcts_searches": 0,
111
+ "num_cores": 32,
112
+ "C": 1.41
113
+ },
114
+ "ppo_10": {
115
+ "num_episodes": 100,
116
+ "deterministic": false,
117
+ "num_searches": 10,
118
+ "num_mcts_searches": 0,
119
+ "num_cores": 32,
120
+ "C": 1.41
121
+ }
122
+ },
123
+ "logging": {
124
+ "log_freq": 1,
125
+ "checkpoint_freq": 10
126
+ }
127
+ }
128
+ }
linear_function_5qL.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a15f2ae12ca1ae8e62e23658ae4d3335f3677dffe444805f5453eb05e8bef5f4
3
+ size 591181
linear_function_5qT.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 5,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 2
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 2
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 2,
25
+ 0
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ]
63
+ ],
64
+ "depth_slope": 2,
65
+ "max_depth": 128,
66
+ "metrics_weights": {
67
+ "n_cnots": 0.01,
68
+ "n_layers_cnots": 0.01,
69
+ "n_layers": 0.01,
70
+ "n_gates": 0.01
71
+ }
72
+ },
73
+ "policy_cls": "twisterl.nn.BasicPolicy",
74
+ "policy": {
75
+ "embedding_size": 512,
76
+ "common_layers": [
77
+ 256
78
+ ],
79
+ "policy_layers": [],
80
+ "value_layers": []
81
+ },
82
+ "algorithm_cls": "twisterl.rl.PPO",
83
+ "algorithm": {
84
+ "collecting": {
85
+ "num_cores": 32,
86
+ "num_episodes": 1024,
87
+ "lambda": 0.995,
88
+ "gamma": 0.995
89
+ },
90
+ "training": {
91
+ "num_epochs": 10,
92
+ "vf_coef": 0.8,
93
+ "ent_coef": 0.01,
94
+ "clip_ratio": 0.1,
95
+ "normalize_advantage": false
96
+ },
97
+ "learning": {
98
+ "diff_threshold": 0.85,
99
+ "diff_max": 256,
100
+ "diff_metric": "ppo_deterministic"
101
+ },
102
+ "optimizer": {
103
+ "lr": 0.0003
104
+ },
105
+ "evals": {
106
+ "ppo_deterministic": {
107
+ "num_episodes": 100,
108
+ "deterministic": true,
109
+ "num_searches": 1,
110
+ "num_mcts_searches": 0,
111
+ "num_cores": 32,
112
+ "C": 1.41
113
+ },
114
+ "ppo_10": {
115
+ "num_episodes": 100,
116
+ "deterministic": false,
117
+ "num_searches": 10,
118
+ "num_mcts_searches": 0,
119
+ "num_cores": 32,
120
+ "C": 1.41
121
+ }
122
+ },
123
+ "logging": {
124
+ "log_freq": 1,
125
+ "checkpoint_freq": 10
126
+ }
127
+ }
128
+ }
linear_function_5qT.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f5304331fc9635b64ae8b90cbf9ae4c7f21da3d0c6a0c282a045d08808fbfcd
3
+ size 591181
linear_function_6qL.json ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 6,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 2
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 5
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 4
75
+ ]
76
+ ]
77
+ ],
78
+ "depth_slope": 2,
79
+ "max_depth": 256,
80
+ "metrics_weights": {
81
+ "n_cnots": 0.01,
82
+ "n_layers_cnots": 0.01,
83
+ "n_layers": 0.01,
84
+ "n_gates": 0.01
85
+ }
86
+ },
87
+ "policy_cls": "twisterl.nn.BasicPolicy",
88
+ "policy": {
89
+ "embedding_size": 512,
90
+ "common_layers": [
91
+ 256
92
+ ],
93
+ "policy_layers": [],
94
+ "value_layers": []
95
+ },
96
+ "algorithm_cls": "twisterl.rl.PPO",
97
+ "algorithm": {
98
+ "collecting": {
99
+ "num_cores": 32,
100
+ "num_episodes": 1024,
101
+ "lambda": 0.995,
102
+ "gamma": 0.995
103
+ },
104
+ "training": {
105
+ "num_epochs": 10,
106
+ "vf_coef": 0.8,
107
+ "ent_coef": 0.01,
108
+ "clip_ratio": 0.1,
109
+ "normalize_advantage": false
110
+ },
111
+ "learning": {
112
+ "diff_threshold": 0.85,
113
+ "diff_max": 512,
114
+ "diff_metric": "ppo_deterministic"
115
+ },
116
+ "optimizer": {
117
+ "lr": 0.0003
118
+ },
119
+ "evals": {
120
+ "ppo_deterministic": {
121
+ "num_episodes": 100,
122
+ "deterministic": true,
123
+ "num_searches": 1,
124
+ "num_mcts_searches": 0,
125
+ "num_cores": 32,
126
+ "C": 1.41
127
+ },
128
+ "ppo_10": {
129
+ "num_episodes": 100,
130
+ "deterministic": false,
131
+ "num_searches": 10,
132
+ "num_mcts_searches": 0,
133
+ "num_cores": 32,
134
+ "C": 1.41
135
+ }
136
+ },
137
+ "logging": {
138
+ "log_freq": 1,
139
+ "checkpoint_freq": 10
140
+ }
141
+ }
142
+ }
linear_function_6qL.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c11119a261c003e60298c3102880a9f7f5befd6ad99b3a1ffa0870ca603e3b9
3
+ size 615757
linear_function_6qT.json ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 6,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 2
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 2
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 2,
25
+ 0
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 5
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 4
75
+ ]
76
+ ]
77
+ ],
78
+ "depth_slope": 2,
79
+ "max_depth": 256,
80
+ "metrics_weights": {
81
+ "n_cnots": 0.01,
82
+ "n_layers_cnots": 0.01,
83
+ "n_layers": 0.01,
84
+ "n_gates": 0.01
85
+ }
86
+ },
87
+ "policy_cls": "twisterl.nn.BasicPolicy",
88
+ "policy": {
89
+ "embedding_size": 512,
90
+ "common_layers": [
91
+ 256
92
+ ],
93
+ "policy_layers": [],
94
+ "value_layers": []
95
+ },
96
+ "algorithm_cls": "twisterl.rl.PPO",
97
+ "algorithm": {
98
+ "collecting": {
99
+ "num_cores": 32,
100
+ "num_episodes": 1024,
101
+ "lambda": 0.995,
102
+ "gamma": 0.995
103
+ },
104
+ "training": {
105
+ "num_epochs": 10,
106
+ "vf_coef": 0.8,
107
+ "ent_coef": 0.01,
108
+ "clip_ratio": 0.1,
109
+ "normalize_advantage": false
110
+ },
111
+ "learning": {
112
+ "diff_threshold": 0.85,
113
+ "diff_max": 512,
114
+ "diff_metric": "ppo_deterministic"
115
+ },
116
+ "optimizer": {
117
+ "lr": 0.0003
118
+ },
119
+ "evals": {
120
+ "ppo_deterministic": {
121
+ "num_episodes": 100,
122
+ "deterministic": true,
123
+ "num_searches": 1,
124
+ "num_mcts_searches": 0,
125
+ "num_cores": 32,
126
+ "C": 1.41
127
+ },
128
+ "ppo_10": {
129
+ "num_episodes": 100,
130
+ "deterministic": false,
131
+ "num_searches": 10,
132
+ "num_mcts_searches": 0,
133
+ "num_cores": 32,
134
+ "C": 1.41
135
+ }
136
+ },
137
+ "logging": {
138
+ "log_freq": 1,
139
+ "checkpoint_freq": 10
140
+ }
141
+ }
142
+ }
linear_function_6qT.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40066c82b0f857db29b76f194b6978078b1c2bc47dc7182ea794f919fbe58c69
3
+ size 615757
linear_function_6qY.json ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 6,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 3
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 3
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 3,
39
+ 1
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 5
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 4
75
+ ]
76
+ ]
77
+ ],
78
+ "depth_slope": 2,
79
+ "max_depth": 256,
80
+ "metrics_weights": {
81
+ "n_cnots": 0.01,
82
+ "n_layers_cnots": 0.01,
83
+ "n_layers": 0.01,
84
+ "n_gates": 0.01
85
+ }
86
+ },
87
+ "policy_cls": "twisterl.nn.BasicPolicy",
88
+ "policy": {
89
+ "embedding_size": 512,
90
+ "common_layers": [
91
+ 256
92
+ ],
93
+ "policy_layers": [],
94
+ "value_layers": []
95
+ },
96
+ "algorithm_cls": "twisterl.rl.PPO",
97
+ "algorithm": {
98
+ "collecting": {
99
+ "num_cores": 32,
100
+ "num_episodes": 1024,
101
+ "lambda": 0.995,
102
+ "gamma": 0.995
103
+ },
104
+ "training": {
105
+ "num_epochs": 10,
106
+ "vf_coef": 0.8,
107
+ "ent_coef": 0.01,
108
+ "clip_ratio": 0.1,
109
+ "normalize_advantage": false
110
+ },
111
+ "learning": {
112
+ "diff_threshold": 0.85,
113
+ "diff_max": 512,
114
+ "diff_metric": "ppo_deterministic"
115
+ },
116
+ "optimizer": {
117
+ "lr": 0.0003
118
+ },
119
+ "evals": {
120
+ "ppo_deterministic": {
121
+ "num_episodes": 100,
122
+ "deterministic": true,
123
+ "num_searches": 1,
124
+ "num_mcts_searches": 0,
125
+ "num_cores": 32,
126
+ "C": 1.41
127
+ },
128
+ "ppo_10": {
129
+ "num_episodes": 100,
130
+ "deterministic": false,
131
+ "num_searches": 10,
132
+ "num_mcts_searches": 0,
133
+ "num_cores": 32,
134
+ "C": 1.41
135
+ }
136
+ },
137
+ "logging": {
138
+ "log_freq": 1,
139
+ "checkpoint_freq": 10
140
+ }
141
+ }
142
+ }
linear_function_6qY.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b4a10dc6c20f84bf9b82a2cdb7a224ec512d99d56d75d4b4880b82c0b12dcec
3
+ size 615757
linear_function_7qF.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 7,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 3
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 3
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 3,
39
+ 1
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 5
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 4
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 6
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 5
89
+ ]
90
+ ]
91
+ ],
92
+ "depth_slope": 2,
93
+ "max_depth": 256,
94
+ "metrics_weights": {
95
+ "n_cnots": 0.01,
96
+ "n_layers_cnots": 0.01,
97
+ "n_layers": 0.01,
98
+ "n_gates": 0.01
99
+ }
100
+ },
101
+ "policy_cls": "twisterl.nn.BasicPolicy",
102
+ "policy": {
103
+ "embedding_size": 512,
104
+ "common_layers": [
105
+ 256
106
+ ],
107
+ "policy_layers": [],
108
+ "value_layers": []
109
+ },
110
+ "algorithm_cls": "twisterl.rl.PPO",
111
+ "algorithm": {
112
+ "collecting": {
113
+ "num_cores": 32,
114
+ "num_episodes": 1024,
115
+ "lambda": 0.995,
116
+ "gamma": 0.995
117
+ },
118
+ "training": {
119
+ "num_epochs": 10,
120
+ "vf_coef": 0.8,
121
+ "ent_coef": 0.01,
122
+ "clip_ratio": 0.1,
123
+ "normalize_advantage": false
124
+ },
125
+ "learning": {
126
+ "diff_threshold": 0.85,
127
+ "diff_max": 512,
128
+ "diff_metric": "ppo_deterministic"
129
+ },
130
+ "optimizer": {
131
+ "lr": 0.0003
132
+ },
133
+ "evals": {
134
+ "ppo_deterministic": {
135
+ "num_episodes": 100,
136
+ "deterministic": true,
137
+ "num_searches": 1,
138
+ "num_mcts_searches": 0,
139
+ "num_cores": 32,
140
+ "C": 1.41
141
+ },
142
+ "ppo_10": {
143
+ "num_episodes": 100,
144
+ "deterministic": false,
145
+ "num_searches": 10,
146
+ "num_mcts_searches": 0,
147
+ "num_cores": 32,
148
+ "C": 1.41
149
+ }
150
+ },
151
+ "logging": {
152
+ "log_freq": 1,
153
+ "checkpoint_freq": 10
154
+ }
155
+ }
156
+ }
linear_function_7qF.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12f87af007dc3ee4c3e6dd2198dd2e1def57a638c790676557bfe262ba5d5019
3
+ size 644429
linear_function_7qH.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 7,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 2
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 2
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 2,
25
+ 0
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 5
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 4,
74
+ 6
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 4
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 4
89
+ ]
90
+ ]
91
+ ],
92
+ "depth_slope": 2,
93
+ "max_depth": 256,
94
+ "metrics_weights": {
95
+ "n_cnots": 0.01,
96
+ "n_layers_cnots": 0.01,
97
+ "n_layers": 0.01,
98
+ "n_gates": 0.01
99
+ }
100
+ },
101
+ "policy_cls": "twisterl.nn.BasicPolicy",
102
+ "policy": {
103
+ "embedding_size": 512,
104
+ "common_layers": [
105
+ 256
106
+ ],
107
+ "policy_layers": [],
108
+ "value_layers": []
109
+ },
110
+ "algorithm_cls": "twisterl.rl.PPO",
111
+ "algorithm": {
112
+ "collecting": {
113
+ "num_cores": 32,
114
+ "num_episodes": 1024,
115
+ "lambda": 0.995,
116
+ "gamma": 0.995
117
+ },
118
+ "training": {
119
+ "num_epochs": 10,
120
+ "vf_coef": 0.8,
121
+ "ent_coef": 0.01,
122
+ "clip_ratio": 0.1,
123
+ "normalize_advantage": false
124
+ },
125
+ "learning": {
126
+ "diff_threshold": 0.85,
127
+ "diff_max": 512,
128
+ "diff_metric": "ppo_deterministic"
129
+ },
130
+ "optimizer": {
131
+ "lr": 0.0003
132
+ },
133
+ "evals": {
134
+ "ppo_deterministic": {
135
+ "num_episodes": 100,
136
+ "deterministic": true,
137
+ "num_searches": 1,
138
+ "num_mcts_searches": 0,
139
+ "num_cores": 32,
140
+ "C": 1.41
141
+ },
142
+ "ppo_10": {
143
+ "num_episodes": 100,
144
+ "deterministic": false,
145
+ "num_searches": 10,
146
+ "num_mcts_searches": 0,
147
+ "num_cores": 32,
148
+ "C": 1.41
149
+ }
150
+ },
151
+ "logging": {
152
+ "log_freq": 1,
153
+ "checkpoint_freq": 10
154
+ }
155
+ }
156
+ }
linear_function_7qH.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b8112b7aa3e6c2c65cf292018b0d3c30d38685a34ca3ed7e3645491c22c1216
3
+ size 644429
linear_function_7qL.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 7,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 2
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 4
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 6
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 4,
53
+ 2
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 5
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 5,
67
+ 4
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 6
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 6,
81
+ 3
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 5
89
+ ]
90
+ ]
91
+ ],
92
+ "depth_slope": 2,
93
+ "max_depth": 256,
94
+ "metrics_weights": {
95
+ "n_cnots": 0.01,
96
+ "n_layers_cnots": 0.01,
97
+ "n_layers": 0.01,
98
+ "n_gates": 0.01
99
+ }
100
+ },
101
+ "policy_cls": "twisterl.nn.BasicPolicy",
102
+ "policy": {
103
+ "embedding_size": 512,
104
+ "common_layers": [
105
+ 256
106
+ ],
107
+ "policy_layers": [],
108
+ "value_layers": []
109
+ },
110
+ "algorithm_cls": "twisterl.rl.PPO",
111
+ "algorithm": {
112
+ "collecting": {
113
+ "num_cores": 32,
114
+ "num_episodes": 1024,
115
+ "lambda": 0.995,
116
+ "gamma": 0.995
117
+ },
118
+ "training": {
119
+ "num_epochs": 10,
120
+ "vf_coef": 0.8,
121
+ "ent_coef": 0.01,
122
+ "clip_ratio": 0.1,
123
+ "normalize_advantage": false
124
+ },
125
+ "learning": {
126
+ "diff_threshold": 0.85,
127
+ "diff_max": 512,
128
+ "diff_metric": "ppo_deterministic"
129
+ },
130
+ "optimizer": {
131
+ "lr": 0.0003
132
+ },
133
+ "evals": {
134
+ "ppo_deterministic": {
135
+ "num_episodes": 100,
136
+ "deterministic": true,
137
+ "num_searches": 1,
138
+ "num_mcts_searches": 0,
139
+ "num_cores": 32,
140
+ "C": 1.41
141
+ },
142
+ "ppo_10": {
143
+ "num_episodes": 100,
144
+ "deterministic": false,
145
+ "num_searches": 10,
146
+ "num_mcts_searches": 0,
147
+ "num_cores": 32,
148
+ "C": 1.41
149
+ }
150
+ },
151
+ "logging": {
152
+ "log_freq": 1,
153
+ "checkpoint_freq": 10
154
+ }
155
+ }
156
+ }
linear_function_7qL.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3d1406d80a7b7e90905b096a58eac4ab1189de0d1fc2ab332aab2aed118bd80
3
+ size 644429
linear_function_7qT.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 7,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 2
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 2
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 2,
25
+ 0
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 5
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 4
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 6
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 5
89
+ ]
90
+ ]
91
+ ],
92
+ "depth_slope": 2,
93
+ "max_depth": 256,
94
+ "metrics_weights": {
95
+ "n_cnots": 0.01,
96
+ "n_layers_cnots": 0.01,
97
+ "n_layers": 0.01,
98
+ "n_gates": 0.01
99
+ }
100
+ },
101
+ "policy_cls": "twisterl.nn.BasicPolicy",
102
+ "policy": {
103
+ "embedding_size": 512,
104
+ "common_layers": [
105
+ 256
106
+ ],
107
+ "policy_layers": [],
108
+ "value_layers": []
109
+ },
110
+ "algorithm_cls": "twisterl.rl.PPO",
111
+ "algorithm": {
112
+ "collecting": {
113
+ "num_cores": 32,
114
+ "num_episodes": 1024,
115
+ "lambda": 0.995,
116
+ "gamma": 0.995
117
+ },
118
+ "training": {
119
+ "num_epochs": 10,
120
+ "vf_coef": 0.8,
121
+ "ent_coef": 0.01,
122
+ "clip_ratio": 0.1,
123
+ "normalize_advantage": false
124
+ },
125
+ "learning": {
126
+ "diff_threshold": 0.85,
127
+ "diff_max": 512,
128
+ "diff_metric": "ppo_deterministic"
129
+ },
130
+ "optimizer": {
131
+ "lr": 0.0003
132
+ },
133
+ "evals": {
134
+ "ppo_deterministic": {
135
+ "num_episodes": 100,
136
+ "deterministic": true,
137
+ "num_searches": 1,
138
+ "num_mcts_searches": 0,
139
+ "num_cores": 32,
140
+ "C": 1.41
141
+ },
142
+ "ppo_10": {
143
+ "num_episodes": 100,
144
+ "deterministic": false,
145
+ "num_searches": 10,
146
+ "num_mcts_searches": 0,
147
+ "num_cores": 32,
148
+ "C": 1.41
149
+ }
150
+ },
151
+ "logging": {
152
+ "log_freq": 1,
153
+ "checkpoint_freq": 10
154
+ }
155
+ }
156
+ }
linear_function_7qT.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd0233b1c6be8f029c13339cb1ae06fad9010f19297d9ca7e8784ffc236fde15
3
+ size 644429
linear_function_7qY.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 7,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 2
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 2,
46
+ 5
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 2
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 3,
60
+ 4
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 3
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 2
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 6
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 5
89
+ ]
90
+ ]
91
+ ],
92
+ "depth_slope": 2,
93
+ "max_depth": 256,
94
+ "metrics_weights": {
95
+ "n_cnots": 0.01,
96
+ "n_layers_cnots": 0.01,
97
+ "n_layers": 0.01,
98
+ "n_gates": 0.01
99
+ }
100
+ },
101
+ "policy_cls": "twisterl.nn.BasicPolicy",
102
+ "policy": {
103
+ "embedding_size": 512,
104
+ "common_layers": [
105
+ 256
106
+ ],
107
+ "policy_layers": [],
108
+ "value_layers": []
109
+ },
110
+ "algorithm_cls": "twisterl.rl.PPO",
111
+ "algorithm": {
112
+ "collecting": {
113
+ "num_cores": 32,
114
+ "num_episodes": 1024,
115
+ "lambda": 0.995,
116
+ "gamma": 0.995
117
+ },
118
+ "training": {
119
+ "num_epochs": 10,
120
+ "vf_coef": 0.8,
121
+ "ent_coef": 0.01,
122
+ "clip_ratio": 0.1,
123
+ "normalize_advantage": false
124
+ },
125
+ "learning": {
126
+ "diff_threshold": 0.85,
127
+ "diff_max": 512,
128
+ "diff_metric": "ppo_deterministic"
129
+ },
130
+ "optimizer": {
131
+ "lr": 0.0003
132
+ },
133
+ "evals": {
134
+ "ppo_deterministic": {
135
+ "num_episodes": 100,
136
+ "deterministic": true,
137
+ "num_searches": 1,
138
+ "num_mcts_searches": 0,
139
+ "num_cores": 32,
140
+ "C": 1.41
141
+ },
142
+ "ppo_10": {
143
+ "num_episodes": 100,
144
+ "deterministic": false,
145
+ "num_searches": 10,
146
+ "num_mcts_searches": 0,
147
+ "num_cores": 32,
148
+ "C": 1.41
149
+ }
150
+ },
151
+ "logging": {
152
+ "log_freq": 1,
153
+ "checkpoint_freq": 10
154
+ }
155
+ }
156
+ }
linear_function_7qY.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a144bdcad6ad121c506ca7adc0c729abed08d0327b9b02bac1c0873cd1d077e3
3
+ size 644429
linear_function_8qF.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 8,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 3
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 3
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 3,
39
+ 1
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 5
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 4
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 6
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 5
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 6,
95
+ 7
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 6
103
+ ]
104
+ ]
105
+ ],
106
+ "depth_slope": 2,
107
+ "max_depth": 512,
108
+ "metrics_weights": {
109
+ "n_cnots": 0.01,
110
+ "n_layers_cnots": 0.01,
111
+ "n_layers": 0.01,
112
+ "n_gates": 0.01
113
+ }
114
+ },
115
+ "policy_cls": "twisterl.nn.BasicPolicy",
116
+ "policy": {
117
+ "embedding_size": 512,
118
+ "common_layers": [
119
+ 256
120
+ ],
121
+ "policy_layers": [],
122
+ "value_layers": []
123
+ },
124
+ "algorithm_cls": "twisterl.rl.PPO",
125
+ "algorithm": {
126
+ "collecting": {
127
+ "num_cores": 32,
128
+ "num_episodes": 1024,
129
+ "lambda": 0.995,
130
+ "gamma": 0.995
131
+ },
132
+ "training": {
133
+ "num_epochs": 10,
134
+ "vf_coef": 0.8,
135
+ "ent_coef": 0.01,
136
+ "clip_ratio": 0.1,
137
+ "normalize_advantage": false
138
+ },
139
+ "learning": {
140
+ "diff_threshold": 0.85,
141
+ "diff_max": 1024,
142
+ "diff_metric": "ppo_deterministic"
143
+ },
144
+ "optimizer": {
145
+ "lr": 0.0003
146
+ },
147
+ "evals": {
148
+ "ppo_deterministic": {
149
+ "num_episodes": 100,
150
+ "deterministic": true,
151
+ "num_searches": 1,
152
+ "num_mcts_searches": 0,
153
+ "num_cores": 32,
154
+ "C": 1.41
155
+ },
156
+ "ppo_10": {
157
+ "num_episodes": 100,
158
+ "deterministic": false,
159
+ "num_searches": 10,
160
+ "num_mcts_searches": 0,
161
+ "num_cores": 32,
162
+ "C": 1.41
163
+ }
164
+ },
165
+ "logging": {
166
+ "log_freq": 1,
167
+ "checkpoint_freq": 10
168
+ }
169
+ }
170
+ }
linear_function_8qF.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf4f9305e9ea527dddfc237596ba641e3abf6fb1ecaed7137a13b1e9ff10082c
3
+ size 677197
linear_function_8qJ.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 8,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 2
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 2
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 2,
25
+ 0
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 5
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 4,
74
+ 6
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 4
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 4
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 6,
95
+ 7
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 6
103
+ ]
104
+ ]
105
+ ],
106
+ "depth_slope": 2,
107
+ "max_depth": 512,
108
+ "metrics_weights": {
109
+ "n_cnots": 0.01,
110
+ "n_layers_cnots": 0.01,
111
+ "n_layers": 0.01,
112
+ "n_gates": 0.01
113
+ }
114
+ },
115
+ "policy_cls": "twisterl.nn.BasicPolicy",
116
+ "policy": {
117
+ "embedding_size": 512,
118
+ "common_layers": [
119
+ 256
120
+ ],
121
+ "policy_layers": [],
122
+ "value_layers": []
123
+ },
124
+ "algorithm_cls": "twisterl.rl.PPO",
125
+ "algorithm": {
126
+ "collecting": {
127
+ "num_cores": 32,
128
+ "num_episodes": 1024,
129
+ "lambda": 0.995,
130
+ "gamma": 0.995
131
+ },
132
+ "training": {
133
+ "num_epochs": 10,
134
+ "vf_coef": 0.8,
135
+ "ent_coef": 0.01,
136
+ "clip_ratio": 0.1,
137
+ "normalize_advantage": false
138
+ },
139
+ "learning": {
140
+ "diff_threshold": 0.85,
141
+ "diff_max": 1024,
142
+ "diff_metric": "ppo_deterministic"
143
+ },
144
+ "optimizer": {
145
+ "lr": 0.0003
146
+ },
147
+ "evals": {
148
+ "ppo_deterministic": {
149
+ "num_episodes": 100,
150
+ "deterministic": true,
151
+ "num_searches": 1,
152
+ "num_mcts_searches": 0,
153
+ "num_cores": 32,
154
+ "C": 1.41
155
+ },
156
+ "ppo_10": {
157
+ "num_episodes": 100,
158
+ "deterministic": false,
159
+ "num_searches": 10,
160
+ "num_mcts_searches": 0,
161
+ "num_cores": 32,
162
+ "C": 1.41
163
+ }
164
+ },
165
+ "logging": {
166
+ "log_freq": 1,
167
+ "checkpoint_freq": 10
168
+ }
169
+ }
170
+ }
linear_function_8qJ.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5287fbaad86868dadad48a41de3455a9df789b94a8c28d1e82e88f02abc797fe
3
+ size 677197
linear_function_8qL.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 8,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 3
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 4
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 3,
39
+ 1
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 5
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 4,
53
+ 2
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 7
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 5,
67
+ 3
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 6
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 6,
81
+ 5
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 7
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 7,
95
+ 4
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 6
103
+ ]
104
+ ]
105
+ ],
106
+ "depth_slope": 2,
107
+ "max_depth": 256,
108
+ "metrics_weights": {
109
+ "n_cnots": 0.01,
110
+ "n_layers_cnots": 0.01,
111
+ "n_layers": 0.01,
112
+ "n_gates": 0.01
113
+ }
114
+ },
115
+ "policy_cls": "twisterl.nn.BasicPolicy",
116
+ "policy": {
117
+ "embedding_size": 512,
118
+ "common_layers": [
119
+ 256
120
+ ],
121
+ "policy_layers": [],
122
+ "value_layers": []
123
+ },
124
+ "algorithm_cls": "twisterl.rl.PPO",
125
+ "algorithm": {
126
+ "collecting": {
127
+ "num_cores": 32,
128
+ "num_episodes": 1024,
129
+ "lambda": 0.995,
130
+ "gamma": 0.995
131
+ },
132
+ "training": {
133
+ "num_epochs": 10,
134
+ "vf_coef": 0.8,
135
+ "ent_coef": 0.01,
136
+ "clip_ratio": 0.1,
137
+ "normalize_advantage": false
138
+ },
139
+ "learning": {
140
+ "diff_threshold": 0.85,
141
+ "diff_max": 512,
142
+ "diff_metric": "ppo_deterministic"
143
+ },
144
+ "optimizer": {
145
+ "lr": 0.0003
146
+ },
147
+ "evals": {
148
+ "ppo_deterministic": {
149
+ "num_episodes": 100,
150
+ "deterministic": true,
151
+ "num_searches": 1,
152
+ "num_mcts_searches": 0,
153
+ "num_cores": 32,
154
+ "C": 1.41
155
+ },
156
+ "ppo_10": {
157
+ "num_episodes": 100,
158
+ "deterministic": false,
159
+ "num_searches": 10,
160
+ "num_mcts_searches": 0,
161
+ "num_cores": 32,
162
+ "C": 1.41
163
+ }
164
+ },
165
+ "logging": {
166
+ "log_freq": 1,
167
+ "checkpoint_freq": 10
168
+ }
169
+ }
170
+ }
linear_function_8qL.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8d1e8219a25343644c1afa029fb708edfa2ca3ba4a4ed96afb22a2548c0061a
3
+ size 677197
linear_function_8qT1.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 8,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 2
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 2
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 2,
25
+ 0
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 5
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 7
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 5,
67
+ 3
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 6
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 6,
81
+ 5
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 7
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 7,
95
+ 4
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 6
103
+ ]
104
+ ]
105
+ ],
106
+ "depth_slope": 2,
107
+ "max_depth": 512,
108
+ "metrics_weights": {
109
+ "n_cnots": 0.01,
110
+ "n_layers_cnots": 0.01,
111
+ "n_layers": 0.01,
112
+ "n_gates": 0.01
113
+ }
114
+ },
115
+ "policy_cls": "twisterl.nn.BasicPolicy",
116
+ "policy": {
117
+ "embedding_size": 512,
118
+ "common_layers": [
119
+ 256
120
+ ],
121
+ "policy_layers": [],
122
+ "value_layers": []
123
+ },
124
+ "algorithm_cls": "twisterl.rl.PPO",
125
+ "algorithm": {
126
+ "collecting": {
127
+ "num_cores": 32,
128
+ "num_episodes": 1024,
129
+ "lambda": 0.995,
130
+ "gamma": 0.995
131
+ },
132
+ "training": {
133
+ "num_epochs": 10,
134
+ "vf_coef": 0.8,
135
+ "ent_coef": 0.01,
136
+ "clip_ratio": 0.1,
137
+ "normalize_advantage": false
138
+ },
139
+ "learning": {
140
+ "diff_threshold": 0.85,
141
+ "diff_max": 1024,
142
+ "diff_metric": "ppo_deterministic"
143
+ },
144
+ "optimizer": {
145
+ "lr": 0.0003
146
+ },
147
+ "evals": {
148
+ "ppo_deterministic": {
149
+ "num_episodes": 100,
150
+ "deterministic": true,
151
+ "num_searches": 1,
152
+ "num_mcts_searches": 0,
153
+ "num_cores": 32,
154
+ "C": 1.41
155
+ },
156
+ "ppo_10": {
157
+ "num_episodes": 100,
158
+ "deterministic": false,
159
+ "num_searches": 10,
160
+ "num_mcts_searches": 0,
161
+ "num_cores": 32,
162
+ "C": 1.41
163
+ }
164
+ },
165
+ "logging": {
166
+ "log_freq": 1,
167
+ "checkpoint_freq": 10
168
+ }
169
+ }
170
+ }
linear_function_8qT1.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d28c610a64761f8adaebffafa7abb099edb3fd65e210f2e5aaf6cf0ff35d2e11
3
+ size 677197
linear_function_8qT2.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 8,
5
+ "difficulty": 1024,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 2
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 3,
60
+ 6
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 3
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 4,
74
+ 5
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 4
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 3
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 6,
95
+ 7
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 6
103
+ ]
104
+ ]
105
+ ],
106
+ "depth_slope": 2,
107
+ "max_depth": 512,
108
+ "metrics_weights": {
109
+ "n_cnots": 0.05,
110
+ "n_layers_cnots": 0.05,
111
+ "n_layers": 0.05,
112
+ "n_gates": 0.05
113
+ }
114
+ },
115
+ "policy_cls": "twisterl.nn.BasicPolicy",
116
+ "policy": {
117
+ "embedding_size": 512,
118
+ "common_layers": [
119
+ 256
120
+ ],
121
+ "policy_layers": [],
122
+ "value_layers": []
123
+ },
124
+ "algorithm_cls": "twisterl.rl.PPO",
125
+ "algorithm": {
126
+ "collecting": {
127
+ "num_cores": 32,
128
+ "num_episodes": 1024,
129
+ "lambda": 0.995,
130
+ "gamma": 0.995
131
+ },
132
+ "training": {
133
+ "num_epochs": 10,
134
+ "vf_coef": 0.8,
135
+ "ent_coef": 0.01,
136
+ "clip_ratio": 0.1,
137
+ "normalize_advantage": false
138
+ },
139
+ "learning": {
140
+ "diff_threshold": 0.85,
141
+ "diff_max": 1024,
142
+ "diff_metric": "ppo_deterministic"
143
+ },
144
+ "optimizer": {
145
+ "lr": 0.0003
146
+ },
147
+ "evals": {
148
+ "ppo_deterministic": {
149
+ "num_episodes": 100,
150
+ "deterministic": true,
151
+ "num_searches": 1,
152
+ "num_mcts_searches": 0,
153
+ "num_cores": 32,
154
+ "C": 1.41
155
+ },
156
+ "ppo_10": {
157
+ "num_episodes": 100,
158
+ "deterministic": false,
159
+ "num_searches": 10,
160
+ "num_mcts_searches": 0,
161
+ "num_cores": 32,
162
+ "C": 1.41
163
+ }
164
+ },
165
+ "logging": {
166
+ "log_freq": 1,
167
+ "checkpoint_freq": 10
168
+ }
169
+ }
170
+ }
linear_function_8qT2.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:861ff5fd4a628dc1ec6f53ead274cfc15462f44ffe73317c98bc2049fc46c16f
3
+ size 677197
linear_function_8qY.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 8,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 2
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 4
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 6
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 4,
53
+ 2
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 5
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 7
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 4
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 6
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 3
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 6,
95
+ 5
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 4
103
+ ]
104
+ ]
105
+ ],
106
+ "depth_slope": 2,
107
+ "max_depth": 512,
108
+ "metrics_weights": {
109
+ "n_cnots": 0.01,
110
+ "n_layers_cnots": 0.01,
111
+ "n_layers": 0.01,
112
+ "n_gates": 0.01
113
+ }
114
+ },
115
+ "policy_cls": "twisterl.nn.BasicPolicy",
116
+ "policy": {
117
+ "embedding_size": 512,
118
+ "common_layers": [
119
+ 256
120
+ ],
121
+ "policy_layers": [],
122
+ "value_layers": []
123
+ },
124
+ "algorithm_cls": "twisterl.rl.PPO",
125
+ "algorithm": {
126
+ "collecting": {
127
+ "num_cores": 32,
128
+ "num_episodes": 1024,
129
+ "lambda": 0.995,
130
+ "gamma": 0.995
131
+ },
132
+ "training": {
133
+ "num_epochs": 10,
134
+ "vf_coef": 0.8,
135
+ "ent_coef": 0.01,
136
+ "clip_ratio": 0.1,
137
+ "normalize_advantage": false
138
+ },
139
+ "learning": {
140
+ "diff_threshold": 0.85,
141
+ "diff_max": 1024,
142
+ "diff_metric": "ppo_deterministic"
143
+ },
144
+ "optimizer": {
145
+ "lr": 0.0003
146
+ },
147
+ "evals": {
148
+ "ppo_deterministic": {
149
+ "num_episodes": 100,
150
+ "deterministic": true,
151
+ "num_searches": 1,
152
+ "num_mcts_searches": 0,
153
+ "num_cores": 32,
154
+ "C": 1.41
155
+ },
156
+ "ppo_10": {
157
+ "num_episodes": 100,
158
+ "deterministic": false,
159
+ "num_searches": 10,
160
+ "num_mcts_searches": 0,
161
+ "num_cores": 32,
162
+ "C": 1.41
163
+ }
164
+ },
165
+ "logging": {
166
+ "log_freq": 1,
167
+ "checkpoint_freq": 10
168
+ }
169
+ }
170
+ }
linear_function_8qY.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cff98724db8c6ea9b183eeae831074561343d75e8c67b0ba73e93918ce0013b8
3
+ size 677197
linear_function_9qF1.json ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 9,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 3
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 4
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 3,
39
+ 1
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 5
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 4,
53
+ 2
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 7
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 5,
67
+ 3
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 6
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 6,
81
+ 5
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 7
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 7,
95
+ 4
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 6
103
+ ]
104
+ ],
105
+ [
106
+ "CX",
107
+ [
108
+ 7,
109
+ 8
110
+ ]
111
+ ],
112
+ [
113
+ "CX",
114
+ [
115
+ 8,
116
+ 7
117
+ ]
118
+ ]
119
+ ],
120
+ "depth_slope": 2,
121
+ "max_depth": 512,
122
+ "metrics_weights": {
123
+ "n_cnots": 0.01,
124
+ "n_layers_cnots": 0.01,
125
+ "n_layers": 0.01,
126
+ "n_gates": 0.01
127
+ }
128
+ },
129
+ "policy_cls": "twisterl.nn.BasicPolicy",
130
+ "policy": {
131
+ "embedding_size": 512,
132
+ "common_layers": [
133
+ 256
134
+ ],
135
+ "policy_layers": [],
136
+ "value_layers": []
137
+ },
138
+ "algorithm_cls": "twisterl.rl.PPO",
139
+ "algorithm": {
140
+ "collecting": {
141
+ "num_cores": 32,
142
+ "num_episodes": 1024,
143
+ "lambda": 0.995,
144
+ "gamma": 0.995
145
+ },
146
+ "training": {
147
+ "num_epochs": 10,
148
+ "vf_coef": 0.8,
149
+ "ent_coef": 0.01,
150
+ "clip_ratio": 0.1,
151
+ "normalize_advantage": false
152
+ },
153
+ "learning": {
154
+ "diff_threshold": 0.85,
155
+ "diff_max": 1024,
156
+ "diff_metric": "ppo_deterministic"
157
+ },
158
+ "optimizer": {
159
+ "lr": 0.0003
160
+ },
161
+ "evals": {
162
+ "ppo_deterministic": {
163
+ "num_episodes": 100,
164
+ "deterministic": true,
165
+ "num_searches": 1,
166
+ "num_mcts_searches": 0,
167
+ "num_cores": 32,
168
+ "C": 1.41
169
+ },
170
+ "ppo_10": {
171
+ "num_episodes": 100,
172
+ "deterministic": false,
173
+ "num_searches": 10,
174
+ "num_mcts_searches": 0,
175
+ "num_cores": 32,
176
+ "C": 1.41
177
+ }
178
+ },
179
+ "logging": {
180
+ "log_freq": 1,
181
+ "checkpoint_freq": 10
182
+ }
183
+ }
184
+ }
linear_function_9qF1.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c834b30b6178c15000fe71a86f109a0fd97cbaa221f69e047e34182f0618f6cb
3
+ size 714061
linear_function_9qF2.json ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 9,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 3
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 4
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 3,
39
+ 1
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 5
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 4,
53
+ 2
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 7
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 5,
67
+ 3
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 6
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 8
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 5
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 6,
95
+ 7
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 4
103
+ ]
104
+ ],
105
+ [
106
+ "CX",
107
+ [
108
+ 7,
109
+ 6
110
+ ]
111
+ ],
112
+ [
113
+ "CX",
114
+ [
115
+ 8,
116
+ 5
117
+ ]
118
+ ]
119
+ ],
120
+ "depth_slope": 2,
121
+ "max_depth": 512,
122
+ "metrics_weights": {
123
+ "n_cnots": 0.01,
124
+ "n_layers_cnots": 0.01,
125
+ "n_layers": 0.01,
126
+ "n_gates": 0.01
127
+ }
128
+ },
129
+ "policy_cls": "twisterl.nn.BasicPolicy",
130
+ "policy": {
131
+ "embedding_size": 512,
132
+ "common_layers": [
133
+ 256
134
+ ],
135
+ "policy_layers": [],
136
+ "value_layers": []
137
+ },
138
+ "algorithm_cls": "twisterl.rl.PPO",
139
+ "algorithm": {
140
+ "collecting": {
141
+ "num_cores": 32,
142
+ "num_episodes": 1024,
143
+ "lambda": 0.995,
144
+ "gamma": 0.995
145
+ },
146
+ "training": {
147
+ "num_epochs": 10,
148
+ "vf_coef": 0.8,
149
+ "ent_coef": 0.01,
150
+ "clip_ratio": 0.1,
151
+ "normalize_advantage": false
152
+ },
153
+ "learning": {
154
+ "diff_threshold": 0.85,
155
+ "diff_max": 1024,
156
+ "diff_metric": "ppo_deterministic"
157
+ },
158
+ "optimizer": {
159
+ "lr": 0.0003
160
+ },
161
+ "evals": {
162
+ "ppo_deterministic": {
163
+ "num_episodes": 100,
164
+ "deterministic": true,
165
+ "num_searches": 1,
166
+ "num_mcts_searches": 0,
167
+ "num_cores": 32,
168
+ "C": 1.41
169
+ },
170
+ "ppo_10": {
171
+ "num_episodes": 100,
172
+ "deterministic": false,
173
+ "num_searches": 10,
174
+ "num_mcts_searches": 0,
175
+ "num_cores": 32,
176
+ "C": 1.41
177
+ }
178
+ },
179
+ "logging": {
180
+ "log_freq": 1,
181
+ "checkpoint_freq": 10
182
+ }
183
+ }
184
+ }
linear_function_9qF2.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c3621cbc84fa021ab0cde2b619089fb324077539a8530597023790b2786e83e
3
+ size 714061
linear_function_9qH1.json ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 9,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 2
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 2
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 2,
25
+ 0
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 1
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 2,
39
+ 3
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 5
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 7
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 5,
67
+ 3
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 6
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 6,
81
+ 5
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 6,
88
+ 7
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 7,
95
+ 4
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 6
103
+ ]
104
+ ],
105
+ [
106
+ "CX",
107
+ [
108
+ 7,
109
+ 8
110
+ ]
111
+ ],
112
+ [
113
+ "CX",
114
+ [
115
+ 8,
116
+ 7
117
+ ]
118
+ ]
119
+ ],
120
+ "depth_slope": 2,
121
+ "max_depth": 512,
122
+ "metrics_weights": {
123
+ "n_cnots": 0.01,
124
+ "n_layers_cnots": 0.01,
125
+ "n_layers": 0.01,
126
+ "n_gates": 0.01
127
+ }
128
+ },
129
+ "policy_cls": "twisterl.nn.BasicPolicy",
130
+ "policy": {
131
+ "embedding_size": 512,
132
+ "common_layers": [
133
+ 256
134
+ ],
135
+ "policy_layers": [],
136
+ "value_layers": []
137
+ },
138
+ "algorithm_cls": "twisterl.rl.PPO",
139
+ "algorithm": {
140
+ "collecting": {
141
+ "num_cores": 32,
142
+ "num_episodes": 1024,
143
+ "lambda": 0.995,
144
+ "gamma": 0.995
145
+ },
146
+ "training": {
147
+ "num_epochs": 10,
148
+ "vf_coef": 0.8,
149
+ "ent_coef": 0.01,
150
+ "clip_ratio": 0.1,
151
+ "normalize_advantage": false
152
+ },
153
+ "learning": {
154
+ "diff_threshold": 0.85,
155
+ "diff_max": 1024,
156
+ "diff_metric": "ppo_deterministic"
157
+ },
158
+ "optimizer": {
159
+ "lr": 0.0003
160
+ },
161
+ "evals": {
162
+ "ppo_deterministic": {
163
+ "num_episodes": 100,
164
+ "deterministic": true,
165
+ "num_searches": 1,
166
+ "num_mcts_searches": 0,
167
+ "num_cores": 32,
168
+ "C": 1.41
169
+ },
170
+ "ppo_10": {
171
+ "num_episodes": 100,
172
+ "deterministic": false,
173
+ "num_searches": 10,
174
+ "num_mcts_searches": 0,
175
+ "num_cores": 32,
176
+ "C": 1.41
177
+ }
178
+ },
179
+ "logging": {
180
+ "log_freq": 1,
181
+ "checkpoint_freq": 10
182
+ }
183
+ }
184
+ }
linear_function_9qH1.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df1b40bd9b91d498cd783146822ed94efa6a23566dc87ffe3acbd99127838ab1
3
+ size 714061
linear_function_9qH2.json ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",
3
+ "env": {
4
+ "num_qubits": 9,
5
+ "difficulty": 1,
6
+ "gateset": [
7
+ [
8
+ "CX",
9
+ [
10
+ 0,
11
+ 1
12
+ ]
13
+ ],
14
+ [
15
+ "CX",
16
+ [
17
+ 1,
18
+ 0
19
+ ]
20
+ ],
21
+ [
22
+ "CX",
23
+ [
24
+ 1,
25
+ 3
26
+ ]
27
+ ],
28
+ [
29
+ "CX",
30
+ [
31
+ 2,
32
+ 3
33
+ ]
34
+ ],
35
+ [
36
+ "CX",
37
+ [
38
+ 3,
39
+ 1
40
+ ]
41
+ ],
42
+ [
43
+ "CX",
44
+ [
45
+ 3,
46
+ 2
47
+ ]
48
+ ],
49
+ [
50
+ "CX",
51
+ [
52
+ 3,
53
+ 4
54
+ ]
55
+ ],
56
+ [
57
+ "CX",
58
+ [
59
+ 4,
60
+ 3
61
+ ]
62
+ ],
63
+ [
64
+ "CX",
65
+ [
66
+ 4,
67
+ 5
68
+ ]
69
+ ],
70
+ [
71
+ "CX",
72
+ [
73
+ 5,
74
+ 4
75
+ ]
76
+ ],
77
+ [
78
+ "CX",
79
+ [
80
+ 5,
81
+ 6
82
+ ]
83
+ ],
84
+ [
85
+ "CX",
86
+ [
87
+ 5,
88
+ 7
89
+ ]
90
+ ],
91
+ [
92
+ "CX",
93
+ [
94
+ 6,
95
+ 5
96
+ ]
97
+ ],
98
+ [
99
+ "CX",
100
+ [
101
+ 7,
102
+ 5
103
+ ]
104
+ ],
105
+ [
106
+ "CX",
107
+ [
108
+ 7,
109
+ 8
110
+ ]
111
+ ],
112
+ [
113
+ "CX",
114
+ [
115
+ 8,
116
+ 7
117
+ ]
118
+ ]
119
+ ],
120
+ "depth_slope": 2,
121
+ "max_depth": 512,
122
+ "metrics_weights": {
123
+ "n_cnots": 0.01,
124
+ "n_layers_cnots": 0.01,
125
+ "n_layers": 0.01,
126
+ "n_gates": 0.01
127
+ }
128
+ },
129
+ "policy_cls": "twisterl.nn.BasicPolicy",
130
+ "policy": {
131
+ "embedding_size": 512,
132
+ "common_layers": [
133
+ 256
134
+ ],
135
+ "policy_layers": [],
136
+ "value_layers": []
137
+ },
138
+ "algorithm_cls": "twisterl.rl.PPO",
139
+ "algorithm": {
140
+ "collecting": {
141
+ "num_cores": 32,
142
+ "num_episodes": 1024,
143
+ "lambda": 0.995,
144
+ "gamma": 0.995
145
+ },
146
+ "training": {
147
+ "num_epochs": 10,
148
+ "vf_coef": 0.8,
149
+ "ent_coef": 0.01,
150
+ "clip_ratio": 0.1,
151
+ "normalize_advantage": false
152
+ },
153
+ "learning": {
154
+ "diff_threshold": 0.85,
155
+ "diff_max": 1024,
156
+ "diff_metric": "ppo_deterministic"
157
+ },
158
+ "optimizer": {
159
+ "lr": 0.0003
160
+ },
161
+ "evals": {
162
+ "ppo_deterministic": {
163
+ "num_episodes": 100,
164
+ "deterministic": true,
165
+ "num_searches": 1,
166
+ "num_mcts_searches": 0,
167
+ "num_cores": 32,
168
+ "C": 1.41
169
+ },
170
+ "ppo_10": {
171
+ "num_episodes": 100,
172
+ "deterministic": false,
173
+ "num_searches": 10,
174
+ "num_mcts_searches": 0,
175
+ "num_cores": 32,
176
+ "C": 1.41
177
+ }
178
+ },
179
+ "logging": {
180
+ "log_freq": 1,
181
+ "checkpoint_freq": 10
182
+ }
183
+ }
184
+ }
linear_function_9qH2.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc8ab12236ca845138c10739be7dd5fe4165594a65c3d67ba9c9cbd000e9247c
3
+ size 714061