dimod.AdjVectorBQM.iter_linear

AdjVectorBQM.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.