DASClient¶
- class DASClient¶
Methods
Attributes
acceptable_degrees property
library_path property
parameters property
version property
write_request_data property
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.
- ALL = DASClientAlgorithm.ALL¶
- PT = DASClientAlgorithm.PT¶
- QMC = DASClientAlgorithm.QMC¶
- SA = DASClientAlgorithm.SA¶
- __name__ = 'Algorithm'¶
- class Parameters¶
-
- __init__(*args, **kwargs)¶
- property schedule_type¶
schedule_type property
- 戻り値の型:
ScheduleType | 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.
- CPU = DASClientProc.CPU¶
- GPU = DASClientProc.GPU¶
- __name__ = 'Proc'¶
- 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.
- Expo = DASClientScheduleType.Expo¶
- Linear = DASClientScheduleType.Linear¶
- Power = DASClientScheduleType.Power¶
- __name__ = 'ScheduleType'¶
- 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
- 戻り値の型:
- property parameters¶
parameters property
- 戻り値の型: