Matrix Functions and Exponentials
A matrix function is an operator built by applying a function to a matrix or finite-dimensional operator in a basis-independent way. The most important example in quantum mechanics is the exponential, which turns a Hamiltonian into a time-evolution operator.
This page treats the finite-dimensional mathematical construction. The Core Formalism interpretation for observables and spectra is Functions of Operators. Numerical algorithms for computing or applying exponentials are collected in Matrix Exponentials Numerically.
Polynomial Functions
Section titled “Polynomial Functions”The safest starting point is a polynomial. If
then
This definition uses addition, scalar multiplication, and composition of the operator with itself. It is independent of the basis used to write the matrix.
For example,
means
not an entrywise operation on a displayed array.
Power Series Definition
Section titled “Power Series Definition”If a function has a power series
one defines
whenever the matrix series converges. For finite matrices, the usual entire functions such as , , and are defined for every matrix because their power series converge for all inputs.
The matrix exponential is
It is always invertible, with inverse
Diagonalizable Matrices
Section titled “Diagonalizable Matrices”If is diagonalizable,
where
then
with
The eigenvectors are unchanged; the eigenvalues are transformed by .
For the exponential,
If is normal, the diagonalization can be chosen unitary:
Spectral Projector Form
Section titled “Spectral Projector Form”For a finite-dimensional Hermitian operator,
where is the orthogonal projector onto the eigenspace for eigenvalue . Then
This form handles degeneracy cleanly because each projector represents an entire eigenspace. It is the finite-dimensional functional calculus used for observables.
For the projector algebra behind this expression, see Spectral Decomposition.
Matrix Exponentials and Time Evolution
Section titled “Matrix Exponentials and Time Evolution”If is a finite-dimensional Hermitian Hamiltonian, then
is unitary. In a spectral decomposition
the exponential is
Each energy eigenspace receives a phase. Since
the operator preserves norms and inner products.
The dynamical interpretation is developed in Unitary Time Evolution and Time-Evolution Operator.
Exponential of Pauli Matrices
Section titled “Exponential of Pauli Matrices”Let
where is a real unit vector and are the Pauli matrices. The Pauli algebra gives
Split the exponential power series into even and odd powers:
This compact identity is the finite-dimensional engine behind spin- rotations and many single-qubit gates. The Pauli algebra is summarized in Pauli Matrices.
For the special case ,
When Exponentials Multiply
Section titled “When Exponentials Multiply”If and commute, then
If and do not commute, this identity generally fails. The first correction is controlled by commutators, and the dynamics story leads to Baker–Campbell–Hausdorff Formula and time-ordering formulas.
This is why time-dependent Hamiltonians are subtle. In general,
is the correct time-evolution operator only when the Hamiltonians at different times commute with one another, or under special conditions that reduce the time-ordered exponential to an ordinary exponential.
Non-Diagonalizable Matrices
Section titled “Non-Diagonalizable Matrices”Diagonalization is the cleanest route, but the power-series definition also works for non-diagonalizable matrices. If
then
The nilpotent part contributes polynomial factors. This is one reason non-diagonalizable operators behave differently from normal operators, even when their eigenvalues look simple.
Common Mistakes
Section titled “Common Mistakes”- Applying a scalar function entry by entry to a matrix in an arbitrary basis.
- Forgetting the identity term in a polynomial .
- Assuming without checking .
- Treating diagonalization formulas as valid for non-diagonalizable matrices.
- Forgetting that is unitary only when is Hermitian or self-adjoint in the relevant setting.
- Ignoring branch choices for multivalued functions such as logarithms and fractional powers.
- Applying finite-dimensional formulas to unbounded operators without checking domains.
Cross-Links
Section titled “Cross-Links”- Matrices as Linear Maps
- Diagonalization
- Normal Operators
- Hermitian Operators
- Unitary Operators
- Matrix Exponentials Numerically
- Spectral Decomposition
- Commutators and Anticommutators
- Pauli Matrices
- Functions of Operators
- Unitary Time Evolution
- Time-Dependent Hamiltonians
References
Section titled “References”- N. J. Higham, Functions of Matrices: Theory and Computation, SIAM, 2008.
- R. A. Horn and C. R. Johnson, Matrix Analysis, 2nd ed., Cambridge University Press, 2013.
- S. Axler, Linear Algebra Done Right, 3rd ed., Springer, 2015.
- B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
- R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
Exercises
Section titled “Exercises”- Let
Compute .
Solution
Since is diagonal,
- Suppose with . Write .
Solution
Use the diagonalizable-matrix formula:
- Use to compute .
Solution
Split the power series into even and odd powers:
- Why is safe when but not in general?
Solution
When and commute, products in the power series can be rearranged as in the scalar binomial theorem, so the exponential of the sum factors. When they do not commute, terms such as and cannot be combined freely, and commutator corrections appear.