fastdla.generators.z2lgt_hva.z2lgt_gauss_projector

fastdla.generators.z2lgt_hva.z2lgt_gauss_projector(eigvals)

Construct the Gauss’s law projector for the Z2 LGT model.

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. The overall projector will then be a product of all such projectors.

Return type:

SparsePauliSum