dimod.CaseLabelDQM.set_quadratic_case#
- CaseLabelDQM.set_quadratic_case(u, u_case, v, v_case, bias)[source]#
Set the bias associated with the interaction between two cases of variables u and v.
- Parameters:
u – A variable in the discrete quadratic model.
u_case – The case of u.
v – A variable in the discrete quadratic model.
v_case – The case of v.
bias (float) – The quadratic bias.