FixstarsClient

class FixstarsClient

ベースクラス: AmplifyClient

Methods

__init__

__init__

solve

solve

Attributes

acceptable_degrees

acceptable_degrees property

compression

compression property

parameters

parameters property

proxy

proxy property

token

token property

url

url property

version

version property

write_request_data

write_request_data property

write_response_data

write_response_data property

class Parameters
class Outputs
__init__(*args, **kwargs)
__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property duplicate

duplicate property

戻り値の型:

bool | None

property energies

energies property

戻り値の型:

bool | None

property feasibilities

feasibilities property

戻り値の型:

bool | None

property num_outputs

num_outputs property

戻り値の型:

int | None

property sort

sort property

戻り値の型:

bool | None

property spins

spins property

戻り値の型:

bool | None

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

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property num_gpus

num_gpus property

戻り値の型:

int | None

property outputs

outputs property

戻り値の型:

Outputs

property penalty_calibration

penalty_calibration property

戻り値の型:

bool | None

property timeout

timeout property

戻り値の型:

timedelta | None

class Result
class ExecutionParameters
__init__(*args, **kwargs)
__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property num_gpus

num_gpus property

戻り値の型:

int

property num_iterations

num_iterations property

戻り値の型:

int

property penalty_calibration

penalty_calibration property

戻り値の型:

bool

property penalty_multipliers

penalty_multipliers property

戻り値の型:

ndarray

property timeout

timeout property

戻り値の型:

timedelta

property version

version property

戻り値の型:

str

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

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property annealing_time

annealing_time property

戻り値の型:

timedelta

property cpu_time

cpu_time property

戻り値の型:

timedelta

property queue_time

queue_time property

戻り値の型:

timedelta

property time_stamps

time_stamps property

戻り値の型:

list[timedelta]

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

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property energies

energies property

戻り値の型:

ndarray

property execution_parameters

execution_parameters property

戻り値の型:

ExecutionParameters

property execution_time

execution_time property

戻り値の型:

ExecutionTime

property feasibilities

feasibilities property

戻り値の型:

ndarray

property message

message property

戻り値の型:

str

property spins

spins property

戻り値の型:

list[ndarray[dtype=int8, writable=False]]

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

__init__

パラメータ:
  • token (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 | Matrix,
dry_run: Literal[False] = False,
) Result
solve(
self,
constraint: Constraint | ConstraintList,
dry_run: Literal[False] = False,
) Result
solve(
self,
objective: Poly | Matrix,
constraint: Constraint | ConstraintList,
dry_run: Literal[False] = False,
) Result
solve(self, objective: Poly | Matrix, dry_run: Literal[True]) None
solve(self, constraint: Constraint | ConstraintList, dry_run: Literal[True]) None
solve(
self,
objective: Poly | Matrix,
constraint: Constraint | ConstraintList,
dry_run: Literal[True],
) None

solve

Overload 1.

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

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

Returns:

amplify.FixstarsClient.Result:

Overload 2.

Args:
  • constraint (amplify.Constraint | amplify.ConstraintList)

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

Returns:

amplify.FixstarsClient.Result:

Overload 3.

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

  • constraint (amplify.Constraint | amplify.ConstraintList)

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

Returns:

amplify.FixstarsClient.Result:

Overload 4.

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

  • dry_run (typing.Literal[True])

Overload 5.

Args:
  • constraint (amplify.Constraint | amplify.ConstraintList)

  • dry_run (typing.Literal[True])

Overload 6.

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

  • constraint (amplify.Constraint | amplify.ConstraintList)

  • dry_run (typing.Literal[True])

property acceptable_degrees

acceptable_degrees property

戻り値の型:

AcceptableDegrees

property compression

compression property

戻り値の型:

bool

property parameters

parameters property

戻り値の型:

Parameters

property proxy

proxy property

戻り値の型:

str | None

property token

token property

戻り値の型:

str

property url

url property

戻り値の型:

str

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