Anomalous dimension of local operators on the lattice