dimod.AdjMapBQM.iter_interactions

AdjMapBQM.iter_interactions()[source]

Iterate over the interactions of the binary quadratic model.

Yields

interaction – An interaction in the binary quadratic model.