Tools
D-Wave
AdjDictBQM.
set_linear
Set the linear biase of the specified variable.
v (hashable) – A variable in the binary quadratic model. It is added if not already in the model.
b (numeric) – The linear bias of v.
v
TypeError – If v is not hashable