Theory of Quantum Materials and Solid State Quantum Technologies