We present a scheme able to protect the quantum states of a cavity mode against the decohering effects of photon loss. The scheme preserves quantum states with a definite parity, and it is implemented by sending single atoms, one by one, through the cavity.
展开▼