qiskit-documentation/docs/api/qiskit/0.29/qiskit.optimization.applica...

27 lines
994 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: clique (v0.29)
description: API reference for qiskit.optimization.applications.ising.clique in qiskit v0.29
in_page_toc_min_heading_level: 2
python_api_type: module
python_api_name: qiskit.optimization.applications.ising.clique
---
<span id="module-qiskit.optimization.applications.ising.clique" />
<span id="qiskit-optimization-applications-ising-clique" />
# qiskit.optimization.applications.ising.clique
Convert clique instances into Pauli list
Deal with Gset format. See [https://web.stanford.edu/\~yyye/yyye/Gset/](https://web.stanford.edu/~yyye/yyye/Gset/)
**Functions**
| | |
| --------------------------------- | -------------------------------------- |
| `get_graph_solution`(x) | Get graph solution from binary string. |
| `get_operator`(weight\_matrix, K) | Generate Hamiltonian for the clique. |
| `satisfy_or_not`(x, w, K) | Compute the value of a cut. |