§2.2, p. 3 — a controlled preparation of |v⟩ is within √(2/4^k + 2√2/2^k) of Λ(e^{iφ}) ⊗ |00⟩ (the page: O(1/2^{0.5k}))
ProvedCliffordTApprox.Ancilla.state_distanceLet , , let be integers with , and let be the corresponding unit vector. Let be any operator on three qubits (data qubit first, then two ancillas) that is a controlled preparation of :
Consider the linear maps from one qubit to three qubits
Then their Frobenius distance satisfies
Since the Frobenius norm dominates the operator norm, every input with is mapped to within this distance of , which is the paper's estimate .
Formalization Note. need not be unitary; its data- branch is fixed for every ancilla input, as required of a controlled operator. The distance bound uses only its action on the two inputs with ancillas . The constants are pinned from the page's display with and . The page prints the third term of the transformed state as ; by its own definition it is , which is what this statement uses.
import Mathlib import Definitions.Def_CliffordTApprox_Ancilla_Setting
namespace CliffordTApprox.Ancilla
open QAlgorithms
open QAlgorithms.Papers.Independent.Renew46.P12
/-- §2.2, p. 3: if `W` acts as the controlled preparation of `|v⟩` (with `(a, b, c, d)` solving
the four-square equation and `0 ≤ φ ≤ π/4`), then the initialized map of `W` is within Frobenius
distance `√(2/4^k + 2√2/2^k)` (the page: `O(1/2^{0.5k})`) of `Λ(e^{iφ}) ⊗ |00⟩`. -/
theorem state_distance (k : ℕ) (φ : ℝ) (hφ₀ : 0 ≤ φ) (hφ₁ : φ ≤ Real.pi / 4)
(a b c d : ℤ) (habcd : a ^ 2 + b ^ 2 + c ^ 2 + d ^ 2 = deficit k φ)
(W : Matrix (Qubits (1 + 2)) (Qubits (1 + 2)) ℂ)
(hW : PreparesControlled W (vecV k φ a b c d)) :
frobNorm (initializedMap W - idealMap (phaseGate φ) 2) ≤
Real.sqrt (2 / 4 ^ k + 2 * Real.sqrt 2 / 2 ^ k) := by sorry
end CliffordTApprox.Ancilla
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.