dimod.QuadraticModel.is_linear

QuadraticModel.is_linear() bool[source]

Return True if the model has no quadratic interactions.