- BQMSolver.sample_bqm(bqm, label=None, **params)[source]¶
Sample from the specified 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.
To use this method, dimod package has to be installed.