dimod.AdjMapBQM.iter_linear

AdjMapBQM.iter_linear(self)[source]

Iterate over the linear biases of the binary quadratic model.

Yields

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