dimod.AdjDictBQM.iter_variables

AdjDictBQM.iter_variables()

Iterate over the variables of the binary quadratic model.

Yields

hashable – A variable in the binary quadratic model.