Probabilistic remote preparation of a three-atom Greenberger–Horne–Zeilinger class state via cavity quantum electrodynamics