Quantum physics studies the behavior of subatomic particles—such as electrons and photons—at the tiniest energy levels. In contrast to classical physics, it reveals principles that seem almost “magical”: