Skip to content

Trace-Class and Hilbert-Schmidt Operators

Trace-class and Hilbert-Schmidt operators are special bounded operators on a Hilbert space whose singular values are summable in stronger ways than ordinary boundedness requires. They are the infinite-dimensional operator classes behind traces, density operators, purities, integral kernels, and partial traces.

The practical slogan is:

Boundedness controls action on vectors; trace-class and Hilbert-Schmidt conditions control sums over infinitely many basis directions.

In finite-dimensional Hilbert spaces every operator is trace-class and Hilbert-Schmidt. The distinction becomes essential in wave mechanics, quantum statistical mechanics, continuous-variable systems, and open-system theory.

Quantum mechanics uses traces constantly:

Tr⁡ρ=1,⟨A⟩=Tr⁡(ρA),ρA=Tr⁡BρAB.\operatorname{Tr}\rho=1, \qquad \langle A\rangle = \operatorname{Tr}(\rho A), \qquad \rho_A = \operatorname{Tr}_B\rho_{AB}.

In finite dimensions these formulas are ordinary matrix operations. In infinite dimensions, not every bounded operator has a finite trace. For example, the identity operator on an infinite-dimensional separable Hilbert space is bounded, but

Tr⁡I=∑n=1∞⟨en∣Ien⟩=∑n=1∞1=∞.\operatorname{Tr}I = \sum_{n=1}^{\infty} \langle e_n\vert I e_n\rangle = \sum_{n=1}^{\infty}1 = \infty.

Trace-class operators are the operators for which the trace is genuinely finite and basis-independent. Hilbert-Schmidt operators are a slightly larger class with a finite square-sum norm. They are useful for kernels, purities, compactness estimates, and operator-space Hilbert structures.

Let TT be a compact operator on a Hilbert space H\mathcal H. Its absolute value is

∣T∣=(T†T)1/2.\lvert T\rvert = (T^\dagger T)^{1/2}.

The singular values of TT are the eigenvalues of ∣T∣\lvert T\rvert, counted with multiplicity and listed as

s1(T)≥s2(T)≥⋯≥0.s_1(T)\ge s_2(T)\ge\cdots\ge0.

This is the infinite-dimensional analogue of the singular values in Singular Value Decomposition. For trace-class and Hilbert-Schmidt operators, these singular values decay fast enough to make the sums below finite.

An operator TT is Hilbert-Schmidt if

∥T∥22=Tr⁡(T†T)=∑n=1∞sn(T)2<∞.\lVert T\rVert_2^2 = \operatorname{Tr}(T^\dagger T) = \sum_{n=1}^{\infty} s_n(T)^2 < \infty.

Equivalently, for any orthonormal basis {en}\{e_n\},

∥T∥22=∑m,n∣⟨em∣Ten⟩∣2<∞.\lVert T\rVert_2^2 = \sum_{m,n} \lvert\langle e_m\vert T e_n\rangle\rvert^2 < \infty.

The value is independent of the orthonormal basis. Hilbert-Schmidt operators form a Hilbert space with inner product

⟨S,T⟩HS=Tr⁡(S†T).\langle S,T\rangle_{\mathrm{HS}} = \operatorname{Tr}(S^\dagger T).

This is an inner product on operators, not the original state Hilbert space. It is useful when operators themselves are treated as vectors, for example in finite-temperature methods, quantum information, and numerical approximations.

An operator TT is trace-class if

∥T∥1=Tr⁡∣T∣=∑n=1∞sn(T)<∞.\lVert T\rVert_1 = \operatorname{Tr}\lvert T\rvert = \sum_{n=1}^{\infty} s_n(T) < \infty.

The norm ∥T∥1\lVert T\rVert_1 is called the trace norm or nuclear norm. Trace-class is stronger than Hilbert-Schmidt:

trace-class⊂Hilbert-Schmidt⊂compact⊂bounded.\text{trace-class} \subset \text{Hilbert-Schmidt} \subset \text{compact} \subset \text{bounded}.

For a trace-class operator, the trace is defined by

Tr⁡T=∑n=1∞⟨en∣Ten⟩,\operatorname{Tr}T = \sum_{n=1}^{\infty} \langle e_n\vert T e_n\rangle,

and this series is absolutely convergent in the appropriate trace-class sense and independent of the orthonormal basis.

If BB is bounded and TT is trace-class, then BTBT and TBTB are trace-class, and

Tr⁡(BT)=Tr⁡(TB).\operatorname{Tr}(BT) = \operatorname{Tr}(TB).

This is the infinite-dimensional version of the cyclic trace property used in density-operator calculations. The hypotheses matter: cyclicity is not a license to rearrange arbitrary unbounded or non-trace-class products.

Let H=ℓ2(N)\mathcal H=\ell^2(\mathbb N) with orthonormal basis {en}\{e_n\}, and define a diagonal operator

Ten=anen.T e_n = a_n e_n.

For this normal diagonal example, the singular values are ∣an∣\lvert a_n\rvert.

If an=1a_n=1, then T=IT=I is bounded but not Hilbert-Schmidt:

∑n∣an∣2=∑n1=∞.\sum_n \lvert a_n\rvert^2 = \sum_n 1 = \infty.

If an=1/na_n=1/n, then

∑n=1∞1n2<∞,∑n=1∞1n=∞.\sum_{n=1}^{\infty} \frac{1}{n^2} < \infty, \qquad \sum_{n=1}^{\infty} \frac{1}{n} = \infty.

So TT is Hilbert-Schmidt but not trace-class.

If an=1/n2a_n=1/n^2, then both sums converge, so TT is trace-class.

These examples show why infinite-dimensional trace formulas need more than boundedness.

For ϕ,ψ∈H\phi,\psi\in\mathcal H, the rank-one operator

T=∣ϕ⟩⟨ψ∣T = \lvert\phi\rangle\langle\psi\rvert

acts by

Tη=ϕ ⟨ψ∣η⟩.T\eta = \phi\,\langle\psi\vert\eta\rangle.

It is trace-class and Hilbert-Schmidt. Its Hilbert-Schmidt norm is

∥T∥2=∥ϕ∥ ∥ψ∥,\lVert T\rVert_2 = \lVert\phi\rVert\,\lVert\psi\rVert,

and its trace is

Tr⁡T=⟨ψ∣ϕ⟩.\operatorname{Tr}T = \langle\psi\vert\phi\rangle.

Finite-rank operators are finite sums of rank-one operators, so they are trace-class. Infinite-dimensional trace-class operators can be approximated in trace norm by finite-rank operators, which is one reason finite-dimensional intuition remains useful when applied carefully.

In an infinite-dimensional Hilbert space, a density operator is not merely a positive bounded operator with formal trace one. It is a positive trace-class operator ρ\rho satisfying

ρ≥0,Tr⁡ρ=1.\rho\ge0, \qquad \operatorname{Tr}\rho=1.

If

ρ=∑npn∣n⟩⟨n∣\rho = \sum_n p_n \lvert n\rangle\langle n\rvert

in an orthonormal eigenbasis, then

pn≥0,∑npn=1.p_n\ge0, \qquad \sum_n p_n=1.

Every density operator is Hilbert-Schmidt because

Tr⁡(ρ2)=∑npn2≤∑npn=1.\operatorname{Tr}(\rho^2) = \sum_n p_n^2 \le \sum_n p_n = 1.

The quantity Tr⁡(ρ2)\operatorname{Tr}(\rho^2) is the purity. It equals 11 for pure states and is smaller for mixed states, when the usual finite-dimensional interpretation applies. The physics of density operators is developed in Density Operators; this page records the functional-analytic condition that makes their traces finite.

If ρ\rho is trace-class and AA is bounded, then ρA\rho A is trace-class and the expectation value

Tr⁡(ρA)\operatorname{Tr}(\rho A)

is well-defined. This is the mathematical condition behind the trace rule in Trace Rule for Expectation Values.

If AA is unbounded, extra domain and integrability conditions are required. It is not enough to write Tr⁡(ρA)\operatorname{Tr}(\rho A) formally. The spectral-measure condition is the density-operator analogue of asking whether a state has finite expectation value for an unbounded observable; see Domains of Operators and Spectral Theorem, Practical Version.

Many wave-mechanics operators are represented by kernels:

(TKψ)(x)=∫K(x,y)ψ(y) dy.(T_K\psi)(x) = \int K(x,y)\psi(y)\,dy.

If

∫∫∣K(x,y)∣2 dx dy<∞,\int \int \lvert K(x,y)\rvert^2\,dx\,dy < \infty,

then TKT_K is Hilbert-Schmidt and

∥TK∥22=∫∫∣K(x,y)∣2 dx dy.\lVert T_K\rVert_2^2 = \int \int \lvert K(x,y)\rvert^2\,dx\,dy.

Trace-class is stronger and cannot be checked merely by looking at the square-integrability of the kernel. Under suitable additional conditions, the trace of a positive trace-class integral operator may be computed from its diagonal kernel, but this is a theorem with hypotheses, not a general rule for every formal kernel.

Hilbert-Schmidt operators are not always trace-class, but products of two Hilbert-Schmidt operators are trace-class. If SS and TT are Hilbert-Schmidt, then S†TS^\dagger T is trace-class and

∣Tr⁡(S†T)∣≤∥S∥2∥T∥2.\lvert\operatorname{Tr}(S^\dagger T)\rvert \le \lVert S\rVert_2\lVert T\rVert_2.

This is why the Hilbert-Schmidt inner product is well-defined. It is also the operator analogue of the Cauchy-Schwarz inequality.

For finite-dimensional composite systems, the partial trace can be computed by summing over an orthonormal basis of the discarded subsystem. In infinite dimensions, the correct input class is trace-class.

If TABT_{AB} is trace-class on

HA⊗HB,\mathcal H_A\otimes\mathcal H_B,

then Tr⁡BTAB\operatorname{Tr}_B T_{AB} is the unique trace-class operator on HA\mathcal H_A satisfying

Tr⁡A[(Tr⁡BTAB)MA]=Tr⁡AB[TAB(MA⊗IB)]\operatorname{Tr}_A \bigl[ (\operatorname{Tr}_B T_{AB})M_A \bigr] = \operatorname{Tr}_{AB} \bigl[ T_{AB}(M_A\otimes I_B) \bigr]

for every bounded operator MAM_A on HA\mathcal H_A.

For density operators, this says that reducing a state by partial trace preserves local expectation values and produces another trace-class density operator. The computational rules and finite-dimensional examples are developed in Partial Trace.

  • Assuming every bounded operator has a finite trace.
  • Treating the identity on an infinite-dimensional Hilbert space as a density operator after “normalizing by infinity.”
  • Using the cyclic trace property without trace-class or boundedness hypotheses.
  • Confusing the trace norm ∥T∥1\lVert T\rVert_1 with the Hilbert-space norm of a vector.
  • Assuming every Hilbert-Schmidt operator is trace-class.
  • Computing an infinite-dimensional partial trace without checking that the joint operator is trace-class.
  • Writing Tr⁡(ρA)\operatorname{Tr}(\rho A) for an unbounded AA without checking domains or spectral integrability.
  • B. Simon, Trace Ideals and Their Applications, 2nd ed., American Mathematical Society, 2005.
  • M. Reed and B. Simon, Methods of Modern Mathematical Physics, Volume I: Functional Analysis, Academic Press, 1980.
  • J. B. Conway, A Course in Functional Analysis, 2nd ed., Springer, 1990.
  • B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
  • J. Watrous, The Theory of Quantum Information, Cambridge University Press, 2018.
  1. Let Ten=(1/n)enT e_n=(1/n)e_n on ℓ2(N)\ell^2(\mathbb N). Is TT bounded, Hilbert-Schmidt, trace-class?
Solution

The operator is bounded because sup⁡n1/n=1\sup_n 1/n=1. It is Hilbert-Schmidt because

∑n=1∞1n2<∞.\sum_{n=1}^{\infty} \frac{1}{n^2} < \infty.

It is not trace-class because

∑n=1∞1n=∞.\sum_{n=1}^{\infty} \frac{1}{n} = \infty.
  1. Show that the pure-state projector ρψ=∣ψ⟩⟨ψ∣\rho_\psi=\lvert\psi\rangle\langle\psi\rvert is trace-class when ∥ψ∥=1\lVert\psi\rVert=1.
Solution

It is rank one, hence finite-rank, hence trace-class. Its trace is

Tr⁡(∣ψ⟩⟨ψ∣)=⟨ψ∣ψ⟩=1.\operatorname{Tr} \bigl( \lvert\psi\rangle\langle\psi\rvert \bigr) = \langle\psi\vert\psi\rangle = 1.
  1. Let ρ=∑npn∣n⟩⟨n∣\rho=\sum_n p_n\lvert n\rangle\langle n\rvert with pn≥0p_n\ge0 and ∑npn=1\sum_n p_n=1. Show that ρ\rho is Hilbert-Schmidt.
Solution

For a positive diagonal density operator, the Hilbert-Schmidt norm squared is

∥ρ∥22=Tr⁡(ρ2)=∑npn2.\lVert\rho\rVert_2^2 = \operatorname{Tr}(\rho^2) = \sum_n p_n^2.

Since 0≤pn≤10\le p_n\le1 and ∑npn=1\sum_n p_n=1,

∑npn2≤∑npn=1.\sum_n p_n^2 \le \sum_n p_n = 1.

Thus ρ\rho is Hilbert-Schmidt.

  1. Suppose AA is bounded on HA\mathcal H_A and BB is trace-class on HB\mathcal H_B. Show that Tr⁡B(A⊗B)=A Tr⁡B\operatorname{Tr}_B(A\otimes B)=A\,\operatorname{Tr}B.
Solution

For any bounded MAM_A,

Tr⁡A[(A Tr⁡B)MA]=Tr⁡A(AMA)Tr⁡BB=Tr⁡AB[(A⊗B)(MA⊗IB)].\begin{aligned} \operatorname{Tr}_A \bigl[ (A\,\operatorname{Tr}B)M_A \bigr] &= \operatorname{Tr}_A(AM_A)\operatorname{Tr}_B B\\ &= \operatorname{Tr}_{AB} \bigl[ (A\otimes B)(M_A\otimes I_B) \bigr]. \end{aligned}

By the characterizing property of the partial trace, the reduced operator is A Tr⁡BA\,\operatorname{Tr}B.