Demonstration of a passive swap gate between the states of a fibre-guided photonic qubit and a single atom.