dimod.AdjVectorBQM.iter_variables

AdjVectorBQM.iter_variables()[source]

Iterate over the variables of the binary quadratic model.

Yields

hashable – A variable in the binary quadratic model.