Skip to main content
IBM Quantum Platform
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

QuadraticProgramConverter

class QuadraticProgramConverter

GitHub

Bases: abc.ABC

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


Methods

convert

abstract QuadraticProgramConverter.convert(problem)

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

Return type

QuadraticProgram

interpret

abstract QuadraticProgramConverter.interpret(x)

Interpret a result into another form using the information of conversion

Return type

ndarray

Was this page helpful?
Report a bug or request content on GitHub.