Thus, as shown above, the partition function plays the role of a normalizing constant (note that it does not depend on s), ensuring that the probabilities sum up to one: ∑ ∑ s P s = 1 Z ∑ ∑ s e − − β β E s = 1 Z Z = 1.