CoolFace
Modelpublic

DuruTo/ai-transpiler_linear-functions

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
1likes43downloads
linear_function_7qH2.json156 linesDownload Raw Back to root
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          112        ]13      ],14      [15        "CX",16        [17          1,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          540        ]41      ],42      [43        "CX",44        [45          5,46          247        ]48      ],49      [50        "CX",51        [52          2,53          354        ]55      ],56      [57        "CX",58        [59          3,60          261        ]62      ],63      [64        "CX",65        [66          4,67          568        ]69      ],70      [71        "CX",72        [73          5,74          475        ]76      ],77      [78        "CX",79        [80          5,81          682        ]83      ],84      [85        "CX",86        [87          6,88          589        ]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.0199    }100  },101  "policy_cls": "twisterl.nn.BasicPolicy",102  "policy": {103    "embedding_size": 512,104    "common_layers": [105      256106    ],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.995117    },118    "training": {119      "num_epochs": 10,120      "vf_coef": 0.8,121      "ent_coef": 0.01,122      "clip_ratio": 0.1,123      "normalize_advantage": false124    },125    "learning": {126      "diff_threshold": 0.85,127      "diff_max": 512,128      "diff_metric": "ppo_deterministic"129    },130    "optimizer": {131      "lr": 0.0003132    },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.41141      },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.41149      }150    },151    "logging": {152      "log_freq": 1,153      "checkpoint_freq": 10154    }155  }156}