dimod.binary.BinaryQuadraticModel.remove_interactions_from

BinaryQuadraticModel.remove_interactions_from(interactions: Iterable)[source]

Remove the given interactions from the binary quadratic model.

Parameters

interactions – an iterabble of 2-tuples of interactions in the binary quadratic model.