Lean, informalized

Nielsen & Chuang · Chapter 2, Introduction to quantum mechanics · p. 75

Exercise 2.34 - A positive definite square root and a Hermitian logarithm of a real two by two matrix, in closed form

The square root and the logarithm of a matrix.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The Exercise

Exercise 2.34 asks for the square root and the logarithm of the real 2×22 \times 2 matrix A=(4334).A = \begin{pmatrix} 4 & 3 \\ 3 & 4 \end{pmatrix}.(1)

The matrix AA is symmetric, with eigenvalue 77 on (|0⟩+|1⟩)/2(|0\rangle + |1\rangle)/\sqrt{2} and eigenvalue 11 on (|0⟩−|1⟩)/2(|0\rangle - |1\rangle)/\sqrt{2}. A function f(A)f(A) of AA is the matrix with the same eigenvectors as AA and the eigenvalues f(7)f(7) and f(1)f(1) on them.

Two Matrices

The library gives both answers in closed form, as real 2×22 \times 2 matrices. The square root A\sqrt{A} of AA is the matrix A=12(1+77−17−11+7).\sqrt{A} = \frac{1}{2} \begin{pmatrix} 1 + \sqrt{7} & \sqrt{7} - 1 \\ \sqrt{7} - 1 & 1 + \sqrt{7} \end{pmatrix}.(2)✦ The logarithm log⁡A\log A of AA is the matrix log⁡A=log⁡72(1111),\log A = \frac{\log 7}{2} \begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix},(3)✦ with log⁡7\log 7 the natural logarithm of 77.

The Claim

The exponential eMe^{M} of a square matrix MM is the sum of the series ∑k≥0Mk/k!\sum_{k \geq 0} M^k / k!.

Theorem 1. The matrix A\sqrt{A} of (2) is a square root of AA, AA=A,\sqrt{A}\,\sqrt{A} = A,(4)✦ and it is positive definite, A>0.\sqrt{A} > 0.(5)✦ The matrix log⁡A\log A of (3) is a logarithm of AA, elog⁡A=A,e^{\log A} = A,(6)✦ and it is Hermitian, (log⁡A)†=log⁡A.(\log A)^{\dagger} = \log A.(7)✦

What Is Checked

The claim is stated over the three matrices AA, A\sqrt{A} and log⁡A\log A, written out entry by entry in (1), (2) and (3), and over the exponential series of a matrix.