The branch of physics describing the behavior of matter and energy at atomic and subatomic scales, characterized by quantization of energy, wave-particle duality, the superposition principle, and probabilistic measurement outcomes. The mathematical formalism of quantum mechanics (wave equations, eig