- Sampler.sample(bqm: dimod.binary.binary_quadratic_model.BinaryQuadraticModel, **parameters) dimod.sampleset.SampleSet ¶
Sample from a binary quadratic model.
This method is inherited from the
bqm – A binary quadratic model.
**parameters – See the implemented sampling for additional keyword definitions. Unknown keywords are accepted with a warning raised.
Returns: Samples from the binary quadratic model.