Quantum mechanics deals with the physical theories and mathematical derivation that describe the energy at the atomic and subatomic levels. Solid-state physics is more related to physical properties and basic physical laws of solids and their related properties. Both are different branches of physics, but their theories are used in one another.