Go to the source code of this file.
|
| | GQML_test.cliques |
| |
| dictionary | GQML_test.config |
| |
| int | GQML_test.dataset_size = 1000 |
| |
| list | GQML_test.edges = [(x, x+1) for x in range(n_nodes-1)] |
| |
| | GQML_test.G = nx.Graph() |
| |
| | GQML_test.GQML = Generative_Quantum_Machine_Learning(x, P_star, sigma, qbit_num, use_lookup_table, cliques, use_exact, config) |
| |
| string | GQML_test.graph_type = "custom" |
| |
| | GQML_test.initial_state = np.zeros( (1 << qbit_num), dtype=np.complex128 ) |
| |
| int | GQML_test.n_nodes = 5 |
| |
| | GQML_test.P_star = target_distribution |
| |
| int | GQML_test.P_theta = np.abs(state_to_transform)**2 |
| |
| | GQML_test.param_num = GQML.get_Parameter_Num() |
| |
| | GQML_test.parameters = np.zeros(param_num) |
| |
| int | GQML_test.qbit_num = n_nodes |
| |
| list | GQML_test.sigma = [0.25, 10, 1000] |
| |
| | GQML_test.state_to_transform = initial_state.copy() |
| |
| | GQML_test.target_distribution |
| |
| | GQML_test.training_set |
| |
| list | GQML_test.tvs_hea = [] |
| |
| list | GQML_test.tvs_qcmrf = [] |
| |
| bool | GQML_test.use_exact = True |
| |
| bool | GQML_test.use_lookup_table = True |
| |
| | GQML_test.x = training_set.astype(np.int32) |
| |