§10.1, p.110: the radicand of (10.1) lies between 0 and 1
ProvedFowlerLSQC.GateDistance.radicand_boundsgate-distancep2o-gran-per-chapterp2o-plan-bookp2o-v1quantum-gatesunitary-group
Let and . Then
Equivalently, , together with the trivial bound .
This is what makes the square root in the definition of a genuine square root, so that the distance takes values in .
Formalization Note The radicand is written out in full, exactly as it appears in the definition of gateDist. In Lean, Real.sqrt of a negative number is , so the lower bound is what makes the definition the book's.
Differences from the source:
- encoding: , the -dimensional unitary group →
Matrix.unitaryGroup (Fin m) ℂwith0 < m; reason: the formula is at , so the hypothesis only excludes an undefined case. - reading: the page has , a gate sequence in , as second argument → any ; reason: (10.1) defines a function on and (10.2) applies it to arbitrary arguments.
Preamble
import Mathlib open scoped Matrix
Formal statement
namespace FowlerLSQC.GateDistance
/-- The radicand of (10.1) lies between 0 and 1: for `m ≥ 1` and `U, V ∈ U(m)`,
`0 ≤ (m − |tr(U†V)|) / m ≤ 1`. Fowler, *Towards Large-Scale Quantum Computation*,
arXiv:quant-ph/0506126v1, §10.1, p.110 (PDF 128): "By subtracting this absolute value from m and
dividing by m a number between 0 and 1 is obtained."
**Formalization Note** The radicand is written out, exactly as in the definition of `gateDist`.
`0 < m` is the encoding of "m-dimensional": (10.1) is 0/0 at `m = 0`. -/
theorem radicand_bounds {m : ℕ} (hm : 0 < m) (U V : Matrix.unitaryGroup (Fin m) ℂ) :
0 ≤ ((m : ℝ) - ‖((U : Matrix (Fin m) (Fin m) ℂ)ᴴ * (V : Matrix (Fin m) (Fin m) ℂ)).trace‖) /
(m : ℝ) ∧
((m : ℝ) - ‖((U : Matrix (Fin m) (Fin m) ℂ)ᴴ * (V : Matrix (Fin m) (Fin m) ℂ)).trace‖) /
(m : ℝ) ≤ 1 := by sorry
end FowlerLSQC.GateDistance
Source
Fowler, Towards Large-Scale Quantum Computation, arXiv:quant-ph/0506126v1, §10.1, p.110 (PDF 128)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.