CoolFace
Modelpublic

DuruTo/ai-transpiler_linear-functions

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
1likes43downloads
linear_function_8qB9.json212 linesDownload Raw Back to root
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          312        ]13      ],14      [15        "CX",16        [17          3,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          440        ]41      ],42      [43        "CX",44        [45          4,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          568        ]69      ],70      [71        "CX",72        [73          5,74          275        ]76      ],77      [78        "CX",79        [80          3,81          682        ]83      ],84      [85        "CX",86        [87          6,88          389        ]90      ],91      [92        "CX",93        [94          3,95          496        ]97      ],98      [99        "CX",100        [101          4,102          3103        ]104      ],105      [106        "CX",107        [108          4,109          7110        ]111      ],112      [113        "CX",114        [115          7,116          4117        ]118      ],119      [120        "CX",121        [122          4,123          5124        ]125      ],126      [127        "CX",128        [129          5,130          4131        ]132      ],133      [134        "CX",135        [136          6,137          7138        ]139      ],140      [141        "CX",142        [143          7,144          6145        ]146      ]147    ],148    "depth_slope": 2,149    "max_depth": 512,150    "metrics_weights": {151      "n_cnots": 0.01,152      "n_layers_cnots": 0.01,153      "n_layers": 0.01,154      "n_gates": 0.01155    }156  },157  "policy_cls": "twisterl.nn.BasicPolicy",158  "policy": {159    "embedding_size": 512,160    "common_layers": [161      256162    ],163    "policy_layers": [],164    "value_layers": []165  },166  "algorithm_cls": "twisterl.rl.PPO",167  "algorithm": {168    "collecting": {169      "num_cores": 32,170      "num_episodes": 1024,171      "lambda": 0.995,172      "gamma": 0.995173    },174    "training": {175      "num_epochs": 10,176      "vf_coef": 0.8,177      "ent_coef": 0.01,178      "clip_ratio": 0.1,179      "normalize_advantage": false180    },181    "learning": {182      "diff_threshold": 0.85,183      "diff_max": 1024,184      "diff_metric": "ppo_deterministic"185    },186    "optimizer": {187      "lr": 0.0003188    },189    "evals": {190      "ppo_deterministic": {191        "num_episodes": 100,192        "deterministic": true,193        "num_searches": 1,194        "num_mcts_searches": 0,195        "num_cores": 32,196        "C": 1.41197      },198      "ppo_10": {199        "num_episodes": 100,200        "deterministic": false,201        "num_searches": 10,202        "num_mcts_searches": 0,203        "num_cores": 32,204        "C": 1.41205      }206    },207    "logging": {208      "log_freq": 1,209      "checkpoint_freq": 10210    }211  }212}