42 lines
3.7 KiB
Plaintext
42 lines
3.7 KiB
Plaintext
---
|
|
title: problems (v0.26)
|
|
description: API reference for qiskit.optimization.problems in qiskit v0.26
|
|
in_page_toc_min_heading_level: 2
|
|
python_api_type: module
|
|
python_api_name: qiskit.optimization.problems
|
|
---
|
|
|
|
<span id="module-qiskit.optimization.problems" />
|
|
|
|
<span id="qiskit-optimization-problems" />
|
|
|
|
<span id="optimization-problems-qiskit-optimization-problems" />
|
|
|
|
# Optimization problems
|
|
|
|
`qiskit.optimization.problems`
|
|
|
|
# Quadratic program
|
|
|
|
Structures for defining an optimization problem.
|
|
|
|
| | |
|
|
| ------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
|
|
| [`QuadraticProgram`](qiskit.optimization.problems.QuadraticProgram "qiskit.optimization.problems.QuadraticProgram") | Quadratically Constrained Quadratic Program representation. |
|
|
|
|
<Admonition title="Note" type="note">
|
|
The following classes are not intended to be instantiated directly. Objects of these types are available within an instantiated [`QuadraticProgram`](qiskit.optimization.problems.QuadraticProgram "qiskit.optimization.problems.QuadraticProgram").
|
|
</Admonition>
|
|
|
|
| | |
|
|
| ---------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|
|
| [`Constraint`](qiskit.optimization.problems.Constraint "qiskit.optimization.problems.Constraint") | Abstract Constraint Class. |
|
|
| [`LinearExpression`](qiskit.optimization.problems.LinearExpression "qiskit.optimization.problems.LinearExpression") | Representation of a linear expression by its coefficients. |
|
|
| [`LinearConstraint`](qiskit.optimization.problems.LinearConstraint "qiskit.optimization.problems.LinearConstraint") | Representation of a linear constraint. |
|
|
| [`QuadraticExpression`](qiskit.optimization.problems.QuadraticExpression "qiskit.optimization.problems.QuadraticExpression") | Representation of a quadratic expression by its coefficients. |
|
|
| [`QuadraticConstraint`](qiskit.optimization.problems.QuadraticConstraint "qiskit.optimization.problems.QuadraticConstraint") | Representation of a quadratic constraint. |
|
|
| [`QuadraticObjective`](qiskit.optimization.problems.QuadraticObjective "qiskit.optimization.problems.QuadraticObjective") | Representation of quadratic objective function of the form: constant + linear \* x + x \* quadratic \* x. |
|
|
| [`QuadraticProgramElement`](qiskit.optimization.problems.QuadraticProgramElement "qiskit.optimization.problems.QuadraticProgramElement") | Interface class for all objects that have a parent QuadraticProgram. |
|
|
| [`Variable`](qiskit.optimization.problems.Variable "qiskit.optimization.problems.Variable") | Representation of a variable. |
|
|
|