28 lines
1.4 KiB
Plaintext
28 lines
1.4 KiB
Plaintext
---
|
||
title: common (v0.31)
|
||
description: API reference for qiskit.optimization.applications.ising.common in qiskit v0.31
|
||
in_page_toc_min_heading_level: 2
|
||
python_api_type: module
|
||
python_api_name: qiskit.optimization.applications.ising.common
|
||
---
|
||
|
||
<span id="module-qiskit.optimization.applications.ising.common" />
|
||
|
||
<span id="qiskit-optimization-applications-ising-common" />
|
||
|
||
# qiskit.optimization.applications.ising.common
|
||
|
||
common module
|
||
|
||
**Functions**
|
||
|
||
| | |
|
||
| -------------------------------------------------- | ----------------------------------------------------------- |
|
||
| `get_gset_result`(x) | Get graph solution in Gset format from binary string. |
|
||
| `parse_gset_format`(filename) | Read graph in Gset format from file. |
|
||
| `random_graph`(n\[, weight\_range, edge\_prob, …]) | Generate random Erdos-Renyi graph. |
|
||
| `random_number_list`(n\[, weight\_range, …]) | Generate a set of positive integers within the given range. |
|
||
| `read_numbers_from_file`(filename) | Read numbers from a file |
|
||
| `sample_most_likely`(state\_vector) | Compute the most likely binary string from state vector. |
|
||
|