dimod.bqm.adjarraybqm.AdjArrayBQM.iter_interactions

AdjArrayBQM.iter_interactions()[source]

Iterate over the interactions of the binary quadratic model.

Yields

interaction – An interaction in the binary quadratic model.