NECVA2Client¶
- class NECVA2Client¶
ベースクラス:
BaseClientMethods
Attributes
Returns: amplify.AcceptableDegrees:
Returns: amplify.NECVA2Client.Parameters:
Returns: str | None:
Returns: bool:
Returns: bool:
Returns: bool:
Returns: bool:
Returns: bool:
Returns: bool:
Returns: bool:
Returns: str:
Returns: str:
Returns: str:
Returns: pathlib.Path | None:
Returns: pathlib.Path | None:
- class Parameters¶
- __init__(*args, **kwargs)¶
- property beta_list¶
Returns: list[float] | None:
- property beta_range¶
Returns: tuple[float, float, int] | None:
- property dense¶
Returns: bool | None:
- property num_reads¶
Returns: int | None:
- property num_results¶
Returns: int | None:
- property num_sweeps¶
Returns: int | None:
- property timeout¶
Returns: datetime.timedelta | None:
- property ve_num¶
Returns: int | None:
- property vector_mode¶
Returns: amplify.NECVA2Client.VectorMode | None:
- class Result¶
- class Result¶
- __init__(*args, **kwargs)¶
- property constraint¶
Returns: bool:
- property energy¶
Returns: float:
- property memory_usage¶
Returns: float:
- property spin¶
Returns: dict[str, int]:
- property time¶
Returns: datetime.timedelta:
- class Timing¶
- __init__(*args, **kwargs)¶
- property execution_time¶
Returns: datetime.timedelta:
- property queue_time¶
Returns: datetime.timedelta:
- property solve_qubo_time¶
Returns: datetime.timedelta:
- __init__(*args, **kwargs)¶
- property result¶
Returns: list[amplify.NECVA2Client.Result.Result]:
- property timing¶
Returns: amplify.NECVA2Client.Result.Timing:
- class VectorMode¶
ベースクラス:
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)
- Accuracy = 0¶
- Speed = 1¶
- __nb_enum__ = <capsule object NULL>¶
- solve(self, objective: Poly | Matrix, dry_run: Literal[False] = False) 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.NECVA2Client.Result:
Overload 2.
- Args:
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[False]): Defaults to
False.
- Returns:
amplify.NECVA2Client.Result:
Overload 3.
- Args:
objective (amplify.Poly | amplify.Matrix)
constraint (amplify.Constraint | amplify.ConstraintList)
dry_run (typing.Literal[False]): Defaults to
False.
- Returns:
amplify.NECVA2Client.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 parameters¶
Returns: amplify.NECVA2Client.Parameters:
- property proxy¶
Returns: str | None:
- property set_andzero¶
Returns: bool:
- property set_fixed¶
Returns: bool:
- property set_maxone¶
Returns: bool:
- property set_minmaxone¶
Returns: bool:
- property set_onehot¶
Returns: bool:
- property set_orone¶
Returns: bool:
- property set_supplement¶
Returns: bool:
- 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: