amplify.IsingIntPoly

class IsingIntPoly

Bases: pybind11_object

no docstring

__init__(*args, **kwargs)

Overloaded function.

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

no docstring

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

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

Overloaded function.

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

no docstring

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

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

constant(self: amplify.IsingIntPoly) int

no docstring

count(self: amplify.IsingIntPoly) int

no docstring

decode(*args, **kwargs)

Overloaded function.

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

no docstring

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

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

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

degree(self: amplify.IsingIntPoly) int

no docstring

is_linear(self: amplify.IsingIntPoly) bool

no docstring

is_number(self: amplify.IsingIntPoly) bool

no docstring

is_quadratic(self: amplify.IsingIntPoly) bool

no docstring

max_index(self: amplify.IsingIntPoly) int

no docstring

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

no docstring

replace_all(*args, **kwargs)

Overloaded function.

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

no docstring

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

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

property symbol

no docstring

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

no docstring

to_Ising(self: amplify.IsingIntPoly, ascending: bool = True) amplify.IsingPoly

no docstring

to_Matrix(self: amplify.IsingIntPoly) Tuple[libqam::IsingMatrix<int>, int]

no docstring