dimod.reference.samplers.NullSampler.sample¶
- NullSampler.sample(bqm: dimod.binary.binary_quadratic_model.BinaryQuadraticModel, **kwargs) dimod.sampleset.SampleSet [source]¶
Return an empty sample set.
- Parameters
bqm – Binary quadratic model (BQM) that determines the variables labels in the sample set.
kwargs – User-defined parameters specified when constructing the null sampler, with values that are ignored.
- Returns
Empty sample set with the same variables as the given BQM.