Algebra

Polynomial classes and utilities

Class

amplify.BinaryPoly

no docstring

amplify.BinaryIntPoly

no docstring

amplify.IsingPoly

no docstring

amplify.IsingIntPoly

no docstring

Function

amplify.replace_all

Overloaded function.

amplify.gen_symbols

Overloaded function.

amplify.decode_solution

Overloaded function.

amplify.sum_poly

Overloaded function.

amplify.pair_sum

Overloaded function.

amplify.product

Overloaded function.

Logical Polynomial

Class

amplify.LogicPoly

no docstring

Function

amplify.replace_all

Overloaded function.

amplify.gen_symbols

Overloaded function.

amplify.intersection

Overloaded function.

amplify.union

Overloaded function.

amplify.symmetric_difference

Overloaded function.

Matrix Representation

Class

amplify.BinaryMatrix

Upper triangular matrix representation of QUBO model with real coefficients.

amplify.BinaryIntMatrix

Upper triangular matrix representation of QUBO model with integer coefficients.

amplify.IsingMatrix

Upper triangular matrix representation of the Ising model with real coefficients.

amplify.IsingIntMatrix

Upper triangular matrix representation of the Ising model with integer coefficients.

Function

amplify.convert_to_matrix

Converts Poly class to Matrix class.