Unitary conjugation commutes with the matrix exponential: e^{iUHU†t} = U e^{iHt} U†
ProvedQAlgorithms.Nannicini.exp_unitary_conjLet , let be a unitary matrix, let be a Hamiltonian on qubits, that is, a Hermitian complex matrix, and let . With the matrix exponential ,
This is what makes diagonalizable Hamiltonians easy to simulate: if diagonalizes , simulating reduces to applying , a diagonal phase, and .
Formalization Note The matrix exponential is Mathlib's power series NormedSpace.exp; is the conjugate transpose (star U). Hermiticity of is kept because the source says Hamiltonian (Def. 6.1), although the identity holds for every square matrix.
import Definitions.Def_QAlgorithms_Defs_Adiabatic set_option autoImplicit false
namespace QAlgorithms.Nannicini
/-- Nannicini p.137, Proposition 6.12. For any unitary `U` and Hamiltonian `H` (a Hermitian
`2^n × 2^n` matrix, Def. 6.1) and any real time `t`, `e^{iUHU†t} = U e^{iHt} U†`. -/
theorem exp_unitary_conj {n : ℕ} (U : Matrix (Qubits n) (Qubits n) ℂ)
(hU : U ∈ Matrix.unitaryGroup (Qubits n) ℂ) (H : Matrix (Qubits n) (Qubits n) ℂ)
(hH : H.IsHermitian) (t : ℝ) :
NormedSpace.exp ((Complex.I * (t : ℂ)) • (U * H * star U)) =
U * NormedSpace.exp ((Complex.I * (t : ℂ)) • H) * star U := by
sorry
end QAlgorithms.Nannicini
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix a natural number and consider complex matrices. Their rows and columns are indexed by bit strings of length ; for they are matrices.
Data and hypotheses.
- is unitary, i.e. , where denotes the conjugate transpose.
- is Hermitian, i.e. .
- is a real number.
Conclusion. With the matrix exponential defined by the power series,
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.