At any moment a system is distributed across an ensemble of Ω Ω microstates, each labeled by i , and having a probability of occupation p i , and an energy E i . If the microstates are quantum-mechanical in nature, then these microstates form a discrete set as defined by quantum statistical mechanics, and E i is an energy level of the system.