Pauli matrices: a Hermitian basis of C^{2×2} with XYZ = iI
ProvedQAlgorithms.Nannicini.pauli_basis_hermitian_xyzlecture-notesnanniciniquantum-information
Let the Pauli gates be (Def. 1.36)
Then:
- form a basis of the complex vector space (they are linearly independent over and span it);
- each of is Hermitian;
- .
The Pauli matrices are the basic single-qubit gates, and this basis property lets any single-qubit operator be expanded in them.
Formalization Note Matrices are indexed by with the first row and column; the extracted text garbles , which is the identity in the source.
Preamble
import Definitions.Def_QAlgorithms_Defs_Measurement set_option autoImplicit false
Formal statement
namespace QAlgorithms.Nannicini
/-- Nannicini p.24, Proposition 1.37: the four Pauli gates `I, X, Y, Z` (Def. 1.36) form a basis
of `ℂ^{2×2}`, each is Hermitian, and `XYZ = iI`. -/
theorem pauli_basis_hermitian_xyz :
LinearIndependent ℂ ![(1 : Matrix Bool Bool ℂ), pauliX, pauliY, pauliZ] ∧
Submodule.span ℂ (Set.range ![(1 : Matrix Bool Bool ℂ), pauliX, pauliY, pauliZ]) = ⊤ ∧
(1 : Matrix Bool Bool ℂ).IsHermitian ∧ pauliX.IsHermitian ∧ pauliY.IsHermitian ∧
pauliZ.IsHermitian ∧
pauliX * pauliY * pauliZ = Complex.I • (1 : Matrix Bool Bool ℂ) := by
sorry
end QAlgorithms.Nannicini
Source
Giacomo Nannicini, Quantum algorithms for optimizers, 2025, v5; notes dated 9 July 2025, PDF p. 24, Proposition 1.37. https://arxiv.org/pdf/2408.07086v5
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Consider the complex matrices with rows and columns indexed by (row and column first):
The statement asserts all four of the following:
- The family is linearly independent over .
- The -linear span of is the whole space of complex matrices.
- Each of is Hermitian, i.e. equal to its own conjugate transpose.
- The ordered product satisfies .
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.