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 212 ]13 ],14 [15 "CX",16 [17 1,18 219 ]20 ],21 [22 "CX",23 [24 2,25 026 ]27 ],28 [29 "CX",30 [31 2,32 133 ]34 ],35 [36 "CX",37 [38 2,39 340 ]41 ],42 [43 "CX",44 [45 3,46 247 ]48 ],49 [50 "CX",51 [52 3,53 454 ]55 ],56 [57 "CX",58 [59 4,60 361 ]62 ],63 [64 "CX",65 [66 4,67 568 ]69 ],70 [71 "CX",72 [73 4,74 675 ]76 ],77 [78 "CX",79 [80 5,81 482 ]83 ],84 [85 "CX",86 [87 6,88 489 ]90 ],91 [92 "CX",93 [94 6,95 796 ]97 ],98 [99 "CX",100 [101 7,102 6103 ]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.01113 }114 },115 "policy_cls": "twisterl.nn.BasicPolicy",116 "policy": {117 "embedding_size": 512,118 "common_layers": [119 256120 ],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.995131 },132 "training": {133 "num_epochs": 10,134 "vf_coef": 0.8,135 "ent_coef": 0.01,136 "clip_ratio": 0.1,137 "normalize_advantage": false138 },139 "learning": {140 "diff_threshold": 0.85,141 "diff_max": 1024,142 "diff_metric": "ppo_deterministic"143 },144 "optimizer": {145 "lr": 0.0003146 },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.41155 },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.41163 }164 },165 "logging": {166 "log_freq": 1,167 "checkpoint_freq": 10168 }169 }170}