QuantumInfo.ForMathlib.HermitianMat.LogExp
Properties of the matrix logarithm and exponential
In particular, operator monotonicity and concavity of the matrix logarithm. These are proved using `inv_antitone`, so, first showing that the matrix inverse is operator antitone for positive definite matrices.
42 declarations
Matrix Logarithm of a Scalar Multiple
Let be a Hermitian matrix of size over a field , and let be a non-zero scalar. The matrix logarithm (defined via the Continuous Functional Calculus) of the scaled matrix satisfies: where denotes the matrix logarithm `cfc Real.log`, and is the matrix obtained by applying the indicator function (which is at and elsewhere) to the eigenvalues of via functional calculus.
Exponential of a Hermitian matrix
Let be a Hermitian matrix of dimension over a field . The function maps to its matrix exponential , defined via the continuous functional calculus (cfc) applied to the real exponential function . The resulting matrix is also a Hermitian matrix.
If commutes with , then commutes with
Let and be Hermitian matrices. If the underlying matrix of commutes with the underlying matrix of (i.e., ), then the matrix exponential of also commutes with the matrix of : .
If commutes with , then commutes with
Let and be Hermitian matrices. If the underlying matrix of commutes with the underlying matrix of (i.e., ), then the matrix of also commutes with the matrix exponential of , such that .
Let be a Hermitian matrix indexed by , and let be a bijection (equivalence) between the index types and . Then the matrix exponential of the reindexed matrix is equal to the reindexing of the matrix exponential of . That is, .
The matrix exponential of a Hermitian matrix is non-singular
For any Hermitian matrix , its matrix exponential is non-singular (invertible).
The matrix exponential of a Hermitian matrix is
For any Hermitian matrix , its matrix exponential is positive semidefinite, i.e., under the Loewner partial order.
The matrix exponential of a Hermitian matrix is strictly positive ()
Let be a non-empty finite index set and be a field with an involution (such as or ). For any Hermitian matrix , its matrix exponential is strictly positive with respect to the Loewner order, i.e., . This operator inequality means that is a positive definite matrix.
Positivity extension for
This is a `positivity` extension for the matrix exponential function. For a Hermitian matrix of dimension over a field , if is non-empty, the extension automatically proves that the matrix exponential is strictly positive definite (written ) by utilizing the property `HermitianMat.exp_pos`.
Logarithm of a Hermitian matrix
For a Hermitian matrix (or ), the matrix logarithm is defined via the Continuous Functional Calculus (CFC). Specifically, if is a spectral decomposition where is the diagonal matrix of real eigenvalues, then , where . The real logarithm function is applied elementwise to the eigenvalues. Note that for , the behavior follows the convention of the underlying real logarithm `Real.log` (typically or for in formal libraries), and the result coincides with the standard matrix logarithm when is positive definite.
If commutes with , then commutes with
Let and be Hermitian matrices of dimension over a field . If the matrices and commute (i.e., ), then the matrix logarithm of , denoted , also commutes with (i.e., ).
If commutes with , then commutes with
Let and be Hermitian matrices of dimension over the field . If the matrices and commute (i.e., ), then also commutes with the matrix logarithm of , denoted as . In other words, .
Let be a Hermitian matrix indexed by , and let be a bijection. Then the matrix logarithm of the reindexed matrix is equal to the reindexing of the matrix logarithm of . That is, .
for Hermitian matrices
For a zero Hermitian matrix of dimension over the field , its matrix logarithm is also zero, i.e., .
for Hermitian matrices
For the identity Hermitian matrix (denoted as ) of dimension over the field , its matrix logarithm is zero, i.e., .
for Hermitian matrices and
Let be a Hermitian matrix of dimension over the field (where is or ), and let be a non-zero real number. The matrix logarithm of the scalar multiple is given by where is the Hermitian matrix representing the orthogonal projection onto the support (range) of .
Logarithm of Scalar Multiple of a Non-Singular Hermitian Matrix
Let be a non-singular Hermitian matrix of dimension over (where is or ), and let be a non-zero real number. Then the matrix logarithm of the scalar product is given by where denotes the identity matrix.
Matrix Inverse is Operator Antitone for Positive Definite Matrices
Let and be Hermitian matrices. If is positive definite () and with respect to the Loewner partial order, then . Here, denotes the Loewner order where if and only if is a positive semidefinite matrix.
Integral of from to equals
For any real numbers and such that and , the definite integral of the difference of reciprocals is given by
For any real number , the limit of the function as approaches infinity is . That is,
Let and be Hermitian matrices in such that both and are positive definite. If with respect to the Loewner partial order, then for any real number , the following inequality holds between the finite integral approximations: where denotes the identity matrix.
Integral approximation of the matrix logarithm with parameter
For a finite-dimensional space and a field , the function `logApprox` maps a Hermitian matrix and a real parameter to another Hermitian matrix defined by the Bochner integral: where is the identity matrix. This expression serves as a parameterized approximation of the matrix logarithm , specifically satisfying the property that as , the integral converges to .
Scalar approximation of the logarithm
For a given upper limit and a value , the function is defined as the integral: This function serves as a scalar approximation of the natural logarithm, appearing in the context of proving operator monotonicity for the matrix logarithm.
Explicit Formula for
For any real numbers and such that and , the scalar logarithmic approximation function satisfies the identity
equals the CFC of for
Let be a positive definite Hermitian matrix in and let be a real number. The matrix logarithm approximation is equal to the continuous functional calculus (CFC) of the scalar logarithm approximation function applied to , denoted as:
Approximation of matrix logarithm equals plus error term for
Let be a positive definite Hermitian matrix in and let be a real number. The matrix logarithm approximation is equal to the matrix logarithm plus an error term defined via the continuous functional calculus (CFC) as where is the scalar function .
The error term as
Let be a Hermitian matrix in . As , the error term in the logarithm approximation, defined via continuous functional calculus as converges to the zero matrix in the norm topology of .
as for positive definite Hermitian matrices
Let be a Hermitian matrix in such that is positive definite. As , the log approximation of , denoted by , converges to the matrix logarithm in the norm topology.
If is positive definite and , then is positive definite
Let and be Hermitian matrices. If is positive definite and (with respect to the Loewner order), then is also positive definite. Here, is defined as being a positive semidefinite matrix.
The Matrix Logarithm is Operator Monotone
Let and be Hermitian matrices over a field (where is or ). If is positive definite and in the Loewner order (meaning is positive semidefinite), then .
for commuting Hermitian matrices
Let and be Hermitian matrices. Under the assumption that and commute, if with respect to the Loewner partial order, then .
Operator convexity of the matrix inverse for positive definite matrices
Let and be Hermitian matrices over a field . Suppose that and are positive definite matrices. For any real numbers such that , the following inequality holds with respect to the Loewner partial order: In this context, the relation for Hermitian matrices signifies that is a positive semidefinite matrix.
The Shifted Inverse Function is Operator Convex on Positive Definite Matrices
Let and be Hermitian matrices over a field (where is or ), and assume that both and are positive definite. For any real numbers such that , and for any real number , it holds that: where is the identity matrix and denotes the Loewner partial order (i.e., if is positive semidefinite).
The Inverse of a shifted Positive Definite Matrix is Interval Integrable.
Let be a Hermitian matrix in that is positive definite. For any non-negative real number , the function , where is the identity matrix, is interval integrable with respect to the Lebesgue measure over the interval .
The finite integral approximation of the matrix logarithm is operator concave
Let and be Hermitian matrices over (where is or ) that are positive definite. For any non-negative real numbers such that , and for any non-negative real number , the finite integral approximation of the matrix logarithm, , satisfies the operator concavity inequality: where denotes the Loewner partial order.
The matrix logarithm is operator concave on positive definite matrices
Let and be Hermitian matrices over a field (where is or ) such that and are positive definite. For any real numbers such that , the following inequality holds with respect to the Loewner partial order: where denotes the matrix logarithm.
Let and be finite types with decidable equality, and let be either or . Given two vectors and with strictly positive entries ( and for all ), the logarithm of the Kronecker product of the diagonal matrices formed by and satisfies: where denotes the Kronecker product, is the matrix logarithm for Hermitian matrices, and are the identity matrices of the respective dimensions.
Let be a Hermitian matrix and be a unitary matrix. The logarithm of the Hermitian matrix formed by the unitary conjugation of —defined as —is equal to the unitary conjugation of the logarithm of . That is, .
Inner product of and equals
Let be a non-singular Hermitian matrix and be a Hermitian matrix. For any non-zero real number , the inner product of the matrix logarithm of the scaled matrix with satisfies: where denotes the trace of , and the inner product is the Frobenius inner product on the space of Hermitian matrices.
Let and be functions defining the diagonal Hermitian matrices and . Then the matrix logarithm of their Kronecker product is given by: where denotes the Kronecker product, and is the orthogonal projector onto the support of a matrix .
for Hermitian matrices
Let and be Hermitian matrices. The matrix logarithm of their Kronecker product is given by where denotes the Kronecker product and , denote the orthogonal projectors onto the support (the subspace spanned by eigenvectors with non-zero eigenvalues) of and , respectively. This generalizes the rule for non-singular matrices by replacing the identity matrix with the projector onto the range.
for non-singular Hermitian matrices
Let and be non-singular Hermitian matrices. Then the matrix logarithm of their Kronecker product is given by the sum of the Kronecker products of their individual logarithms with the identity matrix: where denotes the Kronecker product and denotes the identity matrix of the appropriate dimension.
