dwave.preprocessing.composites.ConnectedComponentsComposite.sample¶
- ConnectedComponentsComposite.sample(bqm, *, components=None, **parameters)[source]¶
Sample from the provided binary quadratic model.
- Parameters
bqm (
dimod.BinaryQuadraticModel
) – Binary quadratic model to be sampled from.components (list(set)) – A list of disjoint set of variables that fully partition the variables
**parameters – Parameters for the sampling method, specified by the child sampler.
- Returns