dwave.cloud.solver.DQMSolver.sample_dqm#

DQMSolver.sample_dqm(dqm, label=None, **params)[source]#

Sample from the specified DQM.

Parameters:
  • dqm (DiscreteQuadraticModel/str) – A discrete quadratic model, or a reference to one (Problem ID returned by .upload_dqm 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.