dwave.cloud.solver.StructuredSolver.sample_bqm

StructuredSolver.sample_bqm(bqm, label=None, **params)[source]

Sample from the specified BQM.

Parameters
  • bqm (BinaryQuadraticModel) – A binary quadratic model.

  • 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.