Astrophysical Applications of Quantum Mechanics