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