Result

class Result

Methods

__init__

sort

sort

Attributes

best

best property

client_result

client_result property

embedding

embedding property

execution_time

execution_time property

filter_solution

filter_solution property

intermediate

intermediate property

num_solves

num_solves property

response_time

response_time property

solutions

solutions property

split

split property

total_time

total_time property

class GraphConversion
class ChainBreakFractions
class Iterator
__init__(*args, **kwargs)
__iter__(self) Iterator

__iter__

Return type:

Iterator

__next__(self) float

__next__

Return type:

float

__bool__(self) bool

__bool__

Return type:

bool

__getitem__(self, key: int) float

__getitem__

Parameters:

key (int) –

Return type:

float

__init__(*args, **kwargs)
__iter__(self) Iterator

__iter__

Return type:

Iterator

__len__(self) int

__len__

Return type:

int

__repr__(self) str

__repr__

Return type:

str

__str__(self) str

__str__

Return type:

str

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

__repr__

Return type:

str

__str__(self) str

__str__

Return type:

str

property chain_break_fractions

chain_break_fractions property

Return type:

ChainBreakFractions

property chains

chains property

Return type:

list[ndarray[Any, dtype[numpy.uint32], writable[False]]]

property dst_graph

dst_graph property

Return type:

Graph

property num_variables

num_variables property

Return type:

int

property poly

poly property

Return type:

Poly

property src_graph

src_graph property

Return type:

list[tuple[int, int]]

property values_list

values_list property

Return type:

ValuesList

class ModelConversion
class IntermediateMapping
class ItemsView
__bool__(self) bool

__bool__

Return type:

bool

__init__(*args, **kwargs)
__iter__(self) ItemsView

__iter__

Return type:

ItemsView

__len__(self) int

__len__

Return type:

int

__next__(self) tuple[Poly, Poly]

__next__

Return type:

tuple[Poly, Poly]

class KeysView
__bool__(self) bool

__bool__

Return type:

bool

__contains__(self, arg: Poly, /) bool
__contains__(self, arg: Any, /) bool

__contains__

Overloading:

1. __contains__(self, arg: amplify.Poly, /) -> bool

Args:
  • arg (amplify.Poly):

Returns:

bool:

2. __contains__(self, arg: Any, /) -> bool

Args:
  • arg (Any):

Returns:

bool:

__init__(*args, **kwargs)
__iter__(self) KeysView

__iter__

Return type:

KeysView

__len__(self) int

__len__

Return type:

int

__next__(self) Poly

__next__

Return type:

Poly

class ValuesView
__bool__(self) bool

__bool__

Return type:

bool

__init__(*args, **kwargs)
__iter__(self) ValuesView

__iter__

Return type:

ValuesView

__len__(self) int

__len__

Return type:

int

__next__(self) Poly

__next__

Return type:

Poly

__bool__(self) bool

__bool__

Return type:

bool

__contains__(self, arg: Poly, /) bool
__contains__(self, arg: Any, /) bool

__contains__

Overloading:

1. __contains__(self, arg: amplify.Poly, /) -> bool

Args:
  • arg (amplify.Poly):

Returns:

bool:

2. __contains__(self, arg: Any, /) -> bool

Args:
  • arg (Any):

Returns:

bool:

__getitem__(self, arg: Poly, /) Poly

__getitem__

Parameters:

arg (Poly) –

Return type:

Poly

__init__(*args, **kwargs)
__iter__(self) KeysView

__iter__

Return type:

KeysView

__len__(self) int

__len__

Return type:

int

__repr__(self) str

__repr__

Return type:

str

__str__(self) str

__str__

Return type:

str

items(self) ItemsView

items

Return type:

ItemsView

keys(self) KeysView

keys

Return type:

KeysView

values(self) ValuesView

values

Return type:

ValuesView

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

__repr__

Return type:

str

__str__(self) str

__str__

Return type:

str

property mapping

mapping property

Return type:

IntermediateMapping

property model

model property

Return type:

Model

property num_variables

num_variables property

Return type:

int

property values_list

values_list property

Return type:

ValuesList

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

__repr__

Return type:

str

__str__(self) str

__str__

Return type:

str

property feasible

feasible property

Return type:

bool

property objective

objective property

Return type:

float

property time

time property

Return type:

timedelta

property values

values property

Return type:

Values

class SolutionList
class Iterator
__init__(*args, **kwargs)
__iter__(self) Iterator

__iter__

Return type:

Iterator

__next__(self) Solution

__next__

Return type:

Solution

__bool__(self) bool

__bool__

Return type:

bool

__getitem__(self, key: int) Solution

__getitem__

Parameters:

key (int) –

Return type:

Solution

__init__(*args, **kwargs)
__iter__(self) Iterator

__iter__

Return type:

Iterator

__len__(self) int

__len__

Return type:

int

__repr__(self) str

__repr__

Return type:

str

__str__(self) str

__str__

Return type:

str

class SplitView
__bool__(self) bool

__bool__

Return type:

bool

__getitem__(self, key: int) Result

__getitem__

Parameters:

key (int) –

Return type:

Result

__init__(*args, **kwargs)
__iter__(self) SplitView

__iter__

Return type:

SplitView

__len__(self) int

__len__

Return type:

int

__next__(self) Result

__next__

Return type:

Result

class ValuesList
class Iterator
__init__(*args, **kwargs)
__iter__(self) Iterator

__iter__

Return type:

Iterator

__next__(self) Values

__next__

Return type:

Values

__bool__(self) bool

__bool__

Return type:

bool

__getitem__(self, key: int) Values

__getitem__

Parameters:

key (int) –

Return type:

Values

__init__(*args, **kwargs)
__iter__(self) Iterator

__iter__

Return type:

Iterator

__len__(self) int

__len__

Return type:

int

__repr__(self) str

__repr__

Return type:

str

__str__(self) str

__str__

Return type:

str

__getitem__(self, key: int) Solution

__getitem__

Parameters:

key (int) –

Return type:

Solution

__init__(*args, **kwargs)
__iter__(self) Iterator

__iter__

Return type:

Iterator

__len__(self) int

__len__

Return type:

int

__repr__(self) str

__repr__

Return type:

str

__str__(self) str

__str__

Return type:

str

sort(self) None

sort

property best

best property

Return type:

Solution

property client_result

client_result property

Return type:

Result | SampleSet | SampleSet | SampleSet | Result | Result | Result | Result | None

property embedding

embedding property

Return type:

GraphConversion | None

property execution_time

execution_time property

Return type:

timedelta

property filter_solution

filter_solution property

Return type:

bool

property intermediate

intermediate property

Return type:

ModelConversion

property num_solves

num_solves property

Return type:

int

property response_time

response_time property

Return type:

timedelta

property solutions

solutions property

Return type:

SolutionList

property split

split property

Return type:

SplitView

property total_time

total_time property

Return type:

timedelta