dimod.CaseLabelDQM.get_linear_case#

CaseLabelDQM.get_linear_case(v, case)[source]#

The linear bias associated with case case of variable v.

Parameters:
  • v – A variable in the discrete quadratic model.

  • case – The case of v.

Returns:

The linear bias.