In quantum mechanics, spacetime transformations act on quantum states. The parity transformation, P ^ ^ , is a unitary operator, in general acting on a state ψ ψ as follows: P ^ ^ ψ ψ ( r ) = e i ϕ ϕ / 2 ψ ψ ( − − r ) .