dimod.binary.BinaryQuadraticModel.remove_interaction#

BinaryQuadraticModel.remove_interaction(u: Hashable, v: Hashable)[source]#

Remove the interaction between a pair of variables.

Parameters:
  • u – Variable in the binary quadratic model.

  • v – Variable in the binary quadratic model.