Quantum spin-flipping by the Faraday mirror