QuadraticProgramConverter#

class QuadraticProgramConverter[fuente]#

Bases: ABC

An abstract class for converters of quadratic programs in Qiskit optimization module.

Methods

abstract convert(problem)[fuente]#

Convert a QuadraticProgram into another form and keep the information required to interpret the result.

Tipo del valor devuelto:

QuadraticProgram

abstract interpret(x)[fuente]#

Interpret a result into another form using the information of conversion

Tipo del valor devuelto:

ndarray