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.

QuadraticProgramElement

class QuadraticProgramElement(quadratic_program)

GitHub

Bases: object

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.


Attributes

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.