ReverseAdvanceComposite.sample(bqm, anneal_schedules=None, **parameters)[source]

Sample the binary quadratic model using reverse annealing along a given set of anneal schedules.

  • bqm (dimod.BinaryQuadraticModel) – Binary quadratic model to be sampled from.
  • anneal_schedules (list of lists) – Anneal schedules in order of submission. Each schedule is formatted as a list of [time, s] pairs
  • initial_state (dict, optional) – the state to reverse anneal from. If not provided, it will be randomly generated
  • **parameters – Parameters for the sampling method, specified by the child sampler.

dimod.SampleSet that has initial_state and schedule_index fields.