Maximum Entropy Principle
The maximum entropy principle assigns the density operator with the largest von Neumann entropy among all states consistent with specified information. For Hermitian constraint operators and target expectation values , the finite-dimensional problem is
where
is dimensionless entropy. Physical entropy is .
Under regular finite-dimensional conditions, the answer belongs to an exponential family:
The multipliers are determined by the target values, not chosen freely. A mean-energy constraint gives the canonical state. Mean energy and mean particle number give the grand-canonical state after the number multiplier is identified with chemical potential.
This is an inference statement conditional on a Hilbert space, a trace domain, and a constraint set. It does not by itself show that a physical system thermalizes, that the retained constraints are complete, or that a reservoir realizes the inferred state.
The Question Being Answered
Section titled “The Question Being Answered”Incomplete macroscopic information generally leaves many compatible density operators. Maximum entropy supplies a reproducible rule for choosing one representative without introducing additional expectation values through an arbitrary pure-state or low-rank guess.
The rule is best read as:
Retain the stated constraints and make no additional distinctions that would lower the state entropy.
The qualification “stated” is essential. Changing the constraints changes the answer.
| Information retained | Feasible states | Maximum-entropy representative |
|---|---|---|
| only normalization in dimension | all density operators | |
| support restricted to a subspace | ||
| mean energy in a fixed- sector | ||
| mean energy and mean particle number | , | |
| several expectation values |
An exact support condition and an expectation-value condition are different kinds of information. A narrow energy-shell support leads to a microcanonical state. Fixing only the mean energy generally leads to a canonical state with energy fluctuations.
Geometry of the Optimization
Section titled “Geometry of the Optimization”Density operators form a convex set. Normalization and expectation-value constraints define affine slices of that set. The entropy is concave, so maximizing it over a nonempty convex feasible set is a convex-optimization problem in the standard sense of maximizing a concave objective.
Left: an affine constraint selects a convex family of compatible states, and the highest entropy contour touching that family identifies . Right: the dual calculation chooses multipliers so that the exponential state reproduces the target moments.
For a finite-dimensional Hilbert space:
- the set of density operators is compact;
- affine equality constraints define a closed feasible set;
- is continuous;
- therefore a maximizer exists whenever the constraints are feasible;
- strict concavity makes the maximizing state unique.
Uniqueness of the state does not imply uniqueness of every multiplier. Redundant constraint operators can give different multiplier vectors that produce the same exponent up to a multiple of the identity.
General Finite-Dimensional Problem
Section titled “General Finite-Dimensional Problem”Let be Hermitian operators on a -dimensional Hilbert space. Define the feasible set
The target vector
must lie in the convex set of attainable expectation values. If is empty, no inference method can produce a state satisfying all constraints exactly.
Introduce the generalized potential
the partition function
and the exponential state
The central task is to find multipliers satisfying
for every independent constraint.
Relative-Entropy Proof of Optimality
Section titled “Relative-Entropy Proof of Optimality”The cleanest proof avoids delicate variations at zero eigenvalues. For any feasible , consider the quantum relative entropy
Because
one obtains
Nonnegativity of relative entropy gives the upper bound
If itself satisfies the constraints, then
so every feasible state obeys
Equality holds only when
which implies . This proves both optimality and uniqueness.
The same calculation gives the exact entropy-gap identity
for every state sharing the retained expectation values with a full-rank exponential maximizer .
Lagrange-Multiplier Derivation
Section titled “Lagrange-Multiplier Derivation”For an interior solution, vary the functional
At a full-rank ,
Stationarity under arbitrary Hermitian variations gives
Exponentiating,
Normalization fixes
and hence
This stationarity derivation is useful, but it assumes the solution lies in the interior of state space. The relative-entropy proof also makes clear why the stationary state is the global maximum.
Determining the Multipliers
Section titled “Determining the Multipliers”Define
Then
This derivative remains valid when the constraint operators do not commute. One uses the operator identity
and cyclicity of the trace.
The multiplier equations are therefore
For centered operators
the Hessian is the Kubo–Mori covariance matrix
It is positive semidefinite, so is convex. If all constrained operators commute with , this reduces to the ordinary covariance
Zero modes of the covariance matrix signal redundant constraints or directions that do not change the state.
Entropy as a Dual Function
Section titled “Entropy as a Dual Function”For any multiplier vector, define
The relative-entropy inequality shows that is an upper bound on the entropy of every feasible state. Under regularity conditions,
At an interior optimum,
is exactly the moment-matching equation. The envelope relation is
Thus the Lagrange multipliers are variables conjugate to the retained expectation values. If the Kubo–Mori covariance matrix is invertible,
which expresses concavity of the optimized entropy.
Thermodynamic Legendre transforms are concrete realizations of this dual structure. Thermodynamic Potentials owns their natural variables, differentials, and Maxwell relations.
Canonical State from Mean Energy
Section titled “Canonical State from Mean Energy”Work in a fixed particle-number sector with Hamiltonian . Impose
There is one nontrivial multiplier:
The target energy determines through
At this stage, is an inverse-energy Lagrange multiplier. Its thermodynamic interpretation follows from
and
Comparing with
identifies
The variational principle can equivalently be written at fixed temperature. Define
Then
Thus the Gibbs state uniquely minimizes the nonequilibrium free-energy functional. The Canonical Ensemble owns the reservoir argument, fixed- thermodynamics, and energy-fluctuation formulas.
Grand-Canonical State from Energy and Number
Section titled “Grand-Canonical State from Energy and Number”Now allow the state space to include multiple number sectors and impose
Using independent dimensionless multipliers and gives
with
The independent moment equations are
For an equilibrium conserved particle number, write
Then
The entropy at the matched constraints is
After the change of variables from to ,
whereas
Holding fixed is not the same derivative as holding fixed.
The algebraic maximization can constrain any Hermitian . Calling its multiplier a thermodynamic chemical potential requires additional physics, normally including
and a mechanism that exchanges the conserved quantity. Chemical Potential owns that physical interpretation, while the Grand-Canonical Ensemble owns the Fock-space trace and number-sector statistics.
Exact Constraints Are Not Mean Constraints
Section titled “Exact Constraints Are Not Mean Constraints”Suppose projects onto an allowed subspace of dimension
Imposing the exact support condition
does not introduce a finite expectation-value multiplier. The maximum-entropy state on the subspace is
Indeed, for any state supported in ,
For an energy-shell projector , this gives
By contrast, fixing only allows support on many energies and produces .
| Constraint | What is exact? | Typical maximizing state |
|---|---|---|
| allowed subspace | uniform on that subspace | |
| mean energy | canonical exponential state | |
| number sector | state restricted to | |
| mean number | state spanning number sectors |
The Microcanonical Ensemble owns energy-window conventions and shell thermodynamics.
Interior and Boundary Solutions
Section titled “Interior and Boundary Solutions”For finite multipliers in finite dimension,
is full rank. Therefore a rank-deficient maximizer cannot generally be represented with finite multipliers.
Consider a Hamiltonian with lowest energy and ground-space projector . The boundary target
forces the state into the ground space. Maximum entropy gives
It is reached as the limit
For a nondegenerate ground state this limit is pure; for a degenerate ground space it is the uniform mixture unless further constraints distinguish ground states.
Boundary behavior matters numerically. A solver may send one or more multipliers toward infinity rather than converge to a finite point. That can be the correct signal of a rank-deficient optimum rather than a failure of the entropy principle.
Feasibility and Redundant Constraints
Section titled “Feasibility and Redundant Constraints”Before solving for multipliers, check whether the target moments are possible. For one Hermitian operator ,
With several operators, separate interval checks are necessary but may not be sufficient. Their joint expectation-value region can impose additional inequalities.
Constraints are redundant when one retained operator is an affine combination of the others. If
then every normalized state satisfies
If the targets violate this relation, the feasible set is empty. If they obey it, the maximizing state is unique but the pair is not: only the combination multiplying affects the normalized state.
In computations, remove affine redundancies or use a gauge convention before inverting a susceptibility matrix.
Classical Reduction
Section titled “Classical Reduction”If all constrained operators commute, choose a common eigenbasis:
The exponential state is diagonal,
with
The quantum problem then reduces to the classical maximum-Shannon-entropy distribution over the joint eigenvalues. Within an unresolved degenerate joint eigenspace, the maximizing state is proportional to the identity.
Off-diagonal coherence cannot improve the entropy while preserving only commuting moments. Dephasing in the common eigenbasis preserves those moments and cannot decrease the entropy.
Noncommuting Constraints
Section titled “Noncommuting Constraints”Expectation values of noncommuting observables can be constrained simultaneously. They need not possess simultaneous sharp values. The finite-dimensional variational answer remains
where the exponential is taken after forming the operator sum.
In general,
when . Product factorization would change the state and can even destroy Hermiticity if used carelessly.
The inferred state need not commute with each constrained observable:
can occur even though all target expectation values are reproduced. Ordinary covariances must then be replaced by the Kubo–Mori matrix in multiplier-response formulas.
There is also a physical distinction between inference and equilibrium. If a constrained charge fails to commute with , the exponential state may fail to be stationary:
Noncommuting conserved charges require a more careful thermodynamic framework, including what conservation means for the composite system and which exchanges are allowed. The formal maximum-entropy calculation is valid more broadly than the equilibrium interpretation attached to it.
Example: One Qubit Constraint
Section titled “Example: One Qubit Constraint”Write a qubit state as
Suppose the only measured moment is
The constraint fixes but leaves and unknown. The eigenvalues are
and the entropy decreases as increases away from zero. For fixed , the smallest possible Bloch-vector length is obtained at
Therefore
The same state has exponential form
with
At , no polarization is known and . At , the target lies on the boundary and the maximizing state is pure; the multiplier diverges.
Example: Two Noncommuting Qubit Constraints
Section titled “Example: Two Noncommuting Qubit Constraints”Now retain
Feasibility requires
The unmeasured component only increases and lowers the entropy. Hence
Let
for . Then
This is of the required form with a multiplier vector antiparallel to the retained Bloch vector. The noncommutation
does not obstruct expectation-value inference. It does obstruct interpreting and as simultaneously sharp eigenvalues.
Maximum Entropy Relative to a Prior State
Section titled “Maximum Entropy Relative to a Prior State”Plain maximum entropy uses the maximally mixed state as its implicit finite-dimensional reference because
If a full-rank reference state represents information that should be retained before imposing new moments, a natural generalization minimizes
over the feasible set. The interior solution is
When commutes with all , this resembles a classical reweighting. In the noncommuting case,
must not be replaced by .
This relative-entropy projection makes “least biased” explicitly conditional on a reference. It is also indispensable in infinite-dimensional settings, where no normalized state proportional to the identity may exist.
Constraint-Based Coarse Graining
Section titled “Constraint-Based Coarse Graining”Suppose an exact state is replaced by the maximum-entropy state that preserves selected moments:
Then
The entropy increase measures distinctions discarded by retaining only those moments. For a full-rank exponential maximizer,
This replacement is generally nonlinear in because the multipliers depend nonlinearly on the retained expectation values. It should not automatically be treated as a physical quantum channel or a dynamical law. Entropy in Quantum Statistical Mechanics owns the broader distinctions among thermal, entanglement, diagonal, and coarse-grained entropies.
What the Principle Does Not Prove
Section titled “What the Principle Does Not Prove”It does not choose the constraints
Section titled “It does not choose the constraints”The analyst must justify why energy, particle number, magnetization, local densities, or other moments are retained. Omitting an exactly conserved quantity can give the wrong equilibrium family; integrable generalized ensembles make this constraint-selection problem especially sharp.
It does not prove thermalization
Section titled “It does not prove thermalization”Maximization compares states at one time. It supplies no equation of motion and no relaxation timescale. Relaxation and Thermalization owns the closed-system dynamical tests; ergodicity, eigenstate thermalization, integrability, and coupling to a bath remain additional questions.
It does not derive a reservoir model
Section titled “It does not derive a reservoir model”A bath derivation explains why particular intensive variables are controlled and when the reduced state is approximately Gibbsian. Maximum entropy derives the same exponential form from different premises.
It does not establish ensemble equivalence
Section titled “It does not establish ensemble equivalence”Microcanonical, canonical, and grand-canonical states can remain different at finite size and for global fluctuations. Their thermodynamic-limit agreement requires additional hypotheses, developed in Ensemble Equivalence.
It does not make omitted observables physically zero
Section titled “It does not make omitted observables physically zero”The inferred state predicts values for unconstrained observables, often zero by symmetry. That means zero is the maximum-entropy assignment under the retained information, not that every compatible microscopic preparation has that value.
It does not remove trace-domain choices
Section titled “It does not remove trace-domain choices”Maximizing over a fixed- Hilbert space and maximizing over Fock space are different problems even if the exponent looks similar. The allowed state space is part of the input.
Infinite-Dimensional Caveats
Section titled “Infinite-Dimensional Caveats”Compactness and a normalized maximally mixed state are lost in infinite dimension. Several failures can occur:
- may diverge;
- the target moments may not be finite;
- entropy may be unbounded above on the feasible set;
- an entropy supremum may exist without being attained;
- unbounded constraint operators require domain control;
- continuum volume factors may make traces infinite.
For a free particle on the infinite line,
diverges because of the infinite spatial volume. A finite box, a density per unit volume, or another regularization must be specified before normalizing a canonical state.
Even when is finite, differentiating it requires the relevant operator moments to exist. One should establish trace-class and differentiability conditions rather than importing finite-matrix arguments unchanged.
A Reliable Workflow
Section titled “A Reliable Workflow”- Specify the state space. Name the Hilbert space, superselection sector, volume regulator, and trace domain.
- Separate exact from mean constraints. Exact support, exact charge sectors, and expectation values lead to different feasible sets.
- Check feasibility. Verify spectral bounds and joint compatibility of target moments.
- Remove redundancies. Identify affine relations among constraint operators.
- Use dimensionless multipliers. Track physical units before naming a multiplier temperature or chemical potential.
- Check normalization. Confirm that the exponential is trace class and .
- Match the moments. Solve with the correct variables held fixed.
- Verify global optimality. Use the relative-entropy identity, not stationarity alone.
- Inspect boundary behavior. Diverging multipliers can represent a legitimate rank-deficient optimum.
- Justify the physics. Explain why the constraints are conserved, controlled, or experimentally known.
- Keep inference separate from dynamics. Add a thermalization or bath argument when the claim requires one.
Canonical Boundaries
Section titled “Canonical Boundaries”This page owns:
- the general constrained von Neumann entropy optimization;
- the exponential-family derivation and relative-entropy proof;
- multiplier matching, convex duality, and Kubo–Mori response;
- exact-support versus expectation-value constraints;
- feasibility, redundancy, interior, and boundary solutions;
- the inference meaning and its limitations;
- the extension to noncommuting moments and prior states.
Other pages own:
- operator properties and spectral examples of Gibbs states: Thermal Density Operators;
- fixed- thermodynamics and reservoir derivation: Canonical Ensemble;
- Fock-space structure and number fluctuations: Grand-Canonical Ensemble;
- entropy interpretations and coarse-graining taxonomy: Entropy in Quantum Statistical Mechanics;
- chemical-potential definitions and conserved-number physics: Chemical Potential;
- equilibrium fluctuation identities and static susceptibility applications: Fluctuations and Susceptibilities;
- dynamical equilibration, entropy production, and operational work: Quantum Thermodynamics.
Common Mistakes
Section titled “Common Mistakes”- Treating an exact energy shell as though it were only a mean-energy constraint.
- Omitting positivity and optimizing over arbitrary trace-one Hermitian operators.
- Calling a Lagrange multiplier temperature or chemical potential before establishing the thermodynamic interpretation.
- Choosing multipliers independently of the target expectation values.
- Proving stationarity but not global maximality.
- Assuming every maximizing state has finite multipliers.
- Ignoring infeasible or redundant constraints.
- Factoring an exponential of noncommuting operators.
- Treating a mean value of a noncommuting observable as a sharp simultaneous value.
- Using a particle-number multiplier as a chemical potential when the proposed number is not conserved.
- Confusing a maximum-entropy assignment with a dynamical thermalization theorem.
- Forgetting that the trace domain determines whether the state is canonical or grand canonical.
- Assuming predictions for omitted observables describe every compatible preparation.
- Invoking a uniform prior in an infinite-dimensional space without a regulator.
- Dropping when converting dimensionless entropy derivatives into thermodynamic ones.
Exercises
Section titled “Exercises”The maximally mixed state
Section titled “The maximally mixed state”Show that uniquely maximizes von Neumann entropy on a -dimensional Hilbert space when normalization is the only constraint.
Solution
For any density operator ,
Relative entropy is nonnegative, so
Equality holds only if
Entropy gap to an exponential state
Section titled “Entropy gap to an exponential state”Let
match the same expectation values as a state . Prove
Solution
Use
Then
For itself,
Substitution gives the required identity. Nonnegativity of proves that is the global maximum.
Qubit polarization
Section titled “Qubit polarization”Maximize the entropy of a qubit subject to
Find the density matrix, its entropy, and the multiplier in
Solution
The maximum-entropy state has no unconstrained transverse Bloch components:
In the basis,
Its dimensionless entropy is
Because ,
Exact ground energy
Section titled “Exact ground energy”A finite-dimensional Hamiltonian has ground energy with degeneracy . Maximize entropy subject to the exact mean-energy target . Explain why the answer is not a finite-temperature Gibbs state.
Solution
Since ,
forces to have support only in the kernel of , namely the ground space. Entropy is maximized uniformly on that -dimensional subspace:
Every finite gives a full-rank Gibbs state and assigns nonzero weight to excited levels. The solution is the boundary limit
Grand-canonical multiplier signs
Section titled “Grand-canonical multiplier signs”Maximize entropy under fixed and using independent multipliers and . Derive the state, set , and show what gives when is held fixed.
Solution
The independent-multiplier solution is
With
this becomes
At fixed ,
It does not equal unless . At fixed independent , one instead has
Two noncommuting qubit moments
Section titled “Two noncommuting qubit moments”Suppose
Find the maximum-entropy state and verify that it is positive.
Solution
Maximum entropy sets the unconstrained component to zero:
In the basis,
The Bloch-vector length is
so the eigenvalues
are both positive. The state is therefore a valid full-rank density operator even though and do not commute.
Redundant constraints
Section titled “Redundant constraints”Let . Determine the feasibility condition on targets and show why the multipliers in
are not unique.
Solution
Every normalized state satisfies
so feasibility requires
The exponent can be rearranged as
The identity term cancels from the normalized density operator. Therefore the state depends only on
Infinitely many multiplier pairs give the same unique maximum-entropy state.
Cross-Links
Section titled “Cross-Links”- Start with the ensemble-level comparison in Statistical Ensembles Overview.
- Review the operator exponential and spectral form in Thermal Density Operators.
- Compare exact energy-shell information in Microcanonical Ensemble.
- Use Canonical Ensemble for fixed-number thermodynamics.
- Use Grand-Canonical Ensemble for Fock-space construction and number fluctuations.
- See Relative Entropy for positivity, support conditions, and data-processing properties.
- Keep state inference distinct from dynamical and operational questions in Quantum Thermodynamics.
References
Section titled “References”- E. T. Jaynes, “Information Theory and Statistical Mechanics”, Physical Review 106, 620–630 (1957).
- E. T. Jaynes, “Information Theory and Statistical Mechanics. II”, Physical Review 108, 171–190 (1957).
- E. H. Wichmann, “Density Matrices Arising from Incomplete Measurements”, Journal of Mathematical Physics 4, 884–896 (1963).
- A. Wehrl, “General Properties of Entropy”, Reviews of Modern Physics 50, 221–260 (1978).
- R. Balian, From Microphysics to Macrophysics: Methods and Applications of Statistical Physics, volumes I and II, Springer (1991–1992), chapters on statistical inference and equilibrium ensembles.
- D. Petz, Quantum Information Theory and Quantum Statistics, Springer (2008), chapters on entropy, relative entropy, and exponential families.
- N. Yunger Halpern, P. Faist, J. Oppenheim, and A. Winter, “Microcanonical and Resource-Theoretic Derivations of the Thermal State of a Quantum System with Noncommuting Charges”, Nature Communications 7, 12051 (2016).
- R. K. Pathria and P. D. Beale, Statistical Mechanics, 4th ed., Elsevier (2021), chapters 2–5.