Skip to content

Commit

Permalink
Expand problem label docs
Browse files Browse the repository at this point in the history
  • Loading branch information
randomir committed Jan 13, 2021
1 parent ecfd5f2 commit a483f03
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions dwave/cloud/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ def sample_ising(self, linear, quadratic, offset=0, label=None, **params):
Constant offset applied to the model.
label (str, optional):
Problem label.
Problem label you can optionally tag submissions with for ease
of identification.
**params:
Parameters for the sampling method, solver-specific.
Expand Down Expand Up @@ -310,7 +311,8 @@ def sample_qubo(self, qubo, offset=0, label=None, **params):
Constant offset applied to the model.
label (str, optional):
Problem label.
Problem label you can optionally tag submissions with for ease
of identification.
**params:
Parameters for the sampling method, solver-specific.
Expand Down Expand Up @@ -416,7 +418,8 @@ def sample_problem(self, problem, problem_type=None, label=None, **params):
If not specified, the first handled problem type is used.
label (str, optional):
Problem label.
Problem label you can optionally tag submissions with for ease
of identification.
**params:
Parameters for the sampling method, solver-specific.
Expand Down Expand Up @@ -486,7 +489,8 @@ def sample_bqm(self, bqm, label=None, **params):
(Problem ID returned by `.upload_bqm` method).
label (str, optional):
Problem label.
Problem label you can optionally tag submissions with for ease
of identification.
**params:
Parameters for the sampling method, solver-specific.
Expand Down Expand Up @@ -573,7 +577,8 @@ def sample_dqm(self, dqm, label=None, **params):
(Problem ID returned by `.upload_dqm` method).
label (str, optional):
Problem label.
Problem label you can optionally tag submissions with for ease
of identification.
**params:
Parameters for the sampling method, solver-specific.
Expand Down Expand Up @@ -752,7 +757,8 @@ def sample_ising(self, linear, quadratic, offset=0, label=None, **params):
Constant offset applied to the model.
label (str, optional):
Problem label.
Problem label you can optionally tag submissions with for ease
of identification.
**params:
Parameters for the sampling method, solver-specific.
Expand Down Expand Up @@ -800,7 +806,8 @@ def sample_qubo(self, qubo, offset=0, label=None, **params):
Constant offset applied to the model.
label (str, optional):
Problem label.
Problem label you can optionally tag submissions with for ease
of identification.
**params:
Parameters for the sampling method, solver-specific.
Expand Down Expand Up @@ -842,7 +849,8 @@ def sample_bqm(self, bqm, label=None, **params):
A binary quadratic model.
label (str, optional):
Problem label.
Problem label you can optionally tag submissions with for ease
of identification.
**params:
Parameters for the sampling method, solver-specific.
Expand Down

0 comments on commit a483f03

Please sign in to comment.