dwave.cloud.solver.UnstructuredSolver.sample_bqm

UnstructuredSolver.sample_bqm(bqm, label=None, **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).

  • label (str, optional) – Problem label you can optionally tag submissions with for ease of identification.

  • **params – Parameters for the sampling method, solver-specific.

Returns

Future

Note

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