amplify.BinaryIntPoly
- class BinaryIntPoly
no docstring
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: amplify.BinaryIntPoly) -> None
no docstring
__init__(self: amplify.BinaryIntPoly, arg0: amplify.BinaryIntPoly) -> None
__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
no docstring
- asdict(self: amplify.BinaryIntPoly) dict
- change_variables(*args, **kwargs)
Overloaded function.
change_variables(self: amplify.BinaryIntPoly, arg0: Dict[int, int]) -> amplify.BinaryIntPoly
no docstring
change_variables(self: amplify.BinaryIntPoly, arg0: List[int]) -> amplify.BinaryIntPoly
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.
decode(self: amplify.BinaryIntPoly, list: List[int], default: int = 1) -> int
no docstring
decode(self: amplify.BinaryIntPoly, dict: Dict[int, int], default: int = 1) -> int
decode(self: amplify.BinaryIntPoly, arg0: function) -> int
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.
replace_all(self: amplify.BinaryIntPoly, list: List[int], default: int = 1) -> int
no docstring
replace_all(self: amplify.BinaryIntPoly, dict: Dict[int, int], default: int = 1) -> int
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