dimod.AdjVectorBQM.iter_interactions

AdjVectorBQM.iter_interactions()

Iterate over the interactions of the binary quadratic model.

Yields

interaction – An interaction in the binary quadratic model.