dwave.system.composites.ReverseBatchStatesComposite.sample

ReverseBatchStatesComposite.sample(bqm, **parameters)[source]

Sample the binary quadratic model using reverse annealing from multiple initial states.

Parameters:
  • bqm (dimod.BinaryQuadraticModel) – Binary quadratic model to be sampled from.
  • **parameters – Parameters for the sampling method, specified by the child sampler.
Returns:

dimod.SampleSet that has initial_state field.