FixstarsClientΒΆ

class FixstarsClientΒΆ

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__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

str

property duplicateΒΆ

duplicate property

Return type:

bool | None

property energiesΒΆ

energies property

Return type:

bool | None

property feasibilitiesΒΆ

feasibilities property

Return type:

bool | None

property num_outputsΒΆ

num_outputs property

Return type:

int | None

property sortΒΆ

sort property

Return type:

bool | None

property spinsΒΆ

spins property

Return type:

bool | None

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

__repr__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

str

property num_gpusΒΆ

num_gpus property

Return type:

int | None

property outputsΒΆ

outputs property

Return type:

Outputs

property penalty_calibrationΒΆ

penalty_calibration property

Return type:

bool | None

property timeoutΒΆ

timeout property

Return type:

timedelta | None

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

__repr__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

str

property num_gpusΒΆ

num_gpus property

Return type:

int

property num_iterationsΒΆ

num_iterations property

Return type:

int

property penalty_calibrationΒΆ

penalty_calibration property

Return type:

bool

property penalty_multipliersΒΆ

penalty_multipliers property

Return type:

ndarray

property timeoutΒΆ

timeout property

Return type:

timedelta

property versionΒΆ

version property

Return type:

str

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

__repr__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

str

property annealing_timeΒΆ

annealing_time property

Return type:

timedelta

property cpu_timeΒΆ

cpu_time property

Return type:

timedelta

property queue_timeΒΆ

queue_time property

Return type:

timedelta

property time_stampsΒΆ

time_stamps property

Return type:

list[timedelta]

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

__repr__

Return type:

str

__str__(self) strΒΆ

__str__

Return type:

str

property energiesΒΆ

energies property

Return type:

ndarray

property execution_parametersΒΆ

execution_parameters property

Return type:

ExecutionParameters

property execution_timeΒΆ

execution_time property

Return type:

ExecutionTime

property feasibilitiesΒΆ

feasibilities property

Return type:

ndarray

property messageΒΆ

message property

Return type:

str

property spinsΒΆ

spins property

Return type:

list[ndarray[Any, dtype[numpy.int8], writable[False]]]

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

__init__

Parameters:
  • token (str) – Defaults to ''.

  • url (str) – Defaults to ''.

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

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

Overloading:

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

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

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

Returns:

amplify.FixstarsClient.Result:

2. solve(self, constraint: Union[amplify.Constraint, amplify.ConstraintList], dry_run: Literal[False] = False) -> amplify.FixstarsClient.Result

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

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

Returns:

amplify.FixstarsClient.Result:

3. solve(self, objective: Union[amplify.Poly, amplify.Matrix], constraint: Union[amplify.Constraint, amplify.ConstraintList], dry_run: Literal[False] = False) -> amplify.FixstarsClient.Result

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

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

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

Returns:

amplify.FixstarsClient.Result:

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

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

  • dry_run (Literal[True]):

5. solve(self, constraint: Union[amplify.Constraint, amplify.ConstraintList], dry_run: Literal[True]) -> None

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

  • dry_run (Literal[True]):

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

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

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

  • dry_run (Literal[True]):

property acceptable_degreesΒΆ

acceptable_degrees property

Return type:

AcceptableDegrees

property compressionΒΆ

compression property

Return type:

bool

property parametersΒΆ

parameters property

Return type:

Parameters

property proxyΒΆ

proxy property

Return type:

str | None

property tokenΒΆ

token property

Return type:

str

property urlΒΆ

url property

Return type:

str

property versionΒΆ

version property

Return type:

str

property write_request_dataΒΆ

write_request_data property

Return type:

PathLike | None

property write_response_dataΒΆ

write_response_data property

Return type:

PathLike | None