dwave.cloud.solver.UnstructuredSolver.sample_bqm

UnstructuredSolver.sample_bqm(bqm, **params)

Sample from the specified BQM.

Parameters:
  • bqm (BinaryQuadraticModel/str) – A binary quadratic model, or a reference to one (Problem ID returned by .upload_bqm method).
  • **params – Parameters for the sampling method, solver-specific.
Returns:

Future

Note

To use this method, dimod package has to be installed.