Using Talbot lattices for quantum state manipulation