English
Languages
English
Shortcuts



QuadraticProgramToQubo.convert

QuadraticProgramToQubo.convert(problem)[source]

Convert a problem with linear constraints into new one with a QUBO form.

Parameters

problem (QuadraticProgram) – The problem with linear constraints to be solved.

Return type

QuadraticProgram

Returns

The problem converted in QUBO format as minimization problem.

Raises

QiskitOptimizationError – In case of an incompatible problem.