dwave.cloud.solver.NLSolver.sample_problem#
- NLSolver.sample_problem(*args, **kwargs)[source]#
Sample from the specified problem.
- Parameters:
problem (model-like/str) – A quadratic model (e.g.
BQM,CQM,DQM), a nonlinear model (Model) or a reference to one (Problem ID returned byupload_problem()method).problem_type (str, optional) – Problem type, one of the handled problem types by the solver. If not specified, the first handled problem type is used.
label (str, optional) – Problem label you can optionally tag submissions with for ease of identification.
upload_params (dict) – Optional upload/encode parameters, solver specific.
**sample_params – Sampling parameters, solver-specific.
- Returns: