Dimension-independent repeated qubit test
OpenQAlgorithms.Papers.Independent.Extend50.P30.repeatedQubitTestingThere is an absolute such that for every number of qubits and every , there is one binary test, fixed before the unknown input , using copies. Its effect is the tensor product of independent Algorithm 1 effects. It accepts every stabilizer with probability one and accepts any normalized state with all stabilizer fidelities at most with probability at most . Zero repetitions are allowed for an empty far-state promise.
This gives the source's dimension-independent repeated qubit test in the fixed computational-basis and phase conventions.
Formalization Note Pure states carry norm one; stabilizer averages use density matrices to discard global phases. All finite tensor indices are explicitly ordered by copy, then physical qudit.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P30
noncomputable section
open scoped BigOperators ComplexConjugate Matrix
namespace QAlgorithms.Papers.Independent.Extend50.P30
open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)
open QAlgorithms.Papers.Independent.Gap20.P06 (ketBra)
attribute [local instance] Classical.propDecidable
/-- PDF p.22, Corollary 3.4: a universal copy bound, with repetitions tied to the physical effect. -/
theorem repeatedQubitTesting :
∃ C : ℝ, 0 < C ∧ ∀ n : ℕ, ∀ epsilon : ℝ, 0 < epsilon →
∃ r : ℕ, ∃ A : CopyTest 2 n,
A.copies = 6 * r ∧ HEq A.accept (repeatEffect r (qubitTest n)) ∧
(A.copies : ℝ) ≤ C / epsilon ^ 2 ∧
∀ v : EuclideanSpace ℂ (ResidueRegister 2 n), ‖v‖ = 1 →
(IsStabilizer v → A.prob v = 1) ∧
(FarFromStabilizers v epsilon → A.prob v ≤ 1 / 3) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P30
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
There exists a real constant such that, for every and every real , there are and a test with copies and acceptance matrix satisfying , , and , whose acceptance matrix, after identifying its copy count with , is on consecutive blocks of six copies. Here, with , , define if , and zero otherwise; set , , , and . For every unit vector , the test probability is . Let be the rank-one unit-vector matrices among , where , and ranges over subsets of containing , closed under multiplication and adjoints, and satisfying . Then
Tensor-power entries are products over the copies. Neither nor is required; uses an empty product on a singleton register, and a soundness hypothesis that no vector satisfies makes its implication vacuous. The constant is independent of both and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.