Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain
the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in
Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles
and JavaScript.
Excitations to Rydberg states in a gas of ultracold atoms are used to produce a robust, nonlinear phase shift of exactly π/2 between two photons, which is protected against variations in experimental parameters by a symmetry of the system.