Pset2 Ans
Pset2 Ans
19
1. Solve for the eigenvalues of a 2x2 matrix A in terms of the trace and determinant of A. Use
this expression to show that the trace is the sum of the eigenvalues.
Av = λv
so
A − λIv = 0
For that to be true for non-zero v, A − λI must be singular, so its determinant must be zero.
———————————————————-
We need |A − λI| = 0. Determinant of 2x2 matrix is ad − bc, so we have
ad − ld − la + l2 − bc = 0 (2)
In particular, the sum of the eigenvalues cancels out the square root part, so we’re left that
the trace of the matrix is the sum of the eigenvalues. This remains true in general.
———————————————————-
Ai kBk j. We know that (AB† )ij = (ABji )† so we have
P
We have (AB)ij =
X
(AB† )ij = Aj k † Bk i† (6)
———————————————————-
The braket is:
1 h i i 1 1
√ −i 2 / √ = (1 + 4) = 1 (8)
5 2 5 5
√
The bra for |+xi is (1, 1) 2 so we can find the amplitude to be in |+xi:
1 h i i 1 i+2
√ 1 1 √ = √ (9)
2 2 5 10
The probability is the absolute value of that squared, or (2 + i)(2 − i)/10 = 5/10 = 0.5.
√
So, we find ourselves in |+xi 50% of the time. The ket for +y is (1, i)/ 2, so the bra
p
h+y| = (1, −i)/ (2). The amplitude is then
1 h i i 1 √ √
√ 1 −i √ = (i − 2i)/ 10 = −i/ 10 (10)
2 2 5
4. A) Working in the z−basis, express the projection operators |+yi h+y| and |−yi h−y| as 2x2
matrices.
B) Show that the +y projection matrix times an arbitrary vector (a, b) outputs a vector that
is proportional to |+yi (i.e. it comes out as (c, ic) for some value c). Show the same for the
−y.
———————————————————-
√ √
A) We have |+yi = (1, i)/ 2, h+y| = (1, −i)/ 2. The outer product of that is
1 1 −i
(11)
2 i 1
Since the bras/kets for |−yi are just the conjugates of |+yi, then |−yi h−y| is the conjugate
of |+yi h+y|, or
1 1 i
(12)
2 −i 1
5. A) For an arbitrary state |+ni , |−ni, write down the 2x2 projection operators in the z−basis.
As a reminder, you can look at Townsend problem 1.3 for the state in an arbitrary direction.
B) Show that the sum of these two matrices is the identity matrix. We expect this because
the |+ni component of a state plus the |−ni component must give us the state we started
with.
———————————————————-
The ket for
B) If we add these two together, the off-diagonals are equal and opposite, so they cancel.
The on-diagonals are cos(θ/2)2 + sin(θ/2)2 = 1 for both entries, so we have
6. A) Work out the angular momentum operators Jx , Jy in the z−basis. Verify that they are
Hermitian. If you want to do this on a computer, that’s fine, but include the (very short!)
code you used to generate them, and comment what you are doing.
B) Work out the angular momentum operators Jx , Jy , Jz in the |±yi basis. Again, verify
that they are Hermitian. ———————————————————-
See code pset2 q6.py
7. Work our the π/2 rotation matrix about the y−axis in the |±zi-basis. Do this two ways
- first by writing down what this matrix has to do to the |+xi and |+zi states. Then by
combining the matrices that turn a state represented in the ±z-basis into the ±y-basis, the
matrix that rotates about its own axis (the rotation about |+ni represented in the |±ni
basis can’t depend on |ni), and the matrix that converts states in the |±yi back into the
|±zi basis. Show that these matrices are the same, possibly up to an overall phase factor.
———————————————————-
See code pset2 q7.py