Answer is: quantum theory (mechanics).
Quantum theory is theory in physics which describes nature of energy levels of atoms and subatomic particles. Quantum theory is formulated in different particularly developed mathematical formalisms.
According to this theory energy of a system may be restricted to discrete values (quantization).