DASClientΒΆ

class DASClientΒΆ

Bases: 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ΒΆ

Bases: Enum

__repr__(self) strΒΆ

__repr__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

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__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

str

property algorithmΒΆ

algorithm property

Return type:

Algorithm | None

property anneal_timeΒΆ

anneal_time property

Return type:

int | None

property gammaΒΆ

gamma property

Return type:

list[float] | None

property temperΒΆ

temper property

Return type:

list[float] | None

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

__repr__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

str

property algorithmΒΆ

algorithm property

Return type:

Algorithm | None

property anneal_timeΒΆ

anneal_time property

Return type:

int | None

property autoΒΆ

auto property

Return type:

bool | None

property decrease_factorΒΆ

decrease_factor property

Return type:

float | None

property procΒΆ

proc property

Return type:

Proc | None

property pt_factorΒΆ

pt_factor property

Return type:

float | None

property pt_temperΒΆ

pt_temper property

Return type:

float | None

property qmc_gammaΒΆ

qmc_gamma property

Return type:

float | None

property qmc_temperΒΆ

qmc_temper property

Return type:

float | None

property repetitionΒΆ

repetition property

Return type:

int | None

property sa_temperΒΆ

sa_temper property

Return type:

float | None

property scheduleΒΆ

schedule property

Return type:

Schedule

property schedule_typeΒΆ

schedule_type property

Return type:

ScheduleType | None

property trotterΒΆ

trotter property

Return type:

int | None

class ProcΒΆ

Bases: Enum

__repr__(self) strΒΆ

__repr__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

str

CPU = 0ΒΆ
GPU = 1ΒΆ
__nb_enum__ = <capsule object NULL>ΒΆ
class ResultΒΆ
__init__(*args, **kwargs)ΒΆ
__repr__(self) strΒΆ

__repr__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

str

property energyΒΆ

energy property

Return type:

float

property execution_timeΒΆ

execution_time property

Return type:

timedelta

property spinsΒΆ

spins property

Return type:

list[int]

class ScheduleTypeΒΆ

Bases: Enum

__repr__(self) strΒΆ

__repr__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

str

Expo = 2ΒΆ
Linear = 0ΒΆ
Power = 1ΒΆ
__nb_enum__ = <capsule object NULL>ΒΆ
__init__(self) NoneΒΆ

__init__

__repr__(self) strΒΆ

__repr__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

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

Return type:

AcceptableDegrees

property library_pathΒΆ

library_path property

Return type:

str | None

property parametersΒΆ

parameters property

Return type:

Parameters

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