A Theory of Quantum Subspace Diagonalization | Synapse