dimod.QuadraticModel.vartype

QuadraticModel.vartype(v: Hashable) dimod.vartypes.Vartype[source]

The variable type of the given variable.