dimod.QuadraticModel.remove_interaction#

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

Remove the interaction between u and v.

Parameters:
  • u – Variable in the quadratic model.

  • v – Variable in the quadratic model.