Tools
D-Wave
AdjVectorBQM.
set_quadratic
Set the quadratic bias of (u, v).
u (hashable) – A variable in the binary quadratic model.
v (hashable) – A variable in the binary quadratic model.
b (numeric) – The linear bias of v.
TypeError – If u or v is not hashable.