amplify.IsingPoly
- class IsingPoly
no docstring
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: amplify.IsingPoly) -> None
no docstring
__init__(self: amplify.IsingPoly, arg0: amplify.IsingPoly) -> None
__init__(self: amplify.IsingPoly, *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.IsingPoly) dict
- change_variables(*args, **kwargs)
Overloaded function.
change_variables(self: amplify.IsingPoly, arg0: Dict[int, int]) -> amplify.IsingPoly
no docstring
change_variables(self: amplify.IsingPoly, arg0: List[int]) -> amplify.IsingPoly
change_variables(self: amplify.IsingPoly, arg0: function) -> amplify.IsingPoly
- constant(self: amplify.IsingPoly) float
no docstring
- count(self: amplify.IsingPoly) int
no docstring
- decode(*args, **kwargs)
Overloaded function.
decode(self: amplify.IsingPoly, list: List[int], default: int = 1) -> float
no docstring
decode(self: amplify.IsingPoly, dict: Dict[int, int], default: int = 1) -> float
decode(self: amplify.IsingPoly, arg0: function) -> float
decode(self: amplify.IsingPoly, dict: Dict[int, int], default: None) -> object
- degree(self: amplify.IsingPoly) int
no docstring
- is_linear(self: amplify.IsingPoly) bool
no docstring
- is_number(self: amplify.IsingPoly) bool
no docstring
- is_quadratic(self: amplify.IsingPoly) bool
no docstring
- max_index(self: amplify.IsingPoly) int
no docstring
- replace(self: amplify.IsingPoly, dict: Dict[int, int]) amplify.IsingPoly
no docstring
- replace_all(*args, **kwargs)
Overloaded function.
replace_all(self: amplify.IsingPoly, list: List[int], default: int = 1) -> float
no docstring
replace_all(self: amplify.IsingPoly, dict: Dict[int, int], default: int = 1) -> float
replace_all(self: amplify.IsingPoly, arg0: function) -> float
- property symbol
no docstring
- to_Binary(self: amplify.IsingPoly, ascending: bool = True) amplify.BinaryPoly
no docstring
- to_Ising(self: amplify.IsingPoly, ascending: bool = True) amplify.IsingPoly
no docstring
- to_Matrix(self: amplify.IsingPoly) Tuple[libqam::IsingMatrix<double>, float]
no docstring