CoolFace
Modelpublic

DuruTo/ai-transpiler_linear-functions

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
1likes43downloads
linear_function_4qS.json128 linesDownload Raw Back to root
1{2  "env_cls": "qiskit_gym.envs.synthesis.LinearFunctionEnv",3  "env": {4    "num_qubits": 4,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    "depth_slope": 2,65    "max_depth": 128,66    "metrics_weights": {67      "n_cnots": 0.01,68      "n_layers_cnots": 0.01,69      "n_layers": 0.01,70      "n_gates": 0.0171    }72  },73  "policy_cls": "twisterl.nn.BasicPolicy",74  "policy": {75    "embedding_size": 512,76    "common_layers": [77      25678    ],79    "policy_layers": [],80    "value_layers": []81  },82  "algorithm_cls": "twisterl.rl.PPO",83  "algorithm": {84    "collecting": {85      "num_cores": 32,86      "num_episodes": 1024,87      "lambda": 0.995,88      "gamma": 0.99589    },90    "training": {91      "num_epochs": 10,92      "vf_coef": 0.8,93      "ent_coef": 0.01,94      "clip_ratio": 0.1,95      "normalize_advantage": false96    },97    "learning": {98      "diff_threshold": 0.85,99      "diff_max": 256,100      "diff_metric": "ppo_deterministic"101    },102    "optimizer": {103      "lr": 0.0003104    },105    "evals": {106      "ppo_deterministic": {107        "num_episodes": 100,108        "deterministic": true,109        "num_searches": 1,110        "num_mcts_searches": 0,111        "num_cores": 32,112        "C": 1.41113      },114      "ppo_10": {115        "num_episodes": 100,116        "deterministic": false,117        "num_searches": 10,118        "num_mcts_searches": 0,119        "num_cores": 32,120        "C": 1.41121      }122    },123    "logging": {124      "log_freq": 1,125      "checkpoint_freq": 10126    }127  }128}