Quantum Theory of Galactic Dynamics