Variable.vartype

property Variable.vartype: qiskit.optimization.problems.variable.VarType

Returns the type of the variable.

Return type

VarType

Returns

The variable type.