Apply the Verstraete-Cirac transform on a 2-d square lattice.

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.

transformed_operator A QubitOperator.