amplify.IsingPoly

class IsingPoly

no docstring

__init__(*args, **kwargs)

Overloaded function.

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

no docstring

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

  2. __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

symbol

no docstring

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

Overloaded function.

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

no docstring

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

  2. 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.

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

no docstring

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

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

  3. 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.

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

no docstring

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

  2. 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