English
Languages
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.optimization.problems.QuadraticProgramElement

class QuadraticProgramElement(quadratic_program)[source]

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__(quadratic_program)[source]

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.

property quadratic_program

Returns the parent QuadraticProgram.

Return type

Any

Returns

The parent QuadraticProgram.