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
QuadraticProgramConverter | An abstract class for converters of quadratic programs in Qiskit’s optimization module. |
Converters
InequalityToEquality | Convert inequality constraints into equality constraints by introducing slack variables. |
IntegerToBinary | Convert a QuadraticProgram into new one by encoding integer with binary variables. |
LinearEqualityToPenalty | Convert a problem with only equality constraints to unconstrained with penalty terms. |
QuadraticProgramToQubo | Convert a given optimization problem to a new problem that is a QUBO. |
Was this page helpful?
Report a bug or request content on GitHub.