Skip to content

Eigenvalues, commutators & tensor products

How do small matrices become operators on several spins, and when can a large matrix be divided into smaller problems? This bridge develops the finite-dimensional linear algebra behind those steps. You will check an eigenbasis, distinguish an expectation value from an eigenvalue, construct a tensor-product matrix, and use a commutator to identify invariant sectors. Every example is small enough to calculate by hand before returning to the XXX chain.

Required background. Add and multiply complex numbers, including i2=−1i^2=-1. The entry check repairs conjugation and matrix multiplication. No previous spin-chain calculation is required.

Helpful background. The XXX introduction explains why these operations matter for a finite quantum system.

Work in Cd\mathbb C^d, for a finite positive integer dd, with an ordered orthonormal basis e1,…,ede_1,\ldots,e_d. A vector is a column; its adjoint is its conjugate transpose. Thus

v=(v1v2)⟹v†=(v‾1v‾2).v=\begin{pmatrix}v_1\\v_2\end{pmatrix} \quad\Longrightarrow\quad v^\dagger=\begin{pmatrix}\overline v_1&\overline v_2\end{pmatrix}.

The inner product and norm are

u†v=∑ju‾jvj,∥v∥2=v†v=∑j∣vj∣2.u^\dagger v=\sum_j\overline u_jv_j, \qquad \|v\|_2=\sqrt{v^\dagger v} =\sqrt{\sum_j|v_j|^2}.

For v≠0v\ne0, the vector v/∥v∥2v/\|v\|_2 has norm one. The zero vector cannot be normalized. Quantum notation ∣v⟩|v\rangle denotes the same column, while ⟨v∣\langle v| denotes its adjoint. These finite-dimensional conventions agree with Preskill, July 2015 notes, § 2.1, pp. 3–4, equation (2.1), PDF.

A linear operator A:Cd→CdA:\mathbb C^d\to\mathbb C^d satisfies A(au+bv)=aAu+bAvA(au+bv)=aAu+bAv. Its jjth matrix column is AejAe_j, expressed in the chosen basis:

Aej=∑iAijei.Ae_j=\sum_i A_{ij}e_i.

The second index labels the input basis vector; the first labels an output component. Specifying the basis order is part of specifying a matrix. In a product ABvABv, apply BB first, then AA.

All explicit matrices and eigenvalues below are dimensionless. Multiplying a matrix by an energy scale gives the corresponding energy units when it is used as a Hamiltonian.

Let

w=(1i),A=(1−ii1).w=\begin{pmatrix}1\\i\end{pmatrix}, \qquad A=\begin{pmatrix}1&-i\\i&1\end{pmatrix}.

Calculate w†ww^\dagger w, wTww^{\mathsf T}w, and AwAw. Normalize ww. What is the first column of AA, and which input vector produces it?

Repair: conjugate for the norm, use columns for the action

Since i‾=−i\overline i=-i,

w†w=1+(−i)i=2,wTw=1+i2=0.w^\dagger w=1+(-i)i=2, \qquad w^{\mathsf T}w=1+i^2=0.

The transpose alone gives the wrong squared norm. The normalized vector is w/2w/\sqrt2. Row-by-column multiplication gives

Aw=(1+(−i)ii+i)=(22i)=2w.Aw=\begin{pmatrix}1+(-i)i\\i+i\end{pmatrix} =\begin{pmatrix}2\\2i\end{pmatrix}=2w.

The first column is (1,i)T=Ae1(1,i)^{\mathsf T}=Ae_1, where e1=(1,0)Te_1=(1,0)^{\mathsf T}. As a retry, Ae2=(−i,1)TAe_2=(-i,1)^{\mathsf T} reproduces the second column.

A complete two-dimensional eigenvalue calculation

Section titled “A complete two-dimensional eigenvalue calculation”

A matrix is Hermitian when A†=AA^\dagger=A. Here A†A^\dagger means transpose the matrix and conjugate every entry; a complex Hermitian matrix need not equal its transpose. The example above is Hermitian because its two off-diagonal entries are complex conjugates.

An eigenvector is a nonzero vector vv satisfying Av=λvAv=\lambda v. For a Hermitian matrix its eigenvalue is real: the scalar v†Avv^\dagger Av equals its own complex conjugate, and

λ=v†Avv†v.\lambda=\frac{v^\dagger Av}{v^\dagger v}.

To find the eigenvalues of our AA, compute

det⁡(A−λI)=(1−λ)2−(−i)i=λ(λ−2).\det(A-\lambda I) =(1-\lambda)^2-(-i)i =\lambda(\lambda-2).

The eigenvalues are 00 and 22. Solving each two-row equation and normalizing gives

v0=12(1−i),v2=12(1i),Av0=0,Av2=2v2.v_0=\frac1{\sqrt2}\begin{pmatrix}1\\-i\end{pmatrix}, \qquad v_2=\frac1{\sqrt2}\begin{pmatrix}1\\i\end{pmatrix}, \qquad Av_0=0,\quad Av_2=2v_2.

The subscripts label eigenvalues. In particular, v0v_0 is a unit vector with eigenvalue zero, not the zero vector. Direct checks give

v0†v0=v2†v2=1,v0†v2=1+i22=0.v_0^\dagger v_0=v_2^\dagger v_2=1, \qquad v_0^\dagger v_2=\frac{1+i^2}{2}=0.

Two orthonormal vectors in a two-dimensional space form a complete basis. More explicitly, their outer products satisfy

v0v0†+v2v2†=I,A=0 v0v0†+2v2v2†.v_0v_0^\dagger+v_2v_2^\dagger=I, \qquad A=0\,v_0v_0^\dagger+2v_2v_2^\dagger.

An outer product vv†vv^\dagger is a matrix, while v†vv^\dagger v is a scalar. For normalized vv, the matrix vv†vv^\dagger projects a vector onto the direction vv. The displayed identity is the spectral resolution of this particular matrix. The finite-dimensional Hermitian spectral theorem supplies an orthonormal eigenbasis in general; see Preskill, § 2.1, pp. 4–5, equations (2.3)–(2.6), PDF.

The resolution also proves positive semidefiniteness, meaning z†Az≥0z^\dagger Az\geq0 for every zz:

z†Az=2∣v2†z∣2=∣z1−iz2∣2≥0.z^\dagger Az=2|v_2^\dagger z|^2 =|z_1-iz_2|^2\geq0.

It is not positive definite, since the nonzero vector v0v_0 gives zero. Hermiticity by itself does not require nonnegative eigenvalues; the first exercise tests that distinction.

An expectation value is not an eigenvalue test

Section titled “An expectation value is not an eigenvalue test”

For a normalized vector vv, the expectation value of AA is v†Avv^\dagger Av. At v=e1v=e_1 it is 11, even though 11 is not an eigenvalue of AA. Indeed,

Ae1−1e1=(0i),∥Ae1−1e1∥2=1.Ae_1-1e_1=\begin{pmatrix}0\\i\end{pmatrix}, \qquad \|Ae_1-1e_1\|_2=1.

For a proposed pair (λ,v)(\lambda,v) with v≠0v\ne0, define the normalized eigenvector residual

r(A,v,λ)=∥Av−λv∥2∥v∥2.r(A,v,\lambda)=\frac{\|Av-\lambda v\|_2}{\|v\|_2}.

It is exactly zero precisely when vv is an eigenvector with the proposed eigenvalue. Dividing by ∥v∥2\|v\|_2 prevents shrinking a wrong vector from making its test look better. An expectation value describes an average in a state; it does not verify the full vector equation. Numerical residuals also require a stated precision and an appropriate operator scale; this page’s checks are exact.

Take two labeled spaces V1=C2V_1=\mathbb C^2 and V2=C2V_2=\mathbb C^2. In each, use

∣0⟩=(10),∣1⟩=(01).|0\rangle=\begin{pmatrix}1\\0\end{pmatrix}, \qquad |1\rangle=\begin{pmatrix}0\\1\end{pmatrix}.

These are basis labels. For spin chains they can represent ∣↑⟩|\uparrow\rangle and ∣↓⟩|\downarrow\rangle, respectively. The space V1⊗V2V_1\otimes V_2 has dimension 2×2=42\times2=4. Fix its basis order as follows:

Column positionBasis vectorFactor 1Factor 2
1∣00⟩\lvert00\rangle∣0⟩\lvert0\rangle∣0⟩\lvert0\rangle
2∣01⟩\lvert01\rangle∣0⟩\lvert0\rangle∣1⟩\lvert1\rangle
3∣10⟩\lvert10\rangle∣1⟩\lvert1\rangle∣0⟩\lvert0\rangle
4∣11⟩\lvert11\rangle∣1⟩\lvert1\rangle∣1⟩\lvert1\rangle

Here ∣ab⟩=∣a⟩⊗∣b⟩|a b\rangle=|a\rangle\otimes|b\rangle, and the second label varies fastest in this order. Bilinearity gives, for local columns u=(u0,u1)Tu=(u_0,u_1)^{\mathsf T} and v=(v0,v1)Tv=(v_0,v_1)^{\mathsf T},

u⊗v=(u0v0u0v1u1v0u1v1).u\otimes v= \begin{pmatrix}u_0v_0\\u_0v_1\\u_1v_0\\u_1v_1\end{pmatrix}.

General vectors in the four-dimensional space are linear combinations of these basis vectors; they need not be a single product u⊗vu\otimes v. For example, the normalized vector (∣00⟩+i∣11⟩)/2(|00\rangle+i|11\rangle)/\sqrt2 used below must be acted on term by term. No factorization assumption is needed.

For operators CC on V1V_1 and DD on V2V_2, define

(C⊗D)(u⊗v)=(Cu)⊗(Dv),(C\otimes D)(u\otimes v)=(Cu)\otimes(Dv),

and extend by linearity. This factor-wise rule, together with the product inner product, is given in Preskill, § 2.1, p. 7, equations (2.13)–(2.14), PDF.

Write C∣a⟩=∑bCba∣b⟩C|a\rangle=\sum_b C_{ba}|b\rangle and D∣μ⟩=∑νDνμ∣ν⟩D|\mu\rangle=\sum_\nu D_{\nu\mu}|\nu\rangle. Applying both operators gives

(C⊗D)∣aμ⟩=∑b,νCbaDνμ∣bν⟩.(C\otimes D)|a\mu\rangle =\sum_{b,\nu}C_{ba}D_{\nu\mu}|b\nu\rangle.

Thus the entry in row (b,ν)(b,\nu) and column (a,μ)(a,\mu) is CbaDνμC_{ba}D_{\nu\mu}. Grouping the rows and columns by their first label gives the Kronecker product matrix

C⊗D=(C00DC01DC10DC11D).C\otimes D= \begin{pmatrix} C_{00}D&C_{01}D\\ C_{10}D&C_{11}D \end{pmatrix}.

Each entry shown here is a 2×22\times2 block. This is a 4×44\times4 matrix, not the ordinary 2×22\times2 product CDCD.

For a concrete column check, define the Pauli matrices

X=(0110),Y=(0−ii0),Z=(100−1).X=\begin{pmatrix}0&1\\1&0\end{pmatrix},\qquad Y=\begin{pmatrix}0&-i\\i&0\end{pmatrix},\qquad Z=\begin{pmatrix}1&0\\0&-1\end{pmatrix}.

Then (X⊗Z)∣01⟩=−∣11⟩(X\otimes Z)|01\rangle=-|11\rangle, so column 2 of X⊗ZX\otimes Z is (0,0,0,−1)T(0,0,0,-1)^{\mathsf T}. Recovering a column from a basis input is a useful way to catch a reversed factor order. With ℏ=1\hbar=1, physical spin operators are Sx=X/2S^x=X/2, Sy=Y/2S^y=Y/2, Sz=Z/2S^z=Z/2, as in Preskill, § 2.2.1, p. 11, equations (2.28)–(2.29), PDF.

Commutators depend on which space is acted on

Section titled “Commutators depend on which space is acted on”

For square matrices on the same space, define the commutator

[A,B]=AB−BA.[A,B]=AB-BA.

It measures the difference between applying the operators in the two possible orders. A statement [A,B]=0[A,B]=0 is an operator identity: it must hold on every vector. Agreement on a single input does not establish it.

The tensor action rule proves

(C⊗D)(E⊗F)=CE⊗DF(C\otimes D)(E\otimes F)=CE\otimes DF

by applying both sides to u⊗vu\otimes v and extending linearly. In particular, operators acting on separate factors commute:

(C⊗I)(I⊗D)=C⊗D=(I⊗D)(C⊗I).(C\otimes I)(I\otimes D)=C\otimes D =(I\otimes D)(C\otimes I).

This remains true even if the local matrices CC and DD, considered on a single copy of C2\mathbb C^2, do not commute. When both act on the first factor instead,

[C⊗I,D⊗I]=[C,D]⊗I.[C\otimes I,D\otimes I]=[C,D]\otimes I.

Sharing a factor does not force noncommutation, but the separate-factor argument no longer settles the question. For NN sites, the notation CnC_n means

Cn=I⊗⋯⊗C⊗⋯⊗I,C_n=I\otimes\cdots\otimes C\otimes\cdots\otimes I,

with CC in position nn; it acts on a space of dimension 2N2^N. This is the local-operator embedding used in Faddeev 1996, § 2, equations (6), (14)–(15), PDF. The label nn specifies a tensor factor, not a matrix row.

Why a commuting operator identifies invariant sectors

Section titled “Why a commuting operator identifies invariant sectors”

Let HH and QQ be Hermitian matrices on the same finite-dimensional space, and suppose [H,Q]=0[H,Q]=0. For an eigenvalue qq of QQ, define its eigenspace

Eq={v:Qv=qv}.\mathcal E_q=\{v:Qv=qv\}.

It includes the zero vector and may have dimension larger than one. If v∈Eqv\in\mathcal E_q, then

Q(Hv)=H(Qv)=qHv.Q(Hv)=H(Qv)=qHv.

Therefore Hv∈EqHv\in\mathcal E_q: HH preserves the whole eigenspace. Choosing a basis grouped by these eigenspaces makes HH block diagonal, so each block can be solved separately. If HH generates time evolution, its powers and hence its exponential preserve the same spaces. The commutation condition is the conservation condition discussed in Preskill, § 2.2.1, p. 10, equation (2.23), PDF.

Within a degenerate eigenspace of QQ, HH can still mix vectors. Commutation does not make every prechosen eigenvector of QQ an eigenvector of HH. The restriction of Hermitian HH to each invariant eigenspace can itself be diagonalized; doing this supplies a common orthonormal eigenbasis. The transfer exercise exhibits the distinction explicitly.

In the XXX chain, QQ can be total magnetization. Its eigenspaces are the sectors with a fixed number of down spins. This linear-algebra argument explains the reduction used by the short-chain lesson; symmetry sectors alone do not establish quantum integrability.

Using the worked matrix AA, set B=3I−2AB=3I-2A. Find its explicit matrix, normalized eigenvectors and eigenvalues without solving a new characteristic equation. Is BB Hermitian? Is it positive semidefinite? Explain separately what an identity shift and a negative rescaling do to eigenvalues and eigenvectors.

Hint

If Av=λvAv=\lambda v, compute (3I−2A)v(3I-2A)v. To disprove positive semidefiniteness, one vector with a negative quadratic form is sufficient.

Solution

Direct subtraction gives

B=(12i−2i1).B=\begin{pmatrix}1&2i\\-2i&1\end{pmatrix}.

For the same normalized vectors as before,

Bv0=3v0,Bv2=−v2.Bv_0=3v_0,\qquad Bv_2=-v_2.

Thus the eigenvalues are 3,−13,-1. The off-diagonal entries are complex conjugates, so BB is Hermitian, but v2†Bv2=−1v_2^\dagger Bv_2=-1 shows it is not positive semidefinite.

More generally, cI+dAcI+dA retains every eigenvector of AA and changes its eigenvalue to c+dλc+d\lambda. An identity shift adds the same constant to all eigenvalues; a negative real rescaling reverses their ordering. Neither requires changing the eigenvectors. This is the matrix reason an energy offset can change the vacuum energy without changing states.

Independent: separate factors and shared factors

Section titled “Independent: separate factors and shared factors”

In the ordered basis (∣00⟩,∣01⟩,∣10⟩,∣11⟩)(|00\rangle,|01\rangle,|10\rangle,|11\rangle), construct X⊗IX\otimes I, I⊗ZI\otimes Z, and Z⊗IZ\otimes I. Apply each to

∣ψ⟩=∣00⟩+i∣11⟩2.|\psi\rangle=\frac{|00\rangle+i|11\rangle}{\sqrt2}.

Then calculate [X⊗I,I⊗Z][X\otimes I,I\otimes Z] and [X⊗I,Z⊗I][X\otimes I,Z\otimes I] as operator identities. Two of the three individual actions on ∣ψ⟩|\psi\rangle coincide. Does that make their operators equal? Find a basis input that answers the question.

Hint

XX interchanges the local basis states; ZZ leaves ∣0⟩|0\rangle unchanged and negates ∣1⟩|1\rangle. Find the four columns from those rules. For the shared-factor commutator, multiply the two local matrices first.

Solution

The matrices are

X⊗I=(0010000110000100),X\otimes I= \begin{pmatrix} 0&0&1&0\\0&0&0&1\\1&0&0&0\\0&1&0&0 \end{pmatrix}, I⊗Z=diag⁡(1,−1,1,−1),Z⊗I=diag⁡(1,1,−1,−1).I\otimes Z=\operatorname{diag}(1,-1,1,-1), \qquad Z\otimes I=\operatorname{diag}(1,1,-1,-1).

Acting term by term or multiplying these matrices gives

(X⊗I)∣ψ⟩=∣10⟩+i∣01⟩2,(I⊗Z)∣ψ⟩=∣00⟩−i∣11⟩2,(Z⊗I)∣ψ⟩=∣00⟩−i∣11⟩2.\begin{aligned} (X\otimes I)|\psi\rangle &=\frac{|10\rangle+i|01\rangle}{\sqrt2},\\ (I\otimes Z)|\psi\rangle &=\frac{|00\rangle-i|11\rangle}{\sqrt2},\\ (Z\otimes I)|\psi\rangle &=\frac{|00\rangle-i|11\rangle}{\sqrt2}. \end{aligned}

The tensor multiplication rule proves

[X⊗I,I⊗Z]=0.[X\otimes I,I\otimes Z]=0.

For the other pair, XZ=−iYXZ=-iY and ZX=iYZX=iY, so

[X⊗I,Z⊗I]=−2iY⊗I≠0.[X\otimes I,Z\otimes I]=-2iY\otimes I\ne0.

As an independent sign check, this last commutator sends ∣ψ⟩|\psi\rangle to 2(∣10⟩−i∣01⟩)\sqrt2(|10\rangle-i|01\rangle), a nonzero vector of norm 22.

Finally, I⊗ZI\otimes Z and Z⊗IZ\otimes I are different despite their equal action on ∣ψ⟩|\psi\rangle: on ∣01⟩|01\rangle their outputs are −∣01⟩-|01\rangle and +∣01⟩+|01\rangle, respectively. One successful input test cannot prove equality of operators.

In C3\mathbb C^3, use the ordered basis (e1,e2,e3)(e_1,e_2,e_3) and matrices

H=(1−i0i10003),Q=diag⁡(1,1,−1).H=\begin{pmatrix}1&-i&0\\i&1&0\\0&0&3\end{pmatrix}, \qquad Q=\operatorname{diag}(1,1,-1).

Verify [H,Q]=0[H,Q]=0, identify the two QQ-sectors, and find the complete eigenbasis of HH. Is the displayed basis already a common eigenbasis of both operators?

Now let ϵ\epsilon be real and define

Hϵ=H+ϵ(e1e3†+e3e1†).H_\epsilon=H+\epsilon(e_1e_3^\dagger+e_3e_1^\dagger).

Compute [Hϵ,Q][H_\epsilon,Q]. For ϵ≠0\epsilon\ne0, show explicitly that the old sectors are no longer invariant. Which properties survive? You do not need to solve the perturbed cubic eigenvalue equation.

Hint

For diagonal QQ with entries qjq_j, [H,Q]ij=(qj−qi)Hij[H,Q]_{ij}=(q_j-q_i)H_{ij}. Reuse the worked eigenvectors in the upper 2×22\times2 block. To test the perturbation, inspect Hϵe1H_\epsilon e_1.

Solution

The only off-diagonal entries of HH join basis states with the same QQ-eigenvalue, so its commutator with QQ vanishes. The sectors are

E+1=span⁡{e1,e2},E−1=span⁡{e3}.\mathcal E_{+1}=\operatorname{span}\{e_1,e_2\}, \qquad \mathcal E_{-1}=\operatorname{span}\{e_3\}.

The normalized eigenvectors and corresponding HH-eigenvalues are

e1−ie22:0,e1+ie22:2,e3:3.\frac{e_1-ie_2}{\sqrt2}:0,\qquad \frac{e_1+ie_2}{\sqrt2}:2,\qquad e_3:3.

They form a common orthonormal eigenbasis of HH and QQ. The original displayed basis is an eigenbasis of QQ, but not of HH: for example, He1=e1+ie2He_1=e_1+ie_2 is not proportional to e1e_1. Degeneracy permits mixing inside E+1\mathcal E_{+1}.

The perturbed commutator is

[Hϵ,Q]=(00−2ϵ0002ϵ00).[H_\epsilon,Q] =\begin{pmatrix}0&0&-2\epsilon\\0&0&0\\2\epsilon&0&0\end{pmatrix}.

For nonzero ϵ\epsilon,

Hϵe1=e1+ie2+ϵe3∉E+1,Hϵe3=ϵe1+3e3∉E−1.H_\epsilon e_1=e_1+ie_2+\epsilon e_3 \notin\mathcal E_{+1}, \qquad H_\epsilon e_3=\epsilon e_1+3e_3 \notin\mathcal E_{-1}.

The old sector decomposition therefore fails. The matrix remains Hermitian for real ϵ\epsilon, so its eigenvalues are real and it has an orthonormal eigenbasis, but the old three eigenvectors no longer solve its eigenvalue problem. A broken symmetry label does not imply that the matrix ceases to define a valid finite quantum problem.

Use these calculations in Construct a small spin-chain Hamiltonian: the site labels specify tensor factors, matrix columns encode actions on basis states, and magnetization conservation selects invariant blocks. That lesson uses these operations to derive the physical bond interaction.

For the algebraic route, continue to Check a rational R-matrix. Its permutation operators act on specified tensor factors and compose from right to left, exactly as the matrices do here. The larger argument will establish commuting transfer matrices; basic Hermiticity, finite diagonalization or a single symmetry reduction is not that integrability argument.

These results apply to finite-dimensional complex spaces. No assertion about domains of unbounded operators or completeness of an infinite-dimensional eigenfunction expansion is being used.

  • Faddeev, L. D. How Algebraic Bethe Ansatz works for integrable model. Les Houches lecture notes, 1996. arXiv:hep-th/9605187v1, 26 May 1996. Version record. Open PDF, § 2, equations (6), (14)–(15).
  • Preskill, John. Lecture Notes for Ph219/CS219: Quantum Information, Chapter 2, “Foundations I: States and Ensembles.” California Institute of Technology, updated July 2015. Author’s PDF, § 2.1, pp. 3–7, equations (2.1)–(2.6) and (2.13)–(2.14); § 2.2.1, pp. 10–11, equations (2.23), (2.28)–(2.29).