For two nonorthogonal input states , preservation of inner products by gives
Hence the two output-program states agree up to phase. Any two qubit states can be joined through a state nonorthogonal to both, so after absorbing phases
is independent of the input.