|View source on GitHub|
Apply the Verstraete-Cirac transform on a 2-d square lattice.
openfermion.transforms.verstraete_cirac_2d_square( operator, x_dimension, y_dimension, add_auxiliary_hamiltonian=True, snake=False )
Note that this transformation adds one auxiliary fermionic mode for each mode already present, and hence it doubles the number of qubits needed to represent the system.
Currently only supports even values of x_dimension and only works for spinless models.
|operator (FermionOperator): The operator to transform. x_dimension (int): The number of columns of the grid. y_dimension (int): The number of rows of the grid. snake (bool, optional): Indicates whether the fermions are already ordered according to the 2-d "snake" ordering. If False, we assume they are in "lexicographic" order by row and column index. Default is False.|