A Z2 gauge theory with Ising matter field on a 2-dimensional square lattice has the Hamiltonian
H=−t∑→r,jσxj(→r)−g∑→rσz1(→r)σz2(→r)σz3(→r)σz4(→r)−λ∑→rτx(→r)−μ∑→r,jτz(→r)σzj(→r)τz(→r+ˆej)
where σ's are Pauli operators for the gauge field living on the links and τ's are the Pauli operators for the matter field living on the sites. →r denotes the position of a site and j denotes the link attached to the site which is in the ˆej direction. The local gauge transformation is induced by
τx(→r)σxˆex(→r)σx−ˆex(→r)σxˆey(→r)σx−ˆey(→r)
In chapter 9.10 of the book *Field theories of condensed matter physics* by Fradkin, he said we can choose a unitary gauge defined by
τz(→r)=1∀ →r
so that the last term becomes
−μ∑→r,jσzj(→r)
On the other hand, gauge invariance implies the Hilbert space we are considering is the one that consists of vectors which are invariant under the local gauge transformation, so the third term becomes
−λ∑→rσxˆex(→r)σx−ˆex(→r)σxˆey(→r)σx−ˆey(→r)
so the Hamiltonian becomes
H=−t∑→r,jσxj(→r)−g∑→rσz1(→r)σz2(→r)σz3(→r)σz4(→r)−λ∑→rσxˆex(→r)σx−ˆex(→r)σxˆey(→r)σx−ˆey(→r)−μ∑→r,jσzj(→r)
My question here is: after choosing a gauge, why do we still have gauge invariance so that the gauge transformation generators act trivially? In this example, the question is that after choosing the unitary gauge τz(→r)=1, why do we still have τx(→r)σxˆex(→r)σx−ˆex(→r)σxˆey(→r)σx−ˆey(→r)=1?