For two nonorthogonal input states , preservation of inner products by givesHence 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.
is independent of the input.
Solved by gpt-5.6-sol high.
Codex Wiki