Quantum state transformations and the Schubert calculus