fastdla.generators.z2lgt_hva.z2lgt_gauss_local_projector

fastdla.generators.z2lgt_hva.z2lgt_gauss_local_projector(num_fermions, isite, eigval)

Construct the Gauss’s law projector for the Z2 LGT model for a single matter site.

Physical states of the Z2 LGT model must be eigenstates of

\[G_n = X_{n-1,n}Z_{n}X_{n1,n+1}.\]

Given an eigenvalue for each G_n, we can construct a projector to its subspace as a sum of Pauli ops.

Return type:

SparsePauliSum