Optimization converters (qiskit_optimization.converters
)#
This is a set of converters having convert functionality to go between different representations
of a given QuadraticProgram
and to interpret a given
result for the problem, based on the original problem before conversion, to return an appropriate
OptimizationResult
.
Base class for converters#
An abstract class for converters of quadratic programs in Qiskit optimization module. |
Converters#
Convert inequality constraints into equality constraints by introducing slack variables. |
|
Convert a |
|
Convert a problem with only equality constraints to unconstrained with penalty terms. |
|
Convert linear inequality constraints to penalty terms of the objective function. |
|
Convert a maximization problem to a minimization problem only if it is a maximization problem, otherwise problem's sense is unchanged. |
|
Convert a minimization problem to a maximization problem only if it is a minimization problem, otherwise problem's sense is unchanged. |
|
Convert a given optimization problem to a new problem that is a QUBO. |