dimod.AdjMapBQM.iter_variables

AdjMapBQM.iter_variables()

Iterate over the variables of the binary quadratic model.

Yields

hashable – A variable in the binary quadratic model.