amplify.BinaryIntPoly

class BinaryIntPoly

Bases: pybind11_object

no docstring

__init__(*args, **kwargs)

Overloaded function.

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

no docstring

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

  2. __init__(self: amplify.BinaryIntPoly, *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.BinaryIntPoly) dict
change_variables(*args, **kwargs)

Overloaded function.

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

no docstring

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

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

constant(self: amplify.BinaryIntPoly) int

no docstring

count(self: amplify.BinaryIntPoly) int

no docstring

decode(*args, **kwargs)

Overloaded function.

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

no docstring

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

  2. decode(self: amplify.BinaryIntPoly, arg0: function) -> int

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

degree(self: amplify.BinaryIntPoly) int

no docstring

is_linear(self: amplify.BinaryIntPoly) bool

no docstring

is_number(self: amplify.BinaryIntPoly) bool

no docstring

is_quadratic(self: amplify.BinaryIntPoly) bool

no docstring

max_index(self: amplify.BinaryIntPoly) int

no docstring

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

no docstring

replace_all(*args, **kwargs)

Overloaded function.

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

no docstring

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

  2. replace_all(self: amplify.BinaryIntPoly, arg0: function) -> int

property symbol

no docstring

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

no docstring

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

no docstring

to_Matrix(self: amplify.BinaryIntPoly) Tuple[libqam::QuboMatrix<int>, int]

no docstring