View source on GitHub |
The local version of the stabilizers for a 2-d grid.
openfermion.transforms.opconversions.verstraete_cirac.stabilizer_local_2d_square(
i, j, x_dimension, y_dimension
)
i and j are indices on the auxiliary graph. Currently this only works for even x_dimension.