qiskit.optimization.problems.QuadraticProgramElement
class QuadraticProgramElement(quadratic_program)
Interface class for all objects that have a parent QuadraticProgram.
Initialize object with parent QuadraticProgram.
Parameters
quadratic_program (Any
) – The parent QuadraticProgram.
Raises
TypeError – QuadraticProgram instance expected.
__init__
__init__(quadratic_program)
Initialize object with parent QuadraticProgram.
Parameters
quadratic_program (Any
) – The parent QuadraticProgram.
Raises
TypeError – QuadraticProgram instance expected.
Methods
__init__ (quadratic_program) | Initialize object with parent QuadraticProgram. |
Attributes
quadratic_program | Returns the parent QuadraticProgram. |
quadratic_program
Returns the parent QuadraticProgram.
Return type
Any
Returns
The parent QuadraticProgram.
Was this page helpful?
Report a bug or request content on GitHub.