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.