dimod.binary.BinaryQuadraticModel.get_quadratic

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

Get the quadratic bias of a pair of variables.