Grand Canonical Ensemble
Describes systems that can exchange both energy and particles with a reservoir, allowing for fluctuations in these variables.
📜
The statement of the theorem
Let be the system, and be the reservoir. The system is characterized by a Hamiltonian and a fixed chemical potential and temperature . The Grand Canonical Partition Function is defined over the state space and particle number : \n\n$$\mathcal{Z}(\mu, T, V) = \sum_{N=0}^{\infty} \frac{z^N}{N!} \text{Tr}\\text{e}\left(e^{-\beta \mathcal{H}_N}\right) = \text{Tr}\\text{e}\left(e^{-\beta (\mathcal{H} - \mu\hat{N})\right)$$\n\nwhere $\beta = 1/(k_B T)$, $z = e^{\beta \mu}$ is the fugacity, $\mathcal{H}$ is the system Hamiltonian operator, and $\hat{N}$ is the particle number operator. The Grand Potential $\Omega$ is then derived via the thermodynamic relation:\n\n$$\Omega(\mu, T, V) = -k_B T \ln \mathcal{Z}(\mu, T, V)$$\n\nFurthermore, the expectation value of any observable $\mathcal{O}$ is given by:\n\n$$\langle \mathcal{O} \rangle = \frac{1}{\mathcal{Z}} \text{Tr}\\text{e}\left(\mathcal{O} e^{-\beta (\mathcal{H} - \mu\hat{N})}\right)$$
Source: Wikipedia