- CutOffComposite.sample(bqm, **parameters)¶
Cut off interactions and sample from the provided binary quadratic model.
Prunes the binary quadratic model (BQM) submitted to the child sampler by retaining only interactions with value commensurate with the sampler’s precision as specified by the
cutoffargument. Also removes variables isolated post- or pre-removal of these interactions from the BQM passed on to the child sampler, setting these variables to values that minimize the original BQM’s energy for the returned samples.
dimod.BinaryQuadraticModel) – Binary quadratic model to be sampled from.
**parameters – Parameters for the sampling method, specified by the child sampler.
See the example in