dimod.reference.samplers.ExactPolySolver.sample_poly#

ExactPolySolver.sample_poly(polynomial: BinaryPolynomial, **kwargs) SampleSet[source]#

Sample from a binary polynomial.

Parameters:

polynomial – Binary polynomial to be sampled from.

Returns:

All possible solutions to the binary polynomial.