dimod.reference.samplers.ExactDQMSolver.sample_dqm#

ExactDQMSolver.sample_dqm(dqm: DiscreteQuadraticModel, **kwargs) SampleSet[source]#

Sample from a discrete quadratic model.

Parameters:

dqm – Discrete quadratic model to be sampled from.

Returns:

All possible solutions to the discrete quadratic model.