Tools
D-Wave
AdjMapBQM.
set_linear
Set the linear biase of a variable v.
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.
TypeError – If v is not hashable