Proof that quantum kernels are positive semidefinite
The quadratic form of the Gram matrix equals the squared Hilbert–Schmidt norm of a Hermitian combination of feature states, and the bounds follow from the Cauchy–Schwarz inequality and the purity of density operators.
Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
Real and symmetric. For Hermitian A,B, Tr(AB)=Tr((AB)†)=Tr(BA)=Tr(AB),
so K(x,x′) is real, and Tr(AB)=Tr(BA) gives symmetry.
Positive semidefinite. For c∈Rm let A=∑iciρ(xi), a Hermitian operator. Then
Bounds.Tr(ρσ)≥0 for positive operators, since
Tr(ρσ)=Tr(ρ1/2σρ1/2) and ρ1/2σρ1/2≥0. By the
Cauchy–Schwarz inequality for the Hilbert–Schmidt inner product,
Tr(ρσ)≤Trρ2Trσ2≤1, because Trρ2≤(Trρ)2=1
for a positive operator of unit trace. Finally K(x,x)=Trρ(x)2, the purity, equals 1 if and only
if ρ(x) has a single non-zero eigenvalue, that is, is pure.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Proof checked line by line against the statement in theorem/quantum-kernels-are-positive-semidefinite: reality and symmetry of tr(AB) for Hermitian A, B; quadratic form equals tr(A^2) = ||A||_HS^2 for A = sum c_i rho(x_i); tr(rho sigma) = tr(rho^{1/2} sigma rho^{1/2}) >= 0; Cauchy-Schwarz with tr rho^2 <= 1; purity 1 iff rank one. Pure mathematics, no source claim beyond the theorem record.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
Current revision 977de8953a1c9642. Source file knowledge/records/proof/quantum-kernels-are-positive-semidefinite.md in the content repository (readable there once it is public).