Skip to main content
KetQat

Appearance

Proof · intermediate

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,BA, B, Tr⁡(AB)‾=Tr⁡((AB)†)=Tr⁡(BA)=Tr⁡(AB)\overline{\tr(AB)} = \tr\big((AB)\dagg\big) = \tr(BA) = \tr(AB), so K(x,x′)K(x, x') is real, and Tr⁡(AB)=Tr⁡(BA)\tr(AB) = \tr(BA) gives symmetry.

Positive semidefinite. For c∈Rmc \in \R^m let A=∑iciρ(xi)A = \sum_i c_i \rho(x_i), a Hermitian operator. Then

∑i,jcicjK(xi,xj)=Tr⁡(∑iciρ(xi)∑jcjρ(xj))=Tr⁡(A2)=Tr⁡(A†A)≥0.\sum_{i,j} c_i c_j K(x_i, x_j) = \tr\Big(\sum_i c_i\rho(x_i) \sum_j c_j \rho(x_j)\Big) = \tr(A^2) = \tr(A\dagg A) \ge 0 .

Bounds. Tr⁡(ρσ)≥0\tr(\rho\sigma) \ge 0 for positive operators, since Tr⁡(ρσ)=Tr⁡(ρ1/2σρ1/2)\tr(\rho\sigma) = \tr(\rho^{1/2}\sigma\rho^{1/2}) and ρ1/2σρ1/2≥0\rho^{1/2}\sigma\rho^{1/2} \ge 0. By the Cauchy–Schwarz inequality for the Hilbert–Schmidt inner product, Tr⁡(ρσ)≤Tr⁡ρ2Tr⁡σ2≤1\tr(\rho\sigma) \le \sqrt{\tr\rho^2}\sqrt{\tr\sigma^2} \le 1, because Tr⁡ρ2≤(Tr⁡ρ)2=1\tr\rho^2 \le (\tr\rho)^2 = 1 for a positive operator of unit trace. Finally K(x,x)=Tr⁡ρ(x)2K(x, x) = \tr\rho(x)^2, the purity, equals 1 if and only if ρ(x)\rho(x) has a single non-zero eigenvalue, that is, is pure.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Maria Schuld, Nathan Killoran (2019). Quantum machine learning in feature Hilbert spaces. Physical Review Letters 122, 040504. doi:10.1103/PhysRevLett.122.040504arXiv:1803.07128

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. 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

  1. 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).