qiskit.optimization.problems.QuadraticProgramElement¶
-
class
QuadraticProgramElement
(quadratic_program)[ソース]¶ Interface class for all objects that have a parent QuadraticProgram.
Initialize object with parent QuadraticProgram.
- パラメータ
quadratic_program (
Any
) – The parent QuadraticProgram.- 例外
TypeError – QuadraticProgram instance expected.
-
__init__
(quadratic_program)[ソース]¶ Initialize object with parent QuadraticProgram.
- パラメータ
quadratic_program (
Any
) – The parent QuadraticProgram.- 例外
TypeError – QuadraticProgram instance expected.
Methods
__init__
(quadratic_program)Initialize object with parent QuadraticProgram.
Attributes
Returns the parent QuadraticProgram.
-
property
quadratic_program
¶ Returns the parent QuadraticProgram.
- 戻り値の型
Any
- 戻り値
The parent QuadraticProgram.