QUANTUM LOGIC GATES IN OPTICAL LATTICES