Văn bản này: A theory of quantum subspace diagonalization