Pauli Matrices

Here is a summary of useful properties of Pauli matrices in quantum computation.

I. Definition

Pauli matrices are 2×2 matrices which are defined as below,

X=σx=(0110),Y=σy=(0ii0),Z=σz=(1001).

From the definition above, we could easily check the following properties of Pauli matrices:

  • Pauli matrices are Hermitian, X=X,Y=Y,Z=Z.
  • Pauli matrices are unitary, XX=I,YY=I,ZZ=I.

II. Eigenvalues, Eigenstates, Diagonalized Form

Here are eigenvalues, eigenstates and diagonalized form of Pauli matrices.

  • For X, the eigenvalues λ1=1 and λ2=1, and their corresponding eigenvectors are
|v1=|+=12(11),|v2=|=12(11).
  • For Y​, the eigenvalues λ1=1​ and λ2=1​, and their corresponding eigenvectors are
|v1=12(1i),|v2=12(1i).
  • For Z​, the eigenvalues λ1=1​ and λ2=1​, and their corresponding eigenvectors are
|v1=|0=(10),|v2=|1=(01).

III. Operation on Basis

For Zbasis state, the operation of Pauli matrices are given by

X|0=|1,Y|0=i|1,Z|0=|0,X|1=|0,Y|1=i|0,Z|1=|1.

For Xbasis state, the operation of Pauli matrices are given by

X|+=|+,Y|+=i|,Z|+=|,X|=|,Y|=i|+,Z|=|+.

IV. Commutation Rules

The commutation of two matrices/operators are defined as [A,B]=ABBA, and the anti-commutation of two matrices/operators are defined as A,B=AB+BA. Pauli matrices obey the following commutation and anti-commutation rules.

  • Commutation. Pauli matrix commutes with themselves but does not commute with another Pauli matrix,
[X,X]=[Y,Y]=[Z,Z]=0.[X,Y]=2iZ,[Y,Z]=2iX,[Z,X]=2iY.
  • Anti-commucation. Pauli matrix does not commute with themselves but anticommute with another Pauli matrix,
{X,X}={Y,Y}={Z,Z}=2I.{X,Y}={Y,X}={Y,Z}={Z,Y}={Z,X}={X,Z}=0.

V. Useful Identities

Here are several useful identities of Pauli matrices.

  • For the multiplication σiσj, we have
XX=YY=ZZ=IXY=YX=iZYZ=ZY=iXZX=XZ=iY
  • For the trace Trσiσj, we have Trσiσj=2δij, or
Tr{XX}=Tr{YY}=Tr{ZZ}=2Tr{XY}=Tr{YX}=Tr{XZ}=Tr{ZX}=Tr{YZ}=Tr{ZY}=0
  • For the multiplication in the form σiσjσi, we have
XXX=X,XYX=Y,XZX=ZYXY=X,YYY=Y,YZY=ZZXZ=X,ZYZ=Y,ZZZ=Z
  • For the multiplication in the form HσiH, we have
HXH=Z,HYH=Y,HZH=X

VI. Pauli matrices as basis

For any 2×2​ complex matrix and a,b,c,dC

(abcd)=a+d2I+b+c2Xbc2iY+ad2Z

Specially, for any 2×2 Hermitian matrix and a,b,c,dR,

(abcd)=a+d2I+bXcY+ad2Z