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