Matrix logarithms and support conventions
A matrix logarithm is an operator whose exponential recovers a matrix, with spectral and branch conditions that differ from entrywise logarithms.
On this page
Definition and use
For a positive definite operator A=sum_j lambda_j P_j, its Hermitian logarithm is log(A)=sum_j log(lambda_j)P_j. This definition supports quantum entropy and relative entropy. Taking logarithms of individual matrix entries is generally meaningless for these formulas and can fail even when the operator is positive.
At zero eigenvalues the logarithm diverges. Expressions such as rho log rho are defined by the limiting scalar rule x log x ->0 as x approaches zero from above, while relative entropy needs a support condition.
Fully solved example
For rho=[[0.5,0.3],[0.3,0.5]], the eigenvalues are 0.8 and 0.2 with eigenvectors |+> and |->. Thus log2 rho=log2(0.8)|+><+|+log2(0.2)|-><-|. Its off-diagonal entries are [log2(0.8)-log2(0.2)]/2=1, while its diagonal entries are [log2(0.8)+log2(0.2)]/2=log2(0.4), approximately -1.321928.
The positive off-diagonal logarithm entry does not imply a probability greater than one; log rho is not a density matrix. Taking -Tr(rho log2 rho) gives approximately 0.721928 bits.
Unitary logarithms and limits
For a unitary U, eigenphases are defined modulo 2pi. Consequently multiple Hamiltonians can generate the same finite-time unitary, and a branch choice is needed to infer a logarithm. Degenerate eigenvalues add further freedom. A matrix logarithm from one chosen branch is not automatically the actual physical Hamiltonian used by a device.
Near-zero eigenvalues make logarithmic quantities sensitive to estimation error. Regularization should be disclosed with its parameter and effect.
Perturbing a logarithm when eigenvectors also change
Let A be positive definite and use natural logarithms temporarily. Its logarithm admits the resolvent expression ln A = integral from zero to infinity of [(1+s)^(−1)I − (A+sI)^(−1)] ds. Differentiating the inverse follows directly by differentiating (A+tE+sI)(A+tE+sI)^(−1)=I. The first derivative of ln(A+tE) at zero is therefore integral (A+sI)^(−1) E (A+sI)^(−1) ds. The perturbation E appears between two inverses; replacing this by A^(−1)E is valid only when the relevant operators commute.
In an eigenbasis of A, the derivative has entries E_jk times (ln a_j−ln a_k)/(a_j−a_k). On equal eigenvalues the continuous limiting factor is 1/a_j. This follows by integrating 1/[(a_j+s)(a_k+s)], using partial fractions for unequal eigenvalues. Degeneracy causes no divergence here. Small positive eigenvalues, rather than repeated positive eigenvalues, create large sensitivity. Dividing the expression by ln 2 converts it to the encyclopedia's base-two convention.
Take rho(t)=[[3/4,t],[t,1/4]], with real |t|<sqrt(3)/4. At zero, the derivative of log2 rho(t) has zero diagonal and off-diagonal entries 2 log2 3. The naive product rho(0)^(−1)X has unequal off-diagonal entries 4/3 and 4; it is not even Hermitian. This supplies an immediate diagnostic for an invalid scalar differentiation rule applied to a matrix.
Entropy curvature and a support boundary
The eigenvalues of this family are 1/2 ± sqrt(1/16+t²). Expanding the square root gives 3/4+2t² and 1/4−2t² through second order. Since the derivative of binary entropy at 3/4 is log2(1/3), S(rho(t))=h2(3/4)−2(log2 3)t²+O(t⁴). Adding a small coherence at fixed populations lowers entropy quadratically; the first derivative vanishes because the perturbation changes neither population to first order.
The same family gives D(rho(t)||rho(0))=S(rho(0))−S(rho(t)). The term Tr[rho(t) log2 rho(0)] depends only on the unchanged diagonal, so the relative entropy is 2(log2 3)t²+O(t⁴). This equality relies on this particular fixed-diagonal reference. It is not a formula for relative entropy between arbitrary noncommuting states.
Now set sigma_epsilon=diag(1−epsilon,epsilon). For rho=|+><+|, the relative entropy is −(1/2)log2[epsilon(1−epsilon)]. It diverges as epsilon approaches zero because |+> has a component outside the limiting support. For rho=|0><0|, the answer is instead −log2(1−epsilon), which approaches zero. The same regularized reference therefore has qualitatively different limits for different input supports. Replacing every zero eigenvalue by a small positive number conceals this distinction unless the limiting problem is stated.
Effective Hamiltonians and logarithm branches
For a full-rank state define K=−ln rho. Then rho=e^(−K) and Tr e^(−K)=1. Calling K an effective Hamiltonian specifies a mathematical representation; it does not establish a physical temperature, energy unit, or microscopic dynamics. If rho=e^(−beta H)/Z, then K=beta H+(ln Z)I. Additive energy offsets disappear into Z, whereas beta fixes the scale relating energy to the dimensionless operator K.
For a unitary U=diag(1,e^(−i pi/3)) observed after duration T, the diagonal Hamiltonians H_nm=(hbar/T)diag(2 pi n,pi/3+2 pi m), with integer n,m, all reproduce U. Their differences need not be scalar multiples of the identity. Thus even perfect knowledge of one finite-time unitary cannot select its spectral winding numbers. Additional time resolution or a justified spectral bound is needed to identify a generator.
A global phase of U disappears from the channel rho maps to U rho U†. When a controlled implementation places U on one branch of a coherent control, the branch phase can become a relative phase. Consequently a channel specification alone does not determine every controlled implementation. This is a distinction between the information supplied by the model and the larger physical operation being described.
Tensor products and addition rules
For positive definite A and B, ln(A tensor B)=ln A tensor I+I tensor ln B. A product eigenvector has eigenvalue a_j b_k, whose scalar logarithm splits into ln a_j+ln b_k. The two terms on the right commute because they act on different factors. Applying this identity to normalized product states proves entropy additivity directly after taking the trace. The statement also extends to supported logarithms of singular product states, provided zero-eigenvalue contributions are handled by the limiting entropy rule.
This tensor identity does not justify ln(AB)=ln A+ln B for arbitrary operators on the same space. Even two positive definite matrices can have a non-Hermitian product when they do not commute, whereas the sum of their Hermitian logarithms remains Hermitian. The distinction concerns operator multiplication, not the choice of logarithm base. A calculation using a scalar product rule therefore needs either simultaneous diagonalization or another explicit argument appropriate to the chosen branch.
Sources
Verification scope
The Theory of Quantum Information, Chapter 1: Mathematical preliminaries
John Watrous · · Textbook material · cs.uwaterloo.caCitation identity checked ·
Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.
The Theory of Quantum Information: Chapter 1, Mathematical preliminaries
John Watrous · · Manuscript · Author manuscript · cs.uwaterloo.caSelected text checked ·
Chapter introduction, finite-dimensional linear-algebra definitions and Caratheodory theorem were inspected. The author explicitly describes the chapter as review material, not a primary source for all mathematical results.
Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.
Verification scope
The Theory of Quantum Information, Chapter 5: Quantum entropy and source coding
John Watrous · · Textbook material · cs.uwaterloo.caCitation identity checked ·
Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.
The Theory of Quantum Information: Chapter 5, Quantum entropy and source coding
John Watrous · · Manuscript · Author manuscript · cs.uwaterloo.caSelected text checked ·
Full-text PDF available; logarithm-base convention and entropy definitions inspected. Constructed qutrit-spectrum entropy comparison independently recomputed. Additional selected scope checked: section 5.3.2 and Theorem 5.44 source-compression model and typical subspace, plus Holevo information and Theorem 5.49 relative-entropy proof.
Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.
Verification scope
Selected text checked ·
Selected full-text principal-logarithm assumptions, Fréchet derivative definition and integral representation, column vectorization and sensitivity interpretation inspected.
Original scalar-integral derivation, spectral divided differences and quantum examples are independently developed. Numerical performance claims and implementation-specific stability claims from the paper are not imported. The repository deposit date is not used as publication date.