gate problems on lattices