quantum lattice gates