§VIII (94): induced binary noise for the square code
OpenQAlgorithms.Papers.Independent.Intakenext100.P12.square_gaussian_logical_noiseLet and apply independent Gaussian displacements to and . Under ideal nearest-cell square-qubit recovery let be the Gaussian mass of cells whose nearest -multiple has odd index. The two logical Pauli bits are independent Bernoulli variables with this same parameter; explicitly their joint law is for . Their defining integrands are integrable and . Furthermore
The exact probability counts odd cells only, so harmless larger stabilizer shifts are retained.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P12
noncomputable section
open scoped BigOperators
open MeasureTheory Matrix ComplexConjugate
open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase sigma)
namespace QAlgorithms.Papers.Independent.Intakenext100.P12
/-- Section VIII (94), PDF p.11: independent logical binary errors and the strict tail bound.
The cutoff is sqrt(pi)/2, not sqrt(pi/2). -/
theorem square_gaussian_logical_noise (sigma : ℝ) (hs : 0 < sigma) :
Integrable (fun x : ℝ => if squareParity x then quadratureGaussianDensity sigma x else 0) volume ∧
(∀ a b : Bool, Integrable (fun xy : ℝ × ℝ =>
if squareParity xy.1 = a ∧ squareParity xy.2 = b then
quadratureGaussianDensity sigma xy.1 * quadratureGaussianDensity sigma xy.2 else 0) volume) ∧
0 ≤ squareErrorRate sigma ∧ squareErrorRate sigma ≤ 1 ∧
(∀ a b : Bool, squareJoint sigma a b =
(if a then squareErrorRate sigma else 1 - squareErrorRate sigma) *
(if b then squareErrorRate sigma else 1 - squareErrorRate sigma)) ∧
squareErrorRate sigma <
2 * ∫ x in Set.Ioi (Real.sqrt Real.pi / 2), quadratureGaussianDensity sigma x := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P12
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every real , define
where brackets denote a Boolean truth value and all integrals use Lebesgue measure. The theorem states that the integrand defining is integrable, and that for every pair of Boolean values , the function is integrable on . It further states , and, for every such ,
Finally, it asserts the strict inequality
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.