For a ψ\psi in a complex Hilbert space, the rank-one projector onto its span is the operator

Πψ=∣ψ⟩⟨ψ∣,Πψ(x)=⟨ψ,x⟩ψ.\Pi_\psi=|\psi\rangle\langle\psi|,\qquad \Pi_\psi(x)=\langle\psi,x\rangle\psi.

It is an , is , is idempotent, and has trace one. Multiplying ψ\psi by a complex phase leaves Πψ\Pi_\psi unchanged, so the projector represents the associated one-dimensional complex line rather than a chosen vector on it.