dimod.reference.samplers.null_sampler.NullSampler.sample

NullSampler.sample(bqm, **kwargs)[source]

Return an empty sample set.

Parameters
  • bqm (BinaryQuadraticModel) – The binary quadratic model determines the variables labels in the sample set.

  • kwargs – As specified when constructing the null sampler.

Returns

The empty sample set.

Return type

SampleSet