qiskit.optimization.problems.QuadraticProgramElement¶
-
class
QuadraticProgramElement
(quadratic_program)[código fonte]¶ Interface class for all objects that have a parent QuadraticProgram.
Initialize object with parent QuadraticProgram.
- Parâmetros
quadratic_program (
Any
) – The parent QuadraticProgram.- Levanta
TypeError – QuadraticProgram instance expected.
-
__init__
(quadratic_program)[código fonte]¶ Initialize object with parent QuadraticProgram.
- Parâmetros
quadratic_program (
Any
) – The parent QuadraticProgram.- Levanta
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.
- Tipo de retorno
Any
- Retorna
The parent QuadraticProgram.