Skip to main contentIBM Quantum Documentation
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.

qiskit.optimization.problems.QuadraticProgramElement

class QuadraticProgramElement(quadratic_program)

GitHub

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_programReturns 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.