dimod.AdjDictBQM.iter_linear

AdjDictBQM.iter_linear()[source]

Iterate over the linear biases of the binary quadratic model.

Yields

tuple – A variable in the binary quadratic model and its linear bias.