CoolFace
Modelpublic

DuruTo/ai-transpiler_linear-functions

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
1likes43downloads
linear_function_7qB3.json184 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          212        ]13      ],14      [15        "CX",16        [17          2,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          340        ]41      ],42      [43        "CX",44        [45          3,46          147        ]48      ],49      [50        "CX",51        [52          2,53          354        ]55      ],56      [57        "CX",58        [59          3,60          261        ]62      ],63      [64        "CX",65        [66          3,67          568        ]69      ],70      [71        "CX",72        [73          5,74          375        ]76      ],77      [78        "CX",79        [80          3,81          482        ]83      ],84      [85        "CX",86        [87          4,88          389        ]90      ],91      [92        "CX",93        [94          4,95          696        ]97      ],98      [99        "CX",100        [101          6,102          4103        ]104      ],105      [106        "CX",107        [108          5,109          6110        ]111      ],112      [113        "CX",114        [115          6,116          5117        ]118      ]119    ],120    "depth_slope": 2,121    "max_depth": 256,122    "metrics_weights": {123      "n_cnots": 0.01,124      "n_layers_cnots": 0.01,125      "n_layers": 0.01,126      "n_gates": 0.01127    }128  },129  "policy_cls": "twisterl.nn.BasicPolicy",130  "policy": {131    "embedding_size": 512,132    "common_layers": [133      256134    ],135    "policy_layers": [],136    "value_layers": []137  },138  "algorithm_cls": "twisterl.rl.PPO",139  "algorithm": {140    "collecting": {141      "num_cores": 32,142      "num_episodes": 1024,143      "lambda": 0.995,144      "gamma": 0.995145    },146    "training": {147      "num_epochs": 10,148      "vf_coef": 0.8,149      "ent_coef": 0.01,150      "clip_ratio": 0.1,151      "normalize_advantage": false152    },153    "learning": {154      "diff_threshold": 0.85,155      "diff_max": 512,156      "diff_metric": "ppo_deterministic"157    },158    "optimizer": {159      "lr": 0.0003160    },161    "evals": {162      "ppo_deterministic": {163        "num_episodes": 100,164        "deterministic": true,165        "num_searches": 1,166        "num_mcts_searches": 0,167        "num_cores": 32,168        "C": 1.41169      },170      "ppo_10": {171        "num_episodes": 100,172        "deterministic": false,173        "num_searches": 10,174        "num_mcts_searches": 0,175        "num_cores": 32,176        "C": 1.41177      }178    },179    "logging": {180      "log_freq": 1,181      "checkpoint_freq": 10182    }183  }184}