DWaveSamplerClient

class DWaveSamplerClient

Methods

__init__

__init__

solve

solve

Attributes

acceptable_degrees

acceptable_degrees 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__

パラメータ:
  • token (str) -- Defaults to ''.

  • solver (str) -- Defaults to ''.

  • url (str) -- Defaults to ''.

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

__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

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

solve

Overloading:

1. solve(self, objective: amplify.Poly, dry_run: Literal[False] = False) -> dimod.sampleset.SampleSet

Args:
  • objective (amplify.Poly):

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

Returns:

dimod.sampleset.SampleSet:

2. solve(self, objective: amplify.Poly, dry_run: Literal[True]) -> None

Args:
  • objective (amplify.Poly):

  • dry_run (Literal[True]):

property acceptable_degrees

acceptable_degrees property

戻り値の型:

AcceptableDegrees

property graph

graph property

戻り値の型:

Graph

property parameters

parameters property

戻り値の型:

DWaveClientParameters

property properties

properties property

戻り値の型:

dict[str, Any]

property proxy

proxy property

戻り値の型:

str | None

property solver

solver property

戻り値の型:

str

property solver_names

solver_names property

戻り値の型:

list[str]

property token

token property

戻り値の型:

str

property url

url property

戻り値の型:

str

property version

version property

戻り値の型:

str

property write_request_data

write_request_data property

戻り値の型:

PathLike | None

property write_response_data

write_response_data property

戻り値の型:

PathLike | None