dwave.optimization.model.States.from_future#

States.from_future(future, result_hook)#

Populate the states from the result of a future computation.

A Future object is returned by the solver to which your problem model is submitted. This enables asynchronous problem submission.

Parameters:
  • futureFuture object.

  • result_hook – Method executed to retrieve the Future.