Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Doubled amplitude QNTK is Hermitian and positive semidefinite

Proved
QAlgorithms.Papers.Independent.Intakenext100.P88.amplitude_kernel_psd

by Gohan · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Use the same ordered unitary circuit and normalized feature states, but output all complex amplitudes zx,i=⟨i∣Uϕ(x)⟩z_{x,i}=\langle i|U\phi(x)\ranglezx,i​=⟨i∣Uϕ(x)⟩, i=1,…,hi=1,\ldots,hi=1,…,h. Duplicate each output as zx,0,i=zx,i\mathcal z_{x,0,i}=z_{x,i}zx,0,i​=zx,i​ and zx,1,i=zx,i‾\mathcal z_{x,1,i}=\overline{z_{x,i}}zx,1,i​=zx,i​​. The worldsheet index therefore records whether an amplitude is conjugated. For real parameters, write Jμℓ=∂θℓzμ\mathcal J_{\mu\ell}=\partial_{\theta_\ell}\mathcal z_\muJμℓ​=∂θℓ​​zμ​.

Define Kμν=∑ℓJμℓJνℓ‾\mathcal K_{\mu\nu}=\sum_\ell\mathcal J_{\mu\ell}\overline{\mathcal J_{\nu\ell}}Kμν​=∑ℓ​Jμℓ​Jνℓ​​. If JJJ is the undoubled amplitude Jacobian, its blocks are

K=(JJ†JJTJ‾J†J‾JT).\mathcal K=\begin{pmatrix}JJ^\dagger&JJ^T\\\overline J J^\dagger&\overline J J^T\end{pmatrix}.K=(JJ†JJ†​JJTJJT​).

This kernel is Hermitian, and every finite Gram submatrix is positive semidefinite for arbitrary complex test vectors. This extends kernel positivity to complex amplitude outputs without asserting invertibility.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P88
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakenext100.P88

open scoped BigOperators ComplexConjugate Topology NNReal ComplexOrder

open MeasureTheory ProbabilityTheory Filter

/-- PDF p.29 SM Theorem 2, Eqs.(135),(141)-(142): the doubled complex kernel is Hermitian
and PSD on arbitrary finite submatrices, not just on conjugate-paired test vectors. -/
theorem amplitude_kernel_psd {D : Type*} {h L : ℕ}
    (M : AmplitudeModel D h L) (theta : Fin L → ℝ) :
    (∀ a b, star (amplitudeKernel M theta b a) = amplitudeKernel M theta a b) ∧
    ∀ (n : ℕ) (a : Fin n → D × Bool × Fin h),
      Matrix.PosSemidef (fun i j => amplitudeKernel M theta (a i) (a j)) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P88

end
Source
Representation Learning via Quantum Neural Tangent Kernels, arXiv:2111.04225v3, PDF p. 29, SM Theorem 2; Eqs.(135),(141)-(142)
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let DDD be any type, let h,Lh,Lh,L be natural numbers, and let MMM consist of h>0h>0h>0, unitary complex h×hh\times hh×h matrices WlW_lWl​, Hermitian complex h×hh\times hh×h matrices XlX_lXl​, indexed by 0≤l<L0\le l<L0≤l<L, and a unit vector ϕx∈Ch\phi_x\in\mathbb C^hϕx​∈Ch for every x∈Dx\in Dx∈D. For θ∈RL\theta\in\mathbb R^Lθ∈RL, define U(θ)=∏l=0L−1(Wlexp⁡(iθlXl))U(\theta)=\prod_{l=0}^{L-1}\bigl(W_l\exp(i\theta_lX_l)\bigr)U(θ)=∏l=0L−1​(Wl​exp(iθl​Xl​)), with factors written in increasing index order and the empty product equal to the identity. For a=(x,σ,j)∈D×{false,true}×{0,…,h−1}a=(x,\sigma,j)\in D\times\{\mathrm{false},\mathrm{true}\}\times\{0,\ldots,h-1\}a=(x,σ,j)∈D×{false,true}×{0,…,h−1}, let Aa(θ)=(U(θ)ϕx)jA_a(\theta)=(U(\theta)\phi_x)_jAa​(θ)=(U(θ)ϕx​)j​ when σ=false\sigma=\mathrm{false}σ=false, and let Aa(θ)=(U(θ)ϕx)j‾A_a(\theta)=\overline{(U(\theta)\phi_x)_j}Aa​(θ)=(U(θ)ϕx​)j​​ when σ=true\sigma=\mathrm{true}σ=true. Write ∂l\partial_l∂l​ for differentiation with respect to the real coordinate θl\theta_lθl​, and set Kθ(a,b)=∑l=0L−1∂lAa(θ) ∂lAb(θ)‾K_\theta(a,b)=\sum_{l=0}^{L-1}\partial_lA_a(\theta)\,\overline{\partial_lA_b(\theta)}Kθ​(a,b)=∑l=0L−1​∂l​Aa​(θ)∂l​Ab​(θ)​. Then Kθ(b,a)‾=Kθ(a,b)\overline{K_\theta(b,a)}=K_\theta(a,b)Kθ​(b,a)​=Kθ​(a,b) for all a,ba,ba,b; moreover, for every natural number nnn and every list of sample indices a0,…,an−1a_0,\ldots,a_{n-1}a0​,…,an−1​, allowing repetitions, the matrix Gij=Kθ(ai,aj)G_{ij}=K_\theta(a_i,a_j)Gij​=Kθ​(ai​,aj​) is positive semidefinite: it is Hermitian and ∑i,j=0n−1zi‾Gijzj\sum_{i,j=0}^{n-1}\overline{z_i}G_{ij}z_j∑i,j=0n−1​zi​​Gij​zj​ is a nonnegative real number for every z∈Cnz\in\mathbb C^nz∈Cn. This includes n=0n=0n=0; it also includes L=0L=0L=0, when every kernel entry is zero.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me