amplify.BinaryPoly

class BinaryPoly

no docstring

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: amplify.BinaryPoly) -> None

no docstring

  1. __init__(self: amplify.BinaryPoly, arg0: amplify.BinaryPoly) -> None

  2. __init__(self: amplify.BinaryPoly, *args) -> None

Methods

__init__(*args, **kwargs)

Overloaded function.

asdict(self)

change_variables(*args, **kwargs)

Overloaded function.

constant(self)

no docstring

count(self)

no docstring

decode(*args, **kwargs)

Overloaded function.

degree(self)

no docstring

is_linear(self)

no docstring

is_number(self)

no docstring

is_quadratic(self)

no docstring

max_index(self)

no docstring

replace(self, dict)

no docstring

replace_all(*args, **kwargs)

Overloaded function.

to_Binary(self[, ascending])

no docstring

to_Ising(self, ascending)

no docstring

to_Matrix(self)

no docstring

Attributes

symbol

no docstring

asdict(self: amplify.BinaryPoly) dict
change_variables(*args, **kwargs)

Overloaded function.

  1. change_variables(self: amplify.BinaryPoly, arg0: Dict[int, int]) -> amplify.BinaryPoly

no docstring

  1. change_variables(self: amplify.BinaryPoly, arg0: List[int]) -> amplify.BinaryPoly

  2. change_variables(self: amplify.BinaryPoly, arg0: function) -> amplify.BinaryPoly

constant(self: amplify.BinaryPoly) float

no docstring

count(self: amplify.BinaryPoly) int

no docstring

decode(*args, **kwargs)

Overloaded function.

  1. decode(self: amplify.BinaryPoly, list: List[int], default: int = 1) -> float

no docstring

  1. decode(self: amplify.BinaryPoly, dict: Dict[int, int], default: int = 1) -> float

  2. decode(self: amplify.BinaryPoly, arg0: function) -> float

  3. decode(self: amplify.BinaryPoly, dict: Dict[int, int], default: None) -> object

degree(self: amplify.BinaryPoly) int

no docstring

is_linear(self: amplify.BinaryPoly) bool

no docstring

is_number(self: amplify.BinaryPoly) bool

no docstring

is_quadratic(self: amplify.BinaryPoly) bool

no docstring

max_index(self: amplify.BinaryPoly) int

no docstring

replace(self: amplify.BinaryPoly, dict: Dict[int, int]) amplify.BinaryPoly

no docstring

replace_all(*args, **kwargs)

Overloaded function.

  1. replace_all(self: amplify.BinaryPoly, list: List[int], default: int = 1) -> float

no docstring

  1. replace_all(self: amplify.BinaryPoly, dict: Dict[int, int], default: int = 1) -> float

  2. replace_all(self: amplify.BinaryPoly, arg0: function) -> float

property symbol

no docstring

to_Binary(self: amplify.BinaryPoly, ascending: bool = True) amplify.BinaryPoly

no docstring

to_Ising(self: amplify.BinaryPoly, ascending: bool = True) libqam::Poly<libqam::Ising, double>

no docstring

to_Matrix(self: amplify.BinaryPoly) Tuple[libqam::QuboMatrix<double>, float]

no docstring