dimod.AdjDictBQM.iter_interactions

AdjDictBQM.iter_interactions()

Iterate over the interactions of the binary quadratic model.

Yields:interaction – An interaction in the binary quadratic model.