dimod.AdjDictBQM.iter_quadratic¶
-
AdjDictBQM.
iter_quadratic
(variables=None)[source]¶ Iterate over the quadratic biases of the binary quadratic model.
- Parameters
variables (iterable) – Variables in the binary quadratic model. Iterates only over interactions of these variables.
- Yields
3-tuple – Interaction variables in the binary quadratic model and their bias.