ToshibaSQBM2Client¶
- class ToshibaSQBM2Client¶
ベースクラス:
BaseClientMethods
solve
Attributes
Returns: amplify.AcceptableDegrees:
Returns: bool:
Returns: amplify.ToshibaSQBM2Client.Parameters:
Returns: str | None:
Returns: amplify.ToshibaSQBM2Client.Solver:
Returns: str:
Returns: str:
Returns: str:
Returns: pathlib.Path | None:
Returns: pathlib.Path | None:
- class Parameters¶
- __init__(*args, **kwargs)¶
- property C¶
Returns: float | None:
- property HMCsteps¶
Returns: int | None:
- property HMCweight¶
Returns: int | None:
- property PD3Orate¶
Returns: int | None:
- property algo¶
Returns: int | None:
- property algos¶
Returns: str | None:
- property blocks¶
Returns: int | None:
- property detail_level¶
Returns: int | None:
- property detail_log¶
Returns: int | None:
- property dt¶
Returns: float | None:
- property loops¶
Returns: int | None:
- property maxout¶
Returns: int | None:
- property maxwait¶
Returns: datetime.timedelta | None:
- property multishot¶
Returns: int | None:
- property phi¶
Returns: float | None:
- property steps¶
Returns: int | None:
- property target¶
Returns: float | None:
- property timeout¶
Returns: datetime.timedelta | None:
- class Result¶
ベースクラス:
Solution- __init__(*args, **kwargs)¶
- property count¶
Returns: int:
- property id¶
Returns: str:
- property message¶
Returns: str:
- property others¶
Returns: list[amplify.ToshibaSQBM2Client.Solution]:
- property param¶
Returns: amplify.ToshibaSQBM2Client.Parameters:
- property result¶
Returns: numpy.ndarray:
- property runs¶
Returns: int:
- property time¶
Returns: datetime.timedelta:
- property value¶
Returns: float:
- property wait¶
Returns: datetime.timedelta:
- class Solution¶
- __init__(*args, **kwargs)¶
- property count¶
Returns: int:
- property param¶
Returns: amplify.ToshibaSQBM2Client.Parameters:
- property result¶
Returns: numpy.ndarray:
- property value¶
Returns: float:
- class Solver¶
ベースクラス:
Enum- classmethod __contains__(value)¶
Return True if value is in cls.
value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls's members. 3) value is a pseudo-member (flags)
- classmethod __getitem__(name)¶
Return the member matching name.
- classmethod __iter__()¶
Return members in definition order.
- classmethod __len__()¶
Return the number of members (no aliases)
- Pubo = 2¶
- Qplib = 1¶
- Qubo = 0¶
- __nb_enum__ = <capsule object NULL>¶
- solve( ) Result¶
- solve(
- self,
- constraint: Constraint | ConstraintList,
- dry_run: Literal[False] = False,
- solve(
- self,
- objective: Poly | Matrix,
- constraint: Constraint | ConstraintList,
- dry_run: Literal[False] = False,
- 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],
solve
Overload 1.
- Args:
objective (amplify.Poly | amplify.Matrix)
dry_run (typing.Literal[False]): Defaults to
False.
- Returns:
amplify.ToshibaSQBM2Client.Result:
Overload 2.
- Args:
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[False]): Defaults to
False.
- Returns:
amplify.ToshibaSQBM2Client.Result:
Overload 3.
- Args:
objective (amplify.Poly | amplify.Matrix)
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[False]): Defaults to
False.
- Returns:
amplify.ToshibaSQBM2Client.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¶
Returns: amplify.AcceptableDegrees:
- property compression¶
Returns: bool:
- property parameters¶
Returns: amplify.ToshibaSQBM2Client.Parameters:
- property proxy¶
Returns: str | None:
- property solver¶
Returns: amplify.ToshibaSQBM2Client.Solver:
- property token¶
Returns: str:
- property url¶
Returns: str:
- property version¶
Returns: str:
- property write_request_data¶
Returns: pathlib.Path | None:
- property write_response_data¶
Returns: pathlib.Path | None: