dimod.reference.composites.tracking.TrackingComposite.sample#
- TrackingComposite.sample(bqm, **parameters)[source]#
Sample from the child sampler and store the given inputs/outputs.
The binary quadratic model and any parameters are stored in
inputs
. The returned sample set is stored inoutputs
.- Parameters:
bqm (
dimod.BinaryQuadraticModel
) – Binary quadratic model to be sampled from.**kwargs – Parameters for the sampling method, specified by the child sampler.
- Returns: