dimod.CaseLabelDQM.get_quadratic_case#
- CaseLabelDQM.get_quadratic_case(u, u_case, v, v_case)[source]#
The bias associated with the interaction between two cases of 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.
- Returns:
The quadratic bias.