DuruTo/ai-transpiler_linear-functions
143
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 212 ]13 ],14 [15 "CX",16 [17 2,18 019 ]20 ],21 [22 "CX",23 [24 1,25 226 ]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 554 ]55 ],56 [57 "CX",58 [59 5,60 361 ]62 ],63 [64 "CX",65 [66 3,67 468 ]69 ],70 [71 "CX",72 [73 4,74 375 ]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.0185 }86 },87 "policy_cls": "twisterl.nn.BasicPolicy",88 "policy": {89 "embedding_size": 512,90 "common_layers": [91 25692 ],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.995103 },104 "training": {105 "num_epochs": 10,106 "vf_coef": 0.8,107 "ent_coef": 0.01,108 "clip_ratio": 0.1,109 "normalize_advantage": false110 },111 "learning": {112 "diff_threshold": 0.85,113 "diff_max": 512,114 "diff_metric": "ppo_deterministic"115 },116 "optimizer": {117 "lr": 0.0003118 },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.41127 },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.41135 }136 },137 "logging": {138 "log_freq": 1,139 "checkpoint_freq": 10140 }141 }142}