qiskit.optimization.applications.ising.graph_partition
Convert graph partitioning instances into Pauli list Deal with Gset format. See https://web.stanford.edu/~yyye/yyye/Gset/
Functions
get_graph_solution (x) | Get graph solution from binary string. |
get_operator (weight_matrix) | Generate Hamiltonian for the graph partitioning |
objective_value (x, w) | Compute the value of a cut. |
Was this page helpful?
Report a bug or request content on GitHub.