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 .
If the feasible set contains a full-rank state, 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.
Helpful background. Density operators supply positivity and normalization; entropy and relative entropy supply the optimization tools.
Constrained quantum states
Section titled “Constrained quantum states”The constraints specify what is known about a preparation. For example, specifies a qubit’s average polarization; it does not specify each measurement outcome or its transverse components. Maximum entropy makes the least additional commitment in the precise sense of maximizing on the compatible set. Jaynes’s inference formulation and Wichmann’s incomplete-measurement analysis develop this distinction.
In finite dimension, the density operators form a compact convex set. Affine expectation-value constraints select a closed convex subset. If that subset is nonempty, continuity of entropy guarantees a maximum, and strict concavity makes its state unique. The state can lie on the boundary and have zero eigenvalues; finite exponential multipliers describe the full-rank case.
For a qubit with , entropy is largest at . This slice shows ; the full feasible set is a disk in the Bloch ball. Circular entropy contours are a property of the qubit Bloch representation, not a general distance rule for density matrices.
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. For feasible finite-dimensional moment constraints,
When a full-rank feasible state exists, the infimum is attained at finite multipliers (up to redundant directions). At this 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 develops their natural variables, differentials, and Maxwell relations.
Energy and particle-number constraints
Section titled “Energy and particle-number constraints”With only mean energy specified, the exponential state is . The optimized entropy satisfies
This identifies the energy multiplier as inverse temperature when equilibrium thermodynamics applies. It has units of inverse energy. For a bounded finite-dimensional spectrum, the target mean energy can require positive, zero, or negative . The entropy maximum at fixed energy is valid for all these cases. The associated free-energy functional is minimized at positive temperature and maximized at negative temperature; see Thermal Density Operators.
When mean particle number is also constrained, use independent multipliers:
Here is dimensionless. For , writing produces and chemical potential has energy units. At with nonzero , no finite gives this parametrization; the independent multipliers remain well defined. At fixed , differentiating with respect to gives , since both terms in the exponent change.
The grand-canonical ensemble uses a full Fock-space trace and a conserved particle number. Within one exact- sector the number multiplier cancels out of the normalized state. Constraining a nonconserved observable is mathematically allowed, but it does not generally produce a stationary equilibrium state or a chemical potential.
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 explains 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 expectation values
Section titled “Noncommuting expectation values”For a full-rank maximizer, the same exponential construction applies even when the constrained operators do not commute.
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. At , the answer is ; at , it is a pure boundary state obtained by a divergent-multiplier limit. 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 distinguishes thermal, entanglement, diagonal, and coarse-grained entropies.
Inference and physical equilibration
Section titled “Inference and physical equilibration”Maximum entropy does not select the physically relevant constraints or prove that a system thermalizes. These require a preparation, a model of conserved quantities and exchange, or a dynamical argument. For example, the qubit estimate with only retained sets transverse components to zero. Other compatible preparations can have nonzero transverse components: zero is a prediction of this assignment, not a fact implied by the measurement alone.
Noncommuting conserved quantities also admit exponential-state descriptions, but physically realizing their joint approximate constraints takes additional reasoning; see Yunger Halpern et al. (2016). Relaxation and Thermalization addresses the dynamical question.
In infinite dimension, first check that the exponential is trace class, the moments and entropy are meaningful, and a maximizing state actually exists. Entropy can have an unattained supremum or be unbounded above. A uniform prior on an infinite-dimensional Hilbert space is not a normalized density operator. Confinement or a finite-volume regularization may make a Gibbs trace finite; dividing a divergent trace by volume does not itself define a normalized global state.
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
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 and at least one higher energy level. 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
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
One also needs . Together these conditions are sufficient, because every value in that interval is an expectation of . 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.
Individually allowed but jointly impossible
Section titled “Individually allowed but jointly impossible”Can a qubit satisfy ? Each target lies in the spectrum’s convex hull .
Solution
No. Positivity requires the Bloch-vector length to be at most one, whereas even before adding . Separate bounds on each moment do not ensure joint feasibility. Inserting these targets into would give a negative eigenvalue .
References
Section titled “References”- 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.
- E. T. Jaynes, “Information Theory and Statistical Mechanics. II”, Physical Review 108, 171–190 (1957).
- E. T. Jaynes, “Information Theory and Statistical Mechanics”, Physical Review 106, 620–630 (1957).
- R. K. Pathria and P. D. Beale, Statistical Mechanics, 4th ed., Elsevier (2021), chapters 2–5.
- D. Petz, Quantum Information Theory and Quantum Statistics, Springer (2008), chapters on entropy, relative entropy, and exponential families.
- A. Wehrl, “General Properties of Entropy”, Reviews of Modern Physics 50, 221–260 (1978).
- E. H. Wichmann, “Density Matrices Arising from Incomplete Measurements”, Journal of Mathematical Physics 4, 884–896 (1963).
- 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).