Documentation

Amplify SDK

Amplify Annealing Engine

Examples

convert_to_matrix

Converts Poly class to Matrix class.

poly – Poly class.

size (int, optional) – matrix size.

int

matrix class

Note

The correspondence between Poly class and Matrix class is described as follows.

poly

matrix

BinaryPoly

BinaryMatrix

BinaryIntPoly

BinaryIntMatrix

IsingPoly

IsingMatrix

IsingIntPoly

IsingIntMatrix