dimod.QuadraticModel.get_quadratic

QuadraticModel.get_quadratic(u: Hashable, v: Hashable, default: Optional[Union[int, float, numpy.number]] = None) Union[int, float, numpy.number][source]

Get the quadratic bias of the specified pair of variables.