NECVA2Client

class NECVA2Client

ベースクラス: AmplifyClient

Methods

__init__

__init__

solve

solve

Attributes

acceptable_degrees

acceptable_degrees property

parameters

parameters property

proxy

proxy property

set_andzero

set_andzero property

set_fixed

set_fixed property

set_maxone

set_maxone property

set_minmaxone

set_minmaxone property

set_onehot

set_onehot property

set_orone

set_orone property

set_supplement

set_supplement 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
__init__(*args, **kwargs)
__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property beta_list

beta_list property

戻り値の型:

list[float] | None

property beta_range

beta_range property

戻り値の型:

tuple[float, float, int] | None

property dense

dense property

戻り値の型:

bool | None

property num_reads

num_reads property

戻り値の型:

int | None

property num_results

num_results property

戻り値の型:

int | None

property num_sweeps

num_sweeps property

戻り値の型:

int | None

property timeout

timeout property

戻り値の型:

timedelta | None

property ve_num

ve_num property

戻り値の型:

int | None

property vector_mode

vector_mode property

戻り値の型:

VectorMode | None

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

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property constraint

constraint property

戻り値の型:

bool

property energy

energy property

戻り値の型:

float

property memory_usage

memory_usage property

戻り値の型:

float

property spin

spin property

戻り値の型:

dict[str, int]

property time

time property

戻り値の型:

timedelta

class Timing
__init__(*args, **kwargs)
__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property execution_time

execution_time property

戻り値の型:

timedelta

property queue_time

queue_time property

戻り値の型:

timedelta

property solve_qubo_time

solve_qubo_time property

戻り値の型:

timedelta

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

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property result

result property

戻り値の型:

list[Result]

property timing

timing property

戻り値の型:

Timing

class VectorMode

ベースクラス: Enum

__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

Accuracy = 0
Speed = 1
__nb_enum__ = <capsule object NULL>
__init__(self) None
__init__(self, token: str = '', url: str = '', proxy: str | None = None) None

__init__

パラメータ:
  • token (str) -- Defaults to ''.

  • url (str) -- Defaults to ''.

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

__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

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

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

acceptable_degrees property

戻り値の型:

AcceptableDegrees

property parameters

parameters property

戻り値の型:

Parameters

property proxy

proxy property

戻り値の型:

str | None

property set_andzero

set_andzero property

戻り値の型:

bool

property set_fixed

set_fixed property

戻り値の型:

bool

property set_maxone

set_maxone property

戻り値の型:

bool

property set_minmaxone

set_minmaxone property

戻り値の型:

bool

property set_onehot

set_onehot property

戻り値の型:

bool

property set_orone

set_orone property

戻り値の型:

bool

property set_supplement

set_supplement property

戻り値の型:

bool

property token

token property

戻り値の型:

str

property url

url property

戻り値の型:

str

property version

version property

戻り値の型:

str

property write_request_data

write_request_data property

戻り値の型:

Path | None

property write_response_data

write_response_data property

戻り値の型:

Path | None