qiskit.optimization.converters.QuadraticProgramConverter
class QuadraticProgramConverter
An abstract class for converters of quadratic programs in Qiskit’s optimization module.
__init__
__init__()
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__ () | Initialize self. |
convert (problem) | Convert a QuadraticProgram into another form and keep the information required to interpret the result. |
interpret (x) | Interpret a result into another form using the information of conversion |
convert
abstract convert(problem)
Convert a QuadraticProgram into another form and keep the information required to interpret the result.
Return type
QuadraticProgram
interpret
abstract 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.