Documentation

LeanPool.LeanQuantumAlg.Primitives.QKernel.Concentration

Exponential concentration of the tensor-product RY quantum kernel #

The global-measurement example of Thanasilp et al. (2022): the fidelity kernel of the embedding U(x) = ⊗ₖ R_Y(xₖ) is κ(x,x') = ∏ₖ cos²((xₖ-x'ₖ)/2). By translation invariance each coordinate reduces to a uniform variable on [-π,π], so we study ryKernel n θ = ∏ₖ cos²(θₖ). Its moments are elementary (𝔼[κ]=(1/2)ⁿ, Var[κ]=(3/8)ⁿ-(1/4)ⁿ), giving genuine exponential concentration with NO Haar assumption.

Uniform probability measure on [-π, π].

Equations
Instances For
    noncomputable def QuantumAlg.ryKernel (n : ) (θ : Fin n) :

    The reduced tensor-product RY fidelity kernel ∏ₖ cos²(θₖ).

    Equations
    Instances For
      noncomputable def QuantumAlg.ryMeasure (n : ) :

      The data distribution: n independent uniform angles.

      Equations
      Instances For
        theorem QuantumAlg.ryKernel_nonneg (n : ) (θ : Fin n) :
        0 ryKernel n θ
        theorem QuantumAlg.ryKernel_le_one (n : ) (θ : Fin n) :
        ryKernel n θ 1

        ∫ cos²θ over the uniform measure on [-π,π] equals 1/2.

        ∫ cos⁴θ over the uniform measure on [-π,π] equals 3/8.

        theorem QuantumAlg.mean_ryKernel (n : ) :
        (θ : Fin n), ryKernel n θ ryMeasure n = (1 / 2) ^ n

        First moment: 𝔼[κ_n] = (1/2)ⁿ.

        theorem QuantumAlg.mean_ryKernel_sq (n : ) :
        (θ : Fin n), ryKernel n θ ^ 2 ryMeasure n = (3 / 8) ^ n

        Second moment: 𝔼[κ_n²] = (3/8)ⁿ.

        Exact variance: Var[κ_n] = (3/8)ⁿ - (1/4)ⁿ.

        The tensor-product RY quantum kernel concentrates exponentially (Thanasilp 2022), with NO Haar assumption.

        theorem QuantumAlg.ryKernel_tendsto_zero {δ : } ( : 0 < δ) :
        Filter.Tendsto (fun (n : ) => (ryMeasure n) {θ : Fin n | δ |ryKernel n θ - (x : Fin n), ryKernel n x ryMeasure n|}) Filter.atTop (nhds 0)

        The RY-kernel deviation probability vanishes as the qubit count grows: the kernel landscape becomes exponentially flat, so a polynomial shot budget cannot resolve it.