DuruTo/ai-transpiler_linear-functions
143
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 512 ]13 ],14 [15 "CX",16 [17 5,18 019 ]20 ],21 [22 "CX",23 [24 0,25 126 ]27 ],28 [29 "CX",30 [31 1,32 033 ]34 ],35 [36 "CX",37 [38 1,39 640 ]41 ],42 [43 "CX",44 [45 6,46 147 ]48 ],49 [50 "CX",51 [52 1,53 254 ]55 ],56 [57 "CX",58 [59 2,60 161 ]62 ],63 [64 "CX",65 [66 2,67 768 ]69 ],70 [71 "CX",72 [73 7,74 275 ]76 ],77 [78 "CX",79 [80 2,81 382 ]83 ],84 [85 "CX",86 [87 3,88 289 ]90 ],91 [92 "CX",93 [94 3,95 496 ]97 ],98 [99 "CX",100 [101 4,102 3103 ]104 ],105 [106 "CX",107 [108 5,109 6110 ]111 ],112 [113 "CX",114 [115 6,116 5117 ]118 ],119 [120 "CX",121 [122 6,123 7124 ]125 ],126 [127 "CX",128 [129 7,130 6131 ]132 ]133 ],134 "depth_slope": 2,135 "max_depth": 512,136 "metrics_weights": {137 "n_cnots": 0.01,138 "n_layers_cnots": 0.01,139 "n_layers": 0.01,140 "n_gates": 0.01141 }142 },143 "policy_cls": "twisterl.nn.BasicPolicy",144 "policy": {145 "embedding_size": 512,146 "common_layers": [147 256148 ],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.995159 },160 "training": {161 "num_epochs": 10,162 "vf_coef": 0.8,163 "ent_coef": 0.01,164 "clip_ratio": 0.1,165 "normalize_advantage": false166 },167 "learning": {168 "diff_threshold": 0.85,169 "diff_max": 1024,170 "diff_metric": "ppo_deterministic"171 },172 "optimizer": {173 "lr": 0.0003174 },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.41183 },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.41191 }192 },193 "logging": {194 "log_freq": 1,195 "checkpoint_freq": 10196 }197 }198}