DASClient

class DASClient

Methods

__init__

__init__

solve

solve

Attributes

acceptable_degrees

acceptable_degrees property

library_path

library_path property

parameters

parameters property

version

version property

write_request_data

write_request_data property

write_response_data

write_response_data property

class Algorithm
__eq__(value, /)

Return self==value.

__ge__(value, /)

Return self>=value.

__gt__(value, /)

Return self>value.

__hash__()

Return hash(self).

__index__()

Return self converted to an integer, if self is suitable for use as an index into a list.

__init__(*args, **kwargs)
__int__()

int(self)

__le__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

ALL = DASClientAlgorithm.ALL
PT = DASClientAlgorithm.PT
QMC = DASClientAlgorithm.QMC
SA = DASClientAlgorithm.SA
__name__ = 'Algorithm'
class Parameters
class Schedule
__init__(*args, **kwargs)
__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property algorithm

algorithm property

戻り値の型:

Algorithm | None

property anneal_time

anneal_time property

戻り値の型:

int | None

property gamma

gamma property

戻り値の型:

list[float] | None

property temper

temper property

戻り値の型:

list[float] | None

__init__(*args, **kwargs)
__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property algorithm

algorithm property

戻り値の型:

Algorithm | None

property anneal_time

anneal_time property

戻り値の型:

int | None

property auto

auto property

戻り値の型:

bool | None

property decrease_factor

decrease_factor property

戻り値の型:

float | None

property proc

proc property

戻り値の型:

Proc | None

property pt_factor

pt_factor property

戻り値の型:

float | None

property pt_temper

pt_temper property

戻り値の型:

float | None

property qmc_gamma

qmc_gamma property

戻り値の型:

float | None

property qmc_temper

qmc_temper property

戻り値の型:

float | None

property repetition

repetition property

戻り値の型:

int | None

property sa_temper

sa_temper property

戻り値の型:

float | None

property schedule

schedule property

戻り値の型:

Schedule

property schedule_type

schedule_type property

戻り値の型:

ScheduleType | None

property trotter

trotter property

戻り値の型:

int | None

class Proc
__eq__(value, /)

Return self==value.

__ge__(value, /)

Return self>=value.

__gt__(value, /)

Return self>value.

__hash__()

Return hash(self).

__index__()

Return self converted to an integer, if self is suitable for use as an index into a list.

__init__(*args, **kwargs)
__int__()

int(self)

__le__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

CPU = DASClientProc.CPU
GPU = DASClientProc.GPU
__name__ = 'Proc'
class Result
__init__(*args, **kwargs)
__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property energy

energy property

戻り値の型:

float

property execution_time

execution_time property

戻り値の型:

timedelta

property spins

spins property

戻り値の型:

list[int]

class ScheduleType
__eq__(value, /)

Return self==value.

__ge__(value, /)

Return self>=value.

__gt__(value, /)

Return self>value.

__hash__()

Return hash(self).

__index__()

Return self converted to an integer, if self is suitable for use as an index into a list.

__init__(*args, **kwargs)
__int__()

int(self)

__le__(value, /)

Return self<=value.

__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

Expo = DASClientScheduleType.Expo
Linear = DASClientScheduleType.Linear
Power = DASClientScheduleType.Power
__name__ = 'ScheduleType'
__init__(self) None

__init__

__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

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

solve

Overloading:

1. solve(self, objective: Union[amplify.Poly, amplify.Matrix], dry_run: Literal[False] = False) -> amplify.DASClient.Result

Args:
  • objective (amplify.Poly | amplify.Matrix):

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

Returns:

amplify.DASClient.Result:

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

Args:
  • objective (amplify.Poly | amplify.Matrix):

  • dry_run (Literal[True]):

property acceptable_degrees

acceptable_degrees property

戻り値の型:

AcceptableDegrees

property library_path

library_path property

戻り値の型:

str | None

property parameters

parameters property

戻り値の型:

Parameters

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