dimod.bqm.adjarraybqm.AdjArrayBQM.iter_interactions

AdjArrayBQM.iter_interactions()

Iterate over the interactions of the binary quadratic model.

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