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

44 lines
6.2 KiB
Plaintext

---
title: ising (v0.26)
description: API reference for qiskit.optimization.applications.ising in qiskit v0.26
in_page_toc_min_heading_level: 2
python_api_type: module
python_api_name: qiskit.optimization.applications.ising
---
<span id="module-qiskit.optimization.applications.ising" />
<span id="qiskit-optimization-applications-ising" />
<span id="ising-models-qiskit-optimization-applications-ising" />
# Ising Models
`qiskit.optimization.applications.ising`
Ising models for optimization application problems
# Ising Models
| | |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [`clique`](qiskit.optimization.applications.ising.clique#module-qiskit.optimization.applications.ising.clique "qiskit.optimization.applications.ising.clique") | Convert clique instances into Pauli list |
| [`common`](qiskit.optimization.applications.ising.common#module-qiskit.optimization.applications.ising.common "qiskit.optimization.applications.ising.common") | common module |
| [`exact_cover`](qiskit.optimization.applications.ising.exact_cover#module-qiskit.optimization.applications.ising.exact_cover "qiskit.optimization.applications.ising.exact_cover") | exact cover |
| [`graph_partition`](qiskit.optimization.applications.ising.graph_partition#module-qiskit.optimization.applications.ising.graph_partition "qiskit.optimization.applications.ising.graph_partition") | Convert graph partitioning instances into Pauli list Deal with Gset format. |
| [`max_cut`](qiskit.optimization.applications.ising.max_cut#module-qiskit.optimization.applications.ising.max_cut "qiskit.optimization.applications.ising.max_cut") | Convert max-cut instances into Pauli list Deal with Gset format. |
| [`partition`](qiskit.optimization.applications.ising.partition#module-qiskit.optimization.applications.ising.partition "qiskit.optimization.applications.ising.partition") | Generate Number Partitioning (Partition) instances, and convert them into a Hamiltonian given as a Pauli list. |
| [`set_packing`](qiskit.optimization.applications.ising.set_packing#module-qiskit.optimization.applications.ising.set_packing "qiskit.optimization.applications.ising.set_packing") | set packing module |
| [`stable_set`](qiskit.optimization.applications.ising.stable_set#module-qiskit.optimization.applications.ising.stable_set "qiskit.optimization.applications.ising.stable_set") | Convert stable set instances into Pauli list. |
| [`tsp`](qiskit.optimization.applications.ising.tsp#module-qiskit.optimization.applications.ising.tsp "qiskit.optimization.applications.ising.tsp") | Convert symmetric TSP instances into Pauli list Deal with TSPLIB format. |
| [`vehicle_routing`](qiskit.optimization.applications.ising.vehicle_routing#module-qiskit.optimization.applications.ising.vehicle_routing "qiskit.optimization.applications.ising.vehicle_routing") | Converts vehicle routing instances into a list of Paulis, and provides some related routines (extracting a solution, checking its objective function value). |
| [`vertex_cover`](qiskit.optimization.applications.ising.vertex_cover#module-qiskit.optimization.applications.ising.vertex_cover "qiskit.optimization.applications.ising.vertex_cover") | Convert vertex cover instances into Pauli list Deal with Gset format. |
| [`knapsack`](qiskit.optimization.applications.ising.knapsack#module-qiskit.optimization.applications.ising.knapsack "qiskit.optimization.applications.ising.knapsack") | Convert knapsack parameters instances into Pauli list The parameters are a list of values a list of weights and a maximum weight of the knapsack. |
# Automatic Ising Model Generator from DoCPLEX Model
| | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- |
| [`docplex`](qiskit.optimization.applications.ising.docplex#module-qiskit.optimization.applications.ising.docplex "qiskit.optimization.applications.ising.docplex") | Automatically generate Ising Hamiltonians from general models of optimization problems. |