DASClient

class DASClient

ベースクラス: AmplifyClient

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

ベースクラス: Enum

__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

ALL = 0
PT = 3
QMC = 2
SA = 1
__nb_enum__ = <capsule object NULL>
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

ベースクラス: Enum

__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

CPU = 0
GPU = 1
__nb_enum__ = <capsule object NULL>
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

ベースクラス: Enum

__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

Expo = 2
Linear = 0
Power = 1
__nb_enum__ = <capsule object NULL>
__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

Overload 1.

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

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

Returns:

amplify.DASClient.Result:

Overload 2.

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

  • dry_run (typing.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

戻り値の型:

Path | None

property write_response_data

write_response_data property

戻り値の型:

Path | None