Quinn’s Mind Palace

Linear algebra knowledge review, with proofs (1)

The following exercises are from Chapter 1-2 of Quantum Computation and Quantum Information by Isaac Chuang & Michael Nielsen. A lot of linear algebra knowledge, but then again, reviewing them again really made me appreciate the elegance of maths and proofs. So I should probably continue onwards in the next few days.

Rants: Don't like how limited MathML can be — they don't even support commands from the physics package. Had to manually replace those \ket{v} with |v\rangle for them to render properly. And they are still rendered pretty badly. Anyway!


Important notations:


Exercise 2.47: Suppose A and B are Hermitian. Show that i[A,B] is Hermitian.

Proof: (i[A,B])=(iABiBA)

=iBA+iAB

=iBA+iAB

=iABiBA=i[A,B]. QED.


Gram–Schmidt procedure: a procedure to produce an orthonormal basis set. Suppose |w1,,|wd is a basis set, then define

|v1|w1|w1,

|vk+1|wk+1i=1kviwk+1|vi|wk+1i=1kviwk+1|vi, where 1kd1.

Proof by induction:

When k=1, |v1|w1|w1 is normalized, therefore is a unit vector with v1v1=1. {|v1} is orthonormal.

When k>1, assume {|v1,,|vk} are orthonormal.

Let |vk+1|wk+1i=1kviwk+1|vi,

For jk we have vjvk+1=vjwk+1i=1kviwk+1vjviδij

=vjwk+1vjwk+1=0.

By the way |vk+10. By contradiction, if |vk+1=0, then |wk+1=i=1kviwk+1|vi meaning |wk+1 is in span{|v1,,|vk}=span{|w1,,|wk}, contradicting that {|w1,,|wk,|wk+1} is a basis set.

Therefore, by normalization we get |vk+1|vk+1|vk+1 which is a unit vector that satisfies vjvk+1=δj,k+1. {|v1,,|vk,|vk+1} are orthonormal. QED.


Pauli matrices:

σ0I[1001],

σ1σxX[0110],

σ2σyY[0ii0],

σ3σzZ[1001].


Exercise 2.9: (Pauli operators and the outer product) The Pauli matrices can be considered as operators with respect to an orthonormal basis |0,|1 for a two-dimensional Hilbert space. Express each of the Pauli operators in the outer product notation.

With the knowledge of

|00|=[10][10]=[1000],

|01|=[10][01]=[0100],

|10|=[01][10]=[0010],

|11|=[01][01]=[0001],

We can write

I=|00|+|11| ,

X=|01|+|10|,

Y=i|01|+i|10|,

Z=|00||11| .


Exercise 2.10: Suppose |vi is an orthonormal basis for an inner product space V. What is the matrix representation for the operator |vjvk|, with respect to the |vi basis?

Similar to Exercise 2.9, we can see that |vjvk| is an array whose element at row j, column k is 1 and 0 otherwise.


Commutation relations for the Pauli matrices:

XY=(|01|+|10|)(i|01|+i|10|)

=i|0110|i|1001|

=i|00|i|11|=iZ,

YX=(i|01|+i|10|)(|01|+|10|)

=i|0110|+i|1001|

=i|00|+i|11|=iZ,

Therefore [X,Y]=XYYX=2iZ.

Similarly, [Y,Z]=YZZY=2iX,

[Z,X]=ZXXZ=2iY.


Anti-commutation relations for the Pauli matrices:

{X,Y}=XY+YX=0,

Similarly, {Y,Z}={Z,X}=0.


X2=XX=(|01|+|10|)(|01|+|10|)

=|00|+|11|=I.

Similarly, Y2=Z2=I.


A diagonal representation for an operator A is a representation A=iλi|ii| where the vectors |i form an orthonormal set of eigenvectors for A with corresponding eigenvalues λi.


Common one-qubit states:

|+=12|0+12|1=12[11],

|=12|012|1=12[11],

|+i=12|0+i2|1=12[1i],

|i=12|0i2|1=12[1i].


Exercise 2.11: (Eigendecomposition of the Pauli matrices) Find the eigenvectors, eigenvalues, and diagonal representations of the Pauli matrices X,Y , and Z.

For Pauli X:

For Pauli Y:

For Pauli Z:

#Mathematics