Microcanonical Ensemble
The microcanonical ensemble represents an isolated quantum system whose exact conserved quantities are fixed and whose energy is restricted to a specified shell. For a fixed-particle-number Hamiltonian , choose the interval
Let
be the spectral projector onto that interval. If
is finite and nonzero, the microcanonical density operator is
This page is the canonical home for quantum energy shells, their state counts, microcanonical entropy, thermodynamic derivatives, and their qualified relation to isolated-system dynamics.
The Energy-Shell Projector
Section titled “The Energy-Shell Projector”Suppose the Hamiltonian has spectral resolution
where projects onto the eigenspace of energy . Then
If
is the degeneracy of , the shell dimension is
The microcanonical state therefore assigns equal weight per orthonormal state inside the shell:
A finite quantum spectrum is restricted to a window of width . The spectral projector retains every eigenspace in the window, counts its dimension, and is uniform on that subspace.
Basic Density-Operator Properties
Section titled “Basic Density-Operator Properties”Because is an orthogonal projector,
It follows that is Hermitian and positive. Its trace is
Its support is exactly the energy-shell subspace:
Within that support, all nonzero eigenvalues of are . Therefore
and its purity is
The state is pure only when .
Microcanonical Expectation Values
Section titled “Microcanonical Expectation Values”For an observable ,
In the energy basis,
Off-diagonal matrix elements between distinct energy eigenspaces do not contribute to this equilibrium average. Degenerate eigenspaces are included through their full projectors, so the formula is basis independent inside each degeneracy.
Energy Support and Fluctuations
Section titled “Energy Support and Fluctuations”Every energy in the shell lies between
and
Consequently,
The energy is not necessarily one exact eigenvalue. Its variance satisfies the support bound
Thus “fixed energy” means fixed to the declared shell. If the shell contains several eigenvalues, an energy measurement still has a distribution over those values.
Exact-Energy Special Case
Section titled “Exact-Energy Special Case”If the energy is known exactly and is an eigenvalue, use
The exact-energy microcanonical state is
For a nondegenerate eigenvalue,
so
is pure. For a degenerate eigenvalue, the exact-energy ensemble is maximally mixed within the degenerate eigenspace unless further conserved quantities or preparation information resolve it.
This distinction matters in small systems. A single nondegenerate eigenstate has no large state count from which smooth thermodynamics can be inferred.
How Wide Should the Shell Be?
Section titled “How Wide Should the Shell Be?”The shell width is part of the ensemble definition. A useful many-body window should be:
- broad compared with the local level spacing;
- narrow compared with the macroscopic energy scale;
- stable under modest changes of its center and width;
- restricted to the correct symmetry and conserved-charge sector.
Schematically, one wants
Along a thermodynamic sequence, a common requirement is
while
The two limits are compatible because the many-body level spacing often becomes extremely small as system size grows.
There is no universal shell width that works for every Hamiltonian, energy, and observable. Near spectral edges, gaps, mobility edges, first-order coexistence, or sparse symmetry sectors, the required checks can be especially delicate.
State Counting and Density of States
Section titled “State Counting and Density of States”Define the cumulative state count
For a discrete spectrum, is a staircase. Its distributional derivative is the density of states
The shell count is
If a coarse-grained density of states varies slowly across the window,
For a finite exact spectrum, is a sum of delta functions. Differentiating or taking logarithms therefore requires a shell, smoothing prescription, or thermodynamic limit. The Green Functions and Density of States page owns spectral-density methods; here the density of states is used for thermodynamic counting.
Microcanonical Entropy
Section titled “Microcanonical Entropy”The shell entropy is
Because is dimensionless, the logarithm is well defined.
The von Neumann entropy of the microcanonical density operator gives the same result:
This equality relies on the uniform nonzero eigenvalues .
Entropy Conventions
Section titled “Entropy Conventions”Several related quantities are called microcanonical entropy.
Shell-count entropy
Section titled “Shell-count entropy”The finite-window definition is
It makes the energy resolution explicit and is the primary convention on this page.
Density-of-states entropy
Section titled “Density-of-states entropy”For a smoothed density of states, one may define
where the reference energy makes the logarithm dimensionless.
When is nearly constant across the shell,
Cumulative-count entropy
Section titled “Cumulative-count entropy”Another convention is
For regular macroscopic systems, these definitions can share the same leading extensive entropy while differing by subextensive or finite-size terms. For small systems, bounded spectra, and questions about negative temperature, their derivatives can differ qualitatively.
Always state the convention before quoting a microcanonical temperature or heat capacity.
Maximum-Entropy Characterization
Section titled “Maximum-Entropy Characterization”The microcanonical state is the maximum-entropy state supported in the chosen shell.
Let be any density operator satisfying
The quantum relative entropy is
On the shell,
Therefore
Hence
with equality only for
Equal shell weights are thus a precise maximum-entropy assignment under a support constraint. This inference statement should not be confused with a proof that unitary dynamics randomizes amplitudes. Maximum Entropy Principle compares this exact-support problem with mean-value constraints and general exponential states.
Thermodynamic Temperature
Section titled “Thermodynamic Temperature”Temperature is derived in the microcanonical ensemble. Let
be a smooth dimensionless thermodynamic entropy. The inverse temperature is
Equivalently,
This derivative presupposes a smooth entropy. For a finite staircase count, one must specify finite differences, interpolation, smoothing, or a limiting sequence.
Pressure and Chemical Potential
Section titled “Pressure and Chemical Potential”The microcanonical entropy representation has differential
Thus
and
Because is discrete in a finite quantum system, particle-addition derivatives are often implemented as finite differences. The thermodynamic chemical potential emerges after a suitable large-system limit.
Heat Capacity and Entropy Curvature
Section titled “Heat Capacity and Entropy Curvature”At fixed and ,
Differentiating gives
Therefore the microcanonical heat capacity is
In terms of the dimensionless entropy,
A concave entropy has
and therefore positive heat capacity. Convex regions can produce negative microcanonical heat capacity. Such behavior requires careful interpretation and may occur in finite systems with interface effects or in nonadditive long-range systems, where canonical and microcanonical descriptions can be nonequivalent.
Why Equal Temperatures Describe Equilibrium
Section titled “Why Equal Temperatures Describe Equilibrium”Consider two weakly coupled systems and with fixed total energy
The number of compatible states near a division is proportional to
Its logarithm is
At the most probable energy division,
Therefore
which gives
Temperature is the quantity that equalizes because it is derived from the slope of entropy with respect to exchanged energy.
Connection to the Canonical Ensemble
Section titled “Connection to the Canonical Ensemble”The canonical partition function can be written as a transform of the density of states:
Writing
gives
For a large regular system, a saddle point satisfies
This is exactly the matching condition
The canonical ensemble concentrates near the microcanonical energy whose entropy slope matches the bath temperature. Concavity, additivity, finite-size corrections, and phase coexistence determine how accurate this saddle description is.
Stationarity
Section titled “Stationarity”Because the shell projector is a function of the Hamiltonian,
Therefore
and
The microcanonical state is stationary. Stationarity is necessary for equilibrium, but it is not sufficient to explain why a given preparation is described by this state.
Isolation Preserves the Energy Distribution
Section titled “Isolation Preserves the Energy Distribution”For any state evolving under a time-independent Hamiltonian,
the probability of each energy eigenspace is conserved:
If the initial state lies entirely inside the shell,
then it remains inside the shell:
Isolation therefore justifies energy-shell support. It does not force equal weights inside that support.
Pure States Do Not Become the Mixed Shell State
Section titled “Pure States Do Not Become the Mixed Shell State”If
is pure, unitary evolution preserves purity:
When ,
Hence the exact global state cannot converge in density operator to under closed unitary dynamics.
What can happen is subtler:
- expectation values of selected observables can approach microcanonical values;
- time fluctuations can become small;
- small subsystems can have approximately thermal reduced states;
- coarse-grained descriptions can lose access to phase information.
These are statements about observables, reductions, or approximations, not literal global mixing.
Time Average and the Diagonal Ensemble
Section titled “Time Average and the Diagonal Ensemble”For a time-independent Hamiltonian, the infinite-time average is
Using the spectral projectors of ,
This dephases coherences between distinct energies while preserving the initial weights in each eigenspace.
In general,
The diagonal ensemble becomes microcanonically predictive for an observable only when its preserved weights, the observable’s eigenstate matrix elements, and the shell width make the difference irrelevant.
Typical Pure States in a Shell
Section titled “Typical Pure States in a Shell”Let be Haar-random in a shell of dimension . Define
The average pure-state expectation is exactly microcanonical:
For Hermitian , the Haar variance is
In particular,
When is large, most shell vectors give nearly the same expectation value for a fixed bounded observable.
This is typicality, not a statement that every physically prepared state is Haar-random or that dynamics explores the shell uniformly.
Canonical Typicality for a Subsystem
Section titled “Canonical Typicality for a Subsystem”Let the isolated system split into a small subsystem and a much larger environment . The reduced microcanonical state is
For most pure vectors in a sufficiently large constrained shell, the reduced state
is close to under suitable dimension conditions. If the environment density of states has the required smooth thermodynamic form and the coupling is weak, can in turn be approximately canonical.
This route explains how a globally pure, fixed-energy state can look thermal locally. It does not imply that the global pure state equals the mixed microcanonical state.
Eigenstate Thermalization Boundary
Section titled “Eigenstate Thermalization Boundary”The eigenstate thermalization hypothesis proposes, for suitable nonintegrable many-body systems and observables, that diagonal matrix elements vary smoothly with energy:
Then nearby eigenstates can already reproduce microcanonical values for local observables, and a narrow-energy superposition can equilibrate to those values after dephasing.
ETH is not a universal theorem for all Hamiltonians. Integrable systems, many-body localized systems, constrained models, scars, exact degeneracies, and small systems require separate analysis. Relaxation and Thermalization owns the dynamical passage from dephasing to local ensemble agreement; the following ETH page owns the detailed matrix-element ansatz.
Conserved Charges and Symmetry Sectors
Section titled “Conserved Charges and Symmetry Sectors”Energy may not be the only exact constraint. Suppose
If the preparation has definite values of the charges , the microcanonical projector should be restricted accordingly:
for mutually commuting projectors.
Examples include:
- particle number;
- total magnetization;
- crystal momentum;
- parity;
- total angular momentum;
- superselection charges.
Mixing dynamically disconnected sectors can inflate and give wrong averages. When there are extensively many relevant conserved quantities, an ordinary energy-only ensemble may be insufficient.
Example: Independent Two-Level Sites
Section titled “Example: Independent Two-Level Sites”Consider sites with
where
The energy with exactly excited sites is
Its degeneracy is
The exact-energy microcanonical state is
where projects onto the -excitation subspace.
Entropy
Section titled “Entropy”The shell entropy is
For
and large , Stirling’s approximation gives
Temperature
Section titled “Temperature”Treating as continuous,
Thus:
The negative- branch is possible because the spectrum is bounded above by . It corresponds to population inversion under the shell-entropy convention.
One-site reduced state
Section titled “One-site reduced state”Permutation symmetry gives
The one-site state is
For large , this agrees locally with a canonical two-level state whose inverse temperature satisfies
Constraint-induced correlations
Section titled “Constraint-induced correlations”For distinct sites,
The connected correlation is
Exact fixed total excitation number creates a weak anticorrelation. It vanishes for fixed as , illustrating how local canonical behavior can coexist with an exact global microcanonical constraint.
Negative Temperatures
Section titled “Negative Temperatures”Under an entropy convention for which the number of shell states decreases near the top of a bounded spectrum,
so
A normalizable canonical state at negative requires a spectrum bounded above, or another mechanism that makes
finite. An ordinary unbounded kinetic-energy spectrum does not satisfy this requirement.
Finite-size temperature assignments can depend on whether shell, density, or cumulative entropy is used. For that reason, any negative-temperature claim should specify:
- the bounded degrees of freedom;
- the equilibration timescale within that sector;
- the entropy convention;
- the observable evidence for equilibrium;
- the isolation from unbounded positive-temperature degrees of freedom.
Population inversion alone is not enough to establish a complete equilibrium thermodynamic description.
Finite Systems
Section titled “Finite Systems”For a finite spectrum:
- changes discontinuously as the window crosses a level;
- depends on ;
- thermodynamic derivatives require finite differences or smoothing;
- one shell may contain too few states for typicality;
- symmetry-sector choices can dominate the count;
- canonical and microcanonical predictions can differ appreciably.
These are not defects. They are reminders that thermodynamics is an emergent large-system description and that finite systems require their exact spectral data to be stated.
Computational Workflow
Section titled “Computational Workflow”For exact diagonalization or a finite spectral calculation:
- choose the Hilbert space and all exact symmetry sectors;
- compute or estimate the relevant eigenvalues and degeneracies;
- inspect the local level spacing near the target energy;
- select and and report both;
- form the mask or projector onto the shell;
- compute , , and energy moments;
- vary and to test stability;
- compare with a canonical state whose mean energy matches the shell;
- report finite-size and truncation errors.
For a shell eigenbasis ,
One need not construct the full dense projector if diagonal matrix elements and shell membership are available.
Canonical Boundaries
Section titled “Canonical Boundaries”This page owns:
- finite quantum energy-shell projectors;
- shell dimensions and microcanonical expectation values;
- shell, density, and cumulative entropy conventions;
- thermodynamic derivatives from entropy;
- the distinction between shell support, typicality, and dynamical thermalization;
- the fixed-excitation spin example.
Other pages own:
- comparison among all standard ensembles: Statistical Ensembles Overview;
- the general spectral and operator properties of Gibbs states: Thermal Density Operators;
- fixed-temperature thermodynamics: Canonical Ensemble;
- variable-particle-number traces and fluctuations: Grand-Canonical Ensemble;
- derivative and finite-difference meanings of chemical potential: Chemical Potential;
- natural variables, Legendre transforms, and thermodynamic-potential identities: Thermodynamic Potentials;
- comparison of thermal, information-theoretic, entanglement, and coarse-grained entropy: Entropy in Quantum Statistical Mechanics;
- general constrained-entropy inference and exact-versus-mean constraints: Maximum Entropy Principle;
- general density-of-states methods: Green Functions and Density of States;
- full ensemble-equivalence criteria: Ensemble Equivalence;
- ETH, quenches, and generalized Gibbs ensembles: Nonequilibrium Many-Body Dynamics;
- thermal entropy versus spatial entanglement: Many-Body Entanglement and Information.
Common Mistakes
Section titled “Common Mistakes”Omitting the shell width
Section titled “Omitting the shell width”The pair defines the finite-system shell. Quoting only hides the energy resolution.
Calling every isolated state microcanonical
Section titled “Calling every isolated state microcanonical”Isolation conserves the energy distribution. A pure superposition with unequal amplitudes is not automatically the uniform shell state.
Treating fixed energy as zero variance without qualification
Section titled “Treating fixed energy as zero variance without qualification”A finite-width shell can contain several energies. Its variance is bounded by the window width, not generally zero.
Counting the wrong sectors
Section titled “Counting the wrong sectors”If particle number, momentum, parity, or another charge is fixed, the trace must be restricted to that sector.
Taking derivatives of a staircase without a prescription
Section titled “Taking derivatives of a staircase without a prescription”Finite state counts are discontinuous. Temperature requires finite differences, smoothing, or a thermodynamic limit.
Assuming equal weights follow from unitarity
Section titled “Assuming equal weights follow from unitarity”The microcanonical state is a maximum-entropy assignment. Unitary dynamics preserves the initial spectral weights.
Equating typicality with thermalization
Section titled “Equating typicality with thermalization”Typicality concerns most vectors under a chosen measure. Thermalization concerns the trajectory generated from a physical initial state.
Comparing entropy conventions silently
Section titled “Comparing entropy conventions silently”Shell, density-of-states, and cumulative-count entropies can differ at finite size and near bounded spectral edges.
Exercises
Section titled “Exercises”Projector and stationarity
Section titled “Projector and stationarity”Show that is a density operator and is stationary under .
Solution
Because is a spectral projector,
Since ,
is Hermitian and positive. Its trace is
Functional calculus gives
so
Therefore
Bound the shell energy variance
Section titled “Bound the shell energy variance”Let the spectral support of a state lie in . Prove
Apply the result to a shell of width .
Solution
On the supported subspace,
Taking the expectation gives
Let . Then
The product on the right is maximal at
where it equals
For
one obtains
Maximum entropy in the shell
Section titled “Maximum entropy in the shell”Let be any density operator supported in a -dimensional shell. Use relative entropy to prove
When is equality attained?
Solution
The uniform shell state is
For ,
on the support. Positivity of relative entropy gives
Hence
Equality in quantum relative entropy holds exactly when
Fixed-excitation temperature
Section titled “Fixed-excitation temperature”For two-level sites with , show using a finite difference that
Interpret its sign.
Solution
Since
the entropy difference is
Dividing by gives the result.
The inverse temperature is positive when
approximately for large . It is negative above half filling because the degeneracy decreases toward the upper spectral edge. Near the midpoint it passes through zero, corresponding to infinite temperature in the large- interpolation.
Constraint-induced correlation
Section titled “Constraint-induced correlation”In the same -excitation ensemble, derive
for .
Solution
Every configuration with excited sites has equal weight. The probability that site is excited is
The probability that two specified distinct sites are both excited is
Therefore
The anticorrelation enforces the exact global excitation number and vanishes locally as at fixed .
Diagonal ensemble versus microcanonical ensemble
Section titled “Diagonal ensemble versus microcanonical ensemble”Let a nondegenerate three-level Hamiltonian have eigenstates , , and , all inside one chosen shell. The initial state is
Compute the time-averaged state and compare it with the microcanonical state.
Solution
Time averaging removes coherences between distinct energies:
The shell dimension is , so the microcanonical state is
Thus
Isolation and dephasing preserve the unequal initial populations. The two states can still give similar values for a restricted observable if its diagonal matrix elements are nearly constant across the shell, which is the kind of additional condition supplied by ETH or narrow-shell smoothness.
Cross-Links
Section titled “Cross-Links”- Statistical Ensembles Overview
- Thermal Density Operators
- Canonical Ensemble
- Grand-Canonical Ensemble
- Partition Functions
- Thermodynamic Potentials
- Entropy in Quantum Statistical Mechanics
- Maximum Entropy Principle
- Chemical Potential
- Ensemble Equivalence
- Ensemble Formula Sheet
- Thermodynamic Limit
- Green Functions and Density of States
- Density Operators
- Spectral Decomposition
- Entropy Overview
- Entanglement Entropy in Many-Body Systems
- Quantum Thermodynamics
- Statistical Mechanics Checklist
References
Section titled “References”- R. K. Pathria and P. D. Beale, Statistical Mechanics, 4th ed., Elsevier (2021), chapters 1–3.
- K. Huang, Statistical Mechanics, 2nd ed., Wiley (1987), chapters 6–8.
- H. B. Callen, Thermodynamics and an Introduction to Thermostatistics, 2nd ed., Wiley (1985), chapters 1–3 and 15.
- L. D. Landau and E. M. Lifshitz, Statistical Physics, Part 1, 3rd ed., Butterworth–Heinemann (1980), sections 1–10.
- D. Ruelle, Statistical Mechanics: Rigorous Results, W. A. Benjamin (1969), chapters 1–3.
- H. Tasaki, “From Quantum Dynamics to the Canonical Distribution: General Picture and a Rigorous Example”, Physical Review Letters 80, 1373–1376 (1998).
- S. Goldstein, J. L. Lebowitz, R. Tumulka, and N. Zanghì, “Canonical Typicality”, Physical Review Letters 96, 050403 (2006).
- S. Popescu, A. J. Short, and A. Winter, “Entanglement and the Foundations of Statistical Mechanics”, Nature Physics 2, 754–758 (2006).
- M. Rigol, V. Dunjko, and M. Olshanii, “Thermalization and Its Mechanism for Generic Isolated Quantum Systems”, Nature 452, 854–858 (2008).
- E. M. Purcell and R. V. Pound, “A Nuclear Spin System at Negative Temperature”, Physical Review 81, 279–280 (1951).