Skip to content

Pauli Matrix Identity Index

This index collects the Pauli matrix identities that recur in spin-1/21/2 systems, two-level Hamiltonians, Bloch-vector calculations, and qubit notation. The identities use a fixed right-handed basis so signs can be compared directly.

For the conceptual spin home, use Pauli Matrices. For a compact table, use Pauli Matrices. For the linear-algebra basis viewpoint, use Pauli Matrices.

The standard SzS_z basis is

∣↑⟩=(10),∣↓⟩=(01).\lvert\uparrow\rangle = \begin{pmatrix} 1\\ 0 \end{pmatrix}, \qquad \lvert\downarrow\rangle = \begin{pmatrix} 0\\ 1 \end{pmatrix}.

In that basis,

σx=(0110),σy=(0−ii0),σz=(100−1).\sigma_x = \begin{pmatrix} 0&1\\ 1&0 \end{pmatrix}, \qquad \sigma_y = \begin{pmatrix} 0&-i\\ i&0 \end{pmatrix}, \qquad \sigma_z = \begin{pmatrix} 1&0\\ 0&-1 \end{pmatrix}.

Spin operators are

Si=ℏ2σi.S_i=\frac{\hbar}{2}\sigma_i.

The matrices σi\sigma_i are dimensionless. The physical spin components SiS_i carry the factor ℏ/2\hbar/2.

The most used identity is the Pauli product rule:

σiσj=δijI+i∑kϵijkσk.\sigma_i\sigma_j = \delta_{ij}I + i\sum_k\epsilon_{ijk}\sigma_k.

It immediately gives

[σi,σj]=2i∑kϵijkσk,{σi,σj}=2δijI.[\sigma_i,\sigma_j] = 2i\sum_k\epsilon_{ijk}\sigma_k, \qquad \{\sigma_i,\sigma_j\} = 2\delta_{ij}I.

For spin operators this becomes the angular-momentum commutator

[Si,Sj]=iℏ∑kϵijkSk.[S_i,S_j] = i\hbar\sum_k\epsilon_{ijk}S_k.
Need Identity Derivation or table
Multiply two Pauli matrices σiσj=δijI+iϵijkσk\sigma_i\sigma_j=\delta_{ij}I+i\epsilon_{ijk}\sigma_k Pauli Matrix Table
Compute spin commutators [Si,Sj]=iℏϵijkSk[S_i,S_j]=i\hbar\epsilon_{ijk}S_k Angular Momentum Algebra
Use anticommutation {σi,σj}=2δijI\{\sigma_i,\sigma_j\}=2\delta_{ij}I Spin-Half Matrices
Reduce a Pauli word XY=iZXY=iZ, YZ=iXYZ=iX, ZX=iYZX=iY Quantum Gates

The cyclic identities above assume the standard convention ϵxyz=+1\epsilon_{xyz}=+1. Reversing the sign convention for σy\sigma_y reverses several signs, so compare tables only after checking conventions.

For commuting scalar-component vectors a\mathbf a and b\mathbf b, real or complex, use the bilinear dot product a⋅b=∑iaibi\mathbf a\cdot\mathbf b=\sum_i a_i b_i without complex conjugation. Then

(a⋅σ)(b⋅σ)=(a⋅b)I+i(a×b)⋅σ.(\mathbf a\cdot\boldsymbol\sigma) (\mathbf b\cdot\boldsymbol\sigma) = (\mathbf a\cdot\mathbf b)I + i(\mathbf a\times\mathbf b)\cdot\boldsymbol\sigma.

Useful consequences include

(a⋅σ)2=(a⋅a)I,(\mathbf a\cdot\boldsymbol\sigma)^2 = (\mathbf a\cdot\mathbf a)I,

and, for a real unit vector n^\hat{\mathbf n},

σn^=n^⋅σ,σn^2=I.\sigma_{\hat n} = \hat{\mathbf n}\cdot\boldsymbol\sigma, \qquad \sigma_{\hat n}^2=I.

Therefore σn^\sigma_{\hat n} has eigenvalues ±1\pm1, and the spin component Sn^S_{\hat n} has eigenvalues ±ℏ/2\pm\hbar/2.

Use Spin Rotations for the exponential consequences and Bloch Sphere for the geometric interpretation.

The Pauli matrices, together with II, form an orthogonal basis for two-by-two matrices with respect to the trace inner product:

tr⁡I=2,tr⁡σi=0,tr⁡(σiσj)=2δij.\operatorname{tr}I=2, \qquad \operatorname{tr}\sigma_i=0, \qquad \operatorname{tr}(\sigma_i\sigma_j)=2\delta_{ij}.

Any two-by-two matrix AA can be expanded as

A=12tr⁡(A)I+12∑itr⁡(Aσi)σi.A = \frac12\operatorname{tr}(A)I + \frac12 \sum_i \operatorname{tr}(A\sigma_i)\sigma_i.

For a Hermitian matrix, the coefficients in this expansion are real. This is the algebraic reason every two-level Hermitian Hamiltonian can be written as

H=c0I+b⋅σ.H=c_0I+\mathbf b\cdot\boldsymbol\sigma.

The canonical two-level-system use is Two-State Hamiltonians.

The projectors onto spin up and spin down along a real unit vector n^\hat{\mathbf n} are

P±(n^)=12(I±n^⋅σ).P_\pm(\hat{\mathbf n}) = \frac12 \left( I\pm\hat{\mathbf n}\cdot\boldsymbol\sigma \right).

They satisfy

P±2=P±,P+P−=0,P++P−=I.P_\pm^2=P_\pm, \qquad P_+P_-=0, \qquad P_++P_-=I.

For a pure state with Bloch vector r^\hat{\mathbf r},

ρ=12(I+r^⋅σ),\rho = \frac12 \left( I+\hat{\mathbf r}\cdot\boldsymbol\sigma \right),

the probability for the ++ outcome along n^\hat{\mathbf n} is

p+(n^)=tr⁡(ρP+)=12(1+r^⋅n^).p_+(\hat{\mathbf n}) = \operatorname{tr}(\rho P_+) = \frac12 \left( 1+\hat{\mathbf r}\cdot\hat{\mathbf n} \right).

Use Stern–Gerlach Revisited for the measurement interpretation and Bloch Sphere for the state geometry.

Since (n^⋅σ)2=I(\hat{\mathbf n}\cdot\boldsymbol\sigma)^2=I, the spinor rotation exponential reduces exactly:

exp⁡(−iθ2n^⋅σ)=cos⁡θ2I−isin⁡θ2n^⋅σ.\exp \left( -\frac{i\theta}{2} \hat{\mathbf n}\cdot\boldsymbol\sigma \right) = \cos\frac{\theta}{2}I -i\sin\frac{\theta}{2} \hat{\mathbf n}\cdot\boldsymbol\sigma.

The half-angle belongs to spinors. The corresponding Bloch vector rotates by the ordinary angle θ\theta.

For time evolution under a time-independent Hermitian Hamiltonian with real c0c_0 and b\mathbf b,

H=c0I+b⋅σ,H=c_0I+\mathbf b\cdot\boldsymbol\sigma,

the scalar term contributes an overall phase, while the traceless part generates precession about b\mathbf b:

exp⁡(−iHtℏ)=e−ic0t/ℏ[cos⁡∣b∣tℏI−isin⁡∣b∣tℏb^⋅σ],\exp\left(-\frac{iHt}{\hbar}\right) = e^{-ic_0t/\hbar} \left[ \cos\frac{\lvert\mathbf b\rvert t}{\hbar}I -i\sin\frac{\lvert\mathbf b\rvert t}{\hbar} \hat{\mathbf b}\cdot\boldsymbol\sigma \right],

Here b^=b/∣b∣\hat{\mathbf b}=\mathbf b/|\mathbf b| for b≠0\mathbf b\ne0. At b=0\mathbf b=0, take the continuous limit U=e−ic0t/ℏIU=e^{-ic_0t/\hbar}I.

Use Spin Rotations, Spin in Magnetic Fields, and Larmor Precession for the physics of these formulas.

Every qubit density matrix has the form

ρ=12(I+r⋅σ),∣r∣≤1.\rho = \frac12 \left( I+\mathbf r\cdot\boldsymbol\sigma \right), \qquad \lvert\mathbf r\rvert\leq1.

Its purity is

tr⁡(ρ2)=12(1+∣r∣2).\operatorname{tr}(\rho^2) = \frac12 \left( 1+\lvert\mathbf r\rvert^2 \right).

Pure states have ∣r∣=1\lvert\mathbf r\rvert=1; the maximally mixed state has r=0\mathbf r=0. The same Pauli coordinates appear in the density-operator treatment of the Bloch Sphere.

In the computational basis, the single-qubit Pauli gates are

X=σx,Y=σy,Z=σz.X=\sigma_x, \qquad Y=\sigma_y, \qquad Z=\sigma_z.

They obey

X2=Y2=Z2=I,XY=iZ,YZ=iX,ZX=iY.X^2=Y^2=Z^2=I, \qquad XY=iZ, \qquad YZ=iX, \qquad ZX=iY.

Reversing the order gives the minus sign:

YX=−iZ,ZY=−iX,XZ=−iY.YX=-iZ, \qquad ZY=-iX, \qquad XZ=-iY.

For tensor-product Pauli strings, two strings commute if the number of tensor positions where their nonidentity factors anticommute is even; they anticommute if that number is odd. Stabilizer calculations use this rule constantly, and their subspaces are developed in Stabilizer Identities.

For a spin-1/21/2 particle, the time-reversal operator is antiunitary. In a common convention,

Θ=−iσyK,\Theta=-i\sigma_yK,

where KK is complex conjugation in the SzS_z basis. It reverses spin:

ΘσiΘ−1=−σi.\Theta\sigma_i\Theta^{-1}=-\sigma_i.

The complex conjugation is not optional. Treating Θ\Theta as merely −iσy-i\sigma_y gives wrong transformation laws and misses Kramers degeneracy. Use Time Reversal for Spin-1/2 Particles for the canonical discussion.

  • L. E. Ballentine, Quantum Mechanics: A Modern Development, 2nd ed., World Scientific, 2014.
  • B. C. Hall, Lie Groups, Lie Algebras, and Representations: An Elementary Introduction, 2nd ed., Springer, 2015.
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2010.
  • J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
  1. Use the vector identity to compute (σx+σz)2(\sigma_x+\sigma_z)^2.
Solution

Here a=(1,0,1)\mathbf a=(1,0,1), so

σx+σz=a⋅σ.\sigma_x+\sigma_z = \mathbf a\cdot\boldsymbol\sigma.

Therefore

(σx+σz)2=(a⋅a)I=2I.(\sigma_x+\sigma_z)^2 = (\mathbf a\cdot\mathbf a)I = 2I.
  1. What are the projectors onto spin up and spin down along z^\hat z?
Solution

Set n^=z^\hat{\mathbf n}=\hat z. Then

P±(z^)=12(I±σz).P_\pm(\hat z) = \frac12(I\pm\sigma_z).

Using the displayed σz\sigma_z convention,

P+(z^)=(1000),P−(z^)=(0001).P_+(\hat z) = \begin{pmatrix} 1&0\\ 0&0 \end{pmatrix}, \qquad P_-(\hat z) = \begin{pmatrix} 0&0\\ 0&1 \end{pmatrix}.
  1. Do X⊗ZX\otimes Z and Z⊗XZ\otimes X commute?
Solution

At the first tensor position, XX and ZZ anticommute. At the second tensor position, ZZ and XX also anticommute. There are two anticommuting positions, an even number, so the full Pauli strings commute.