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

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Positive semidefinite operators

A positive semidefinite operator has nonnegative expectation in every vector and, in finite dimensions, nonnegative eigenvalues.

Also called PSD matrix, positive operator

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

Definition and scientific role

A Hermitian matrix A is positive semidefinite if <v|A|v>>=0 for every vector v. Its eigenvalues are then nonnegative. Density operators, POVM effects and Choi operators of completely positive maps rely on positivity. Nonnegative diagonal entries alone do not ensure it because off-diagonal coherence can make an eigenvalue negative.

Positive definite means every nonzero vector gives a strictly positive value. Positive semidefinite allows zero eigenvalues and therefore a nontrivial null space.

Fully solved qubit criterion

For A=[[a,c],[c*,b]], positivity is equivalent to a>=0, b>=0 and ab>=|c|^2. With trace one, b=1-a, so |c|^2<=a(1-a). If a=0.8, the largest allowed coherence magnitude is sqrt(0.16)=0.4.

The matrix [[0.8,0.4],[0.4,0.2]] saturates the bound and has eigenvalues one and zero, representing the pure state sqrt(0.8)|0>+sqrt(0.2)|1>. Increasing the off-diagonal to 0.45 gives determinant 0.16-0.2025=-0.0425 and creates a negative eigenvalue. A plausible-looking coherence estimate can therefore be unphysical.

Factorization and limits

A is positive semidefinite exactly when it can be written B-dagger B for some B. Its positive square root supplies one such factorization. The relation A>=B means A-B is positive semidefinite; it is an operator ordering, not a componentwise comparison.

Numerical tomography can yield a nonpositive raw estimate due to finite sampling or model mismatch. Projecting it onto the physical set changes the estimator and can introduce bias. The correction procedure should be reported rather than hidden.

Positive matrices need not have a positive product

Let B = diag(1,0) and C = [[1,1],[1,1]]. Both are positive semidefinite. Their product BC = [[1,1],[0,0]] is not Hermitian, so it is not a positive semidefinite matrix in the usual operator sense. Positivity of the factors does not remove the order sensitivity of matrix multiplication.

Even symmetrizing the product is insufficient. The matrix (BC+CB)/2 = [[1,1/2],[1/2,0]] has determinant −1/4 and therefore one negative eigenvalue. Its quadratic form can be negative despite the positivity of both original factors. Scalar intuitions about products of nonnegative numbers require a commutativity assumption before they can be transferred to matrices.

Congruence is different: X†BX is positive semidefinite for every compatible X when B is positive semidefinite. Indeed, v†X†BXv = (Xv)†B(Xv) is nonnegative for every v. This one-line identity is the reason positive square roots can safely be used to form expressions such as B^(1/2)CB^(1/2), even when B and C do not commute.

Squaring does not preserve the operator order

Set A = B+C = [[2,1],[1,1]]. Since A−B = C is positive, A ≥ B in the Loewner order. Yet A²−B² = [[4,3],[3,2]] has determinant −1. Its eigenvalues are 3±√10, one of which is negative. Thus A ≥ B ≥ 0 does not imply A² ≥ B².

The issue is the matrix order, which compares all quadratic forms. It does not compare entries one by one, and it cannot generally be transformed by applying an increasing scalar function. The scalar function t² is increasing for nonnegative t, but it is not operator monotone on all positive matrices. A commuting pair can be simultaneously diagonalized and reduces to the scalar case; the counterexample uses noncommutation.

Inversion does reverse order for strictly positive matrices. If A ≥ B > 0, then D = B^(-1/2)AB^(-1/2) ≥ I. Diagonalizing the positive matrix D gives D⁻¹ ≤ I. Congruencing this inequality by B^(-1/2) yields A⁻¹ ≤ B⁻¹. Every inverse exists because strict positivity, rather than semidefiniteness alone, was assumed.

If a matrix has a zero eigenvalue, replacing its inverse by a pseudoinverse does not automatically preserve every statement of this proof. Supports must be considered explicitly. Singular limits can be studied with A+εI and B+εI, but divergent components cannot be discarded without changing the question being answered.

Repairing a trace-one Hermitian estimate is an optimization problem

Suppose a Hermitian trace-one estimate has eigenvalues (0.8,0.3,−0.1). It cannot represent a density operator because of the negative eigenvalue. To find the nearest density operator in Frobenius norm, one may keep its eigenvectors and project its eigenvalue vector onto the probability simplex. Alignment of the eigenvectors maximizes the trace overlap for fixed candidate eigenvalues, leaving only a scalar constrained minimization.

Write the new eigenvalues as p_i ≥ 0 with Σ_i p_i = 1 and minimize Σ_i(p_i−λ_i)². For positive p_i, the Lagrange multiplier condition gives p_i = λ_i−τ; inactive entries are set to zero. Here the first two remain active, so (0.8−τ)+(0.3−τ) = 1 and τ = 0.05. The solution is (0.75,0.25,0).

The squared Frobenius correction is 0.05²+0.05²+0.1² = 0.015. Simply clipping the negative eigenvalue and renormalizing gives (8/11,3/11,0). Its squared correction is approximately 0.0160331, which is larger. Clipping and normalization restore validity, but they do not solve this particular nearest-matrix problem.

The chosen distance matters. A Frobenius projection is not automatically the maximum-likelihood state for a given measurement data set, and it does not encode unequal measurement uncertainties. Its merit here is a precisely specified geometric objective with a complete solution. Physical admissibility and statistical suitability are distinct requirements.

Every vector supplies a positivity witness

If a Hermitian candidate has a normalized negative-eigenvalue eigenvector |w⟩, then the effect |w⟩⟨w| would have predicted probability ⟨w|ρ|w⟩ below zero. This gives a direct operational interpretation of the positivity test, not merely a matrix convention. Conversely, nonnegative expectations on every rank-one projector imply nonnegative quadratic forms on every vector after scaling, which is exactly positive semidefiniteness. Checking only the computational diagonal is insufficient because it samples only one orthonormal collection of such vectors. In the repaired qutrit example, the removed negative direction is the one on which the original estimate assigned probability −0.1. Its replacement probability is zero, while the positive directions are adjusted to preserve trace and minimize the specified distance.

Strict positivity and boundary structure

The repaired state lies on the boundary of the density-operator set because one eigenvalue is zero. A small perturbation along an arbitrary trace-zero Hermitian direction can immediately leave the set at such a boundary point. A full-rank state, by contrast, tolerates sufficiently small perturbations in every Hermitian trace-preserving direction before its smallest eigenvalue reaches zero.

Projecting onto the nonnegative trace-one simplex is a distance-minimization operation on the eigenvalues. Positive operator order compares quadratic forms. It is distinct from entrywise arithmetic, as shown by the negative determinant of A²−B² even when A−B is positive.

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.

  • Uwe Franz, Fumio Hiai · · Research paper · Publication status unspecified · arXiv · DOI 10.15352/afa/1396833511
    Verification scope

    Selected text checked ·

    Readable full-text introductory definitions of operator monotonicity and operator convexity inspected; arXiv metadata separately identifies the version and journal DOI. The deeper cone-classification results are not summarized.

    Selected definitions and metadata verified; not a claim of exhaustive theorem review or external scientific approval. Original prose and independently constructed examples are used.