dimod.binary.BinaryQuadraticModel.remove_interactions_from

BinaryQuadraticModel.remove_interactions_from(interactions: Iterable)[source]

Remove the given interactions from the binary quadratic model.

Parameters

interactions – Interactions of the binary quadratic model as an iterable of 2-tuples.