CoolFace
Modelpublic

DuruTo/ai-transpiler_linear-functions

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
1likes43downloads
linear_function_6qB.json170 linesDownload Raw Back to root
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          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          482        ]83      ],84      [85        "CX",86        [87          4,88          389        ]90      ],91      [92        "CX",93        [94          4,95          596        ]97      ],98      [99        "CX",100        [101          5,102          4103        ]104      ]105    ],106    "depth_slope": 2,107    "max_depth": 256,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": 512,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}