DWaveSamplerClient

class DWaveSamplerClient

Bases: AmplifyClient

Methods

__init__

__init__

solve

solve

Attributes

acceptable_degrees

acceptable_degrees property

compress_qpu_problem_data

compress_qpu_problem_data property

graph

graph property

parameters

parameters property

properties

properties property

proxy

proxy property

solver

solver property

solver_names

solver_names property

token

token property

url

url property

version

version property

write_request_data

write_request_data property

write_response_data

write_response_data property

__init__(self) None
__init__(self, token: str = '', solver: str = '', url: str = '', proxy: str | None = None) None

__init__

Parameters:
  • token (str) – Defaults to ''.

  • solver (str) – Defaults to ''.

  • url (str) – Defaults to ''.

  • proxy (str | None) – Defaults to None.

__repr__(self) str

__repr__

Return type:

str

__str__(self) str

__str__

Return type:

str

solve(self, objective: Poly, dry_run: Literal[False] = False) SampleSet
solve(self, objective: Poly, dry_run: Literal[True]) None

solve

Overload 1.

Args:
  • objective (amplify.Poly)

  • dry_run (typing.Literal[False]): Defaults to False.

Returns:

dimod.sampleset.SampleSet:

Overload 2.

Args:
  • objective (amplify.Poly)

  • dry_run (typing.Literal[True])

property acceptable_degrees

acceptable_degrees property

Return type:

AcceptableDegrees

property compress_qpu_problem_data

compress_qpu_problem_data property

Return type:

bool | None

property graph

graph property

Return type:

Graph

property parameters

parameters property

Return type:

DWaveClientParameters

property properties

properties property

Return type:

dict[str, Any]

property proxy

proxy property

Return type:

str | None

property solver

solver property

Return type:

str

property solver_names

solver_names property

Return type:

list[str]

property token

token property

Return type:

str

property url

url property

Return type:

str

property version

version property

Return type:

str

property write_request_data

write_request_data property

Return type:

Path | None

property write_response_data

write_response_data property

Return type:

Path | None