Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Cauchy-Schwarz inequality in quantum mechanics

Cauchy-Schwarz bounds the magnitude of an inner product by the product of vector norms and underlies several quantum probability and uncertainty bounds.

Edition released Coverage: Overview · Technical · Research
On this page

Definition and scientific use

For vectors u and v in an inner-product space, |<u|v>|^2<=<u|u><v|v>. Equality holds when the vectors are linearly dependent, including the appropriate zero-vector cases. For normalized states, the inequality guarantees that squared overlap is at most one. The same geometry supplies the basic step in uncertainty-relation derivations.

Derivation and solved example

For nonzero u, subtract from v its projection onto u: w=v-u<u|v>/<u|u>. Positivity gives <w|w>=<v|v>-|<u|v>|^2/<u|u>>=0. Rearranging yields the inequality. This proof also identifies equality: the orthogonal residual must vanish.

Take u=(1,i) and v=(2,1). Their squared norms are two and five. The inner product is 2-i, whose squared modulus is five. The inequality reads 5<=10. Normalizing both vectors gives squared overlap one half. Taking v=3iu instead makes the residual zero and saturates the bound.

Quantum consequences and limits

For a positive density matrix, apply the inequality to vectors sqrt(rho)|i> and sqrt(rho)|j>. This yields |rho_ij|^2<=rho_ii rho_jj, the coherence bound used in positivity checks. It is a necessary local condition; checking every two-by-two minor alone is not generally sufficient for positivity of a larger matrix without the full set of conditions.

In an uncertainty derivation, centered observable vectors produce a bound involving both commutator and covariance. Discarding the covariance gives the Robertson form, which may be weaker.

A weighted inner product and the role of a kernel

Let Q be a positive semidefinite matrix and define <u,v>_Q = u†Qv. Applying ordinary Cauchy–Schwarz to Q^(1/2)u and Q^(1/2)v gives |u†Qv|² ≤ (u†Qu)(v†Qv). If Q is strictly positive, this is an inner product. If Q has a kernel, it is only a semidefinite form: a nonzero vector can have zero length. Equality then means that the images under Q^(1/2) are linearly dependent, rather than necessarily the original vectors.

For Q = diag(2,1,0), u = (1,0,1), and v = (2,i,5), the weighted squared norms are two and nine, and u†Qv = 4. The inequality is 16 ≤ 18. The best weighted projection coefficient is c = (u†Qv)/(u†Qu) = 2. The residual v−cu = (0,i,3) has weighted squared norm one. Completing the square gives ||v−zu||_Q² = 1+2|z−2|², proving that z = 2 minimizes the weighted error. The final coordinate contributes no cost because Q annihilates it.

Replacing v by (2,0,5) saturates the inequality, even though v is not a scalar multiple of u. Their difference v−2u = (0,0,3) lies in the kernel. This example identifies exactly what changes when a metric is singular. Treating a zero-weight coordinate as accurately estimated would be a mistake: the metric supplies no information about it. Passing to the quotient by the kernel restores a genuine inner-product space.

Mixed-state operator correlations

For a density matrix ρ and arbitrary operators A and B, use the Hilbert–Schmidt vectors A√ρ and B√ρ. Their inner product is tr(ρA†B), so |tr(ρA†B)|² ≤ tr(ρA†A) tr(ρB†B). Equality is controlled by (B−cA)√ρ = 0 for a suitable complex c, provided the first vector is nonzero. Thus only the action on the support of ρ is constrained. When ρ is full rank, the relation becomes an operator identity; when ρ is pure, it concerns only one input vector.

For Hermitian observables, replace A and B by their centered versions. Write the complex correlation as Cov_ρ(A,B)+(1/2)tr(ρ[A,B]), where the symmetrized covariance is real and the commutator term is imaginary. Taking its squared magnitude yields Var_ρ(A) Var_ρ(B) ≥ Cov_ρ(A,B)²+|tr(ρ[A,B])|²/4. The separate terms cannot cancel because they are the real and imaginary parts of one complex number. Dropping the covariance is an additional weakening of the inequality.

Take ρ = diag(0.8,0.2), A = Z, and B = X+Z/2. Their means are 0.6 and 0.3. Since B² = 1.25I, its variance is 1.25−0.09 = 1.16, while Var(A) = 0.64. The covariance is 0.5−0.18 = 0.32. The mean commutator vanishes because the state's Y expectation is zero. The inequality reads 0.7424 ≥ 0.1024. A zero commutator expectation has not made either variance vanish or made the observables commute.

A matrix-valued extension and an overlap example

For several centered observables A_j, define C_jk = tr(ρA_jA_k). For any complex coefficients z_j, the quadratic form z†Cz is tr(ρL†L), with L = Σ_j z_jA_j, and is nonnegative. Therefore the complete correlation matrix is positive semidefinite. Each two-by-two principal minor gives a Cauchy–Schwarz inequality, while larger minors encode consistency conditions among more observables. Pairwise checks alone need not ensure positivity of an arbitrary proposed larger correlation table.

The same Hilbert–Schmidt inequality bounds |tr(√ρ√σU)| by one for normalized states and a unitary U. The two vector norms are one because cyclicity gives the traces of ρ and σ. For commuting states ρ = diag(0.9,0.1) and σ = diag(0.4,0.6), choosing U = I gives overlap 0.6+√0.06. Its square is approximately 0.713939. The direct matrix overlap tr(ρσ) is instead 0.42. Confusing these expressions would assign a different operational fidelity even though both obey valid Cauchy–Schwarz bounds in their respective spaces.

Saturation also depends on mixedness. In the pure state |0>, the centered observables X and Y give X|0> = |1> and Y|0> = i|1>. Their operator vectors are dependent with an imaginary proportionality factor, and the uncertainty inequality is saturated: both variances equal one and the commutator contribution is one. For ρ = diag(1−ε,ε) with 0 < ε < 1, the variances remain one while the commutator contribution becomes (1−2ε)². The gap is 4ε(1−ε), strictly positive. Although the observable matrices have not changed, their actions on both supported input directions no longer satisfy one common complex proportionality relation. Equality is a geometric property of the operators together with the state.

Sources

  • John Watrous · · Textbook material · cs.uwaterloo.ca
    Verification scope

    The Theory of Quantum Information, Chapter 1: Mathematical preliminaries
    John Watrous · · Textbook material · cs.uwaterloo.ca

    Citation identity checked ·

    Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.

    The Theory of Quantum Information: Chapter 1, Mathematical preliminaries
    John Watrous · · Manuscript · Author manuscript · cs.uwaterloo.ca

    Selected text checked ·

    Chapter introduction, finite-dimensional linear-algebra definitions and Caratheodory theorem were inspected. The author explicitly describes the chapter as review material, not a primary source for all mathematical results.

    Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.

  • John Watrous · · Textbook material · cs.uwaterloo.ca
    Verification scope

    The Theory of Quantum Information: Chapter 3, Similarity and distance among states and channels
    John Watrous · · Manuscript · Author manuscript · cs.uwaterloo.ca

    Selected text checked ·

    Full-text PDF available; binary discrimination and weighted-difference trace norm formulation inspected. No claim that every distance discussed in the extensions has a direct experimental implementation.

    Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.

  • Casey Rodriguez (course instructor; MIT course notes) · · Lecture or course notes · ocw.mit.edu
    Verification scope

    Selected text checked ·

    Full-text completeness definition, finite-dimensional and l2/L2 examples, parallelogram law, countable dense subsets, polynomial density on bounded intervals and Bessel inequality inspected.

    The lecture uses an inner product linear in its first slot; encyclopedia formulas use the physics convention linear in the ket. The Taylor-polynomial counterexample, occupation tails and error calculations are original additions and separately checked.