Temporary HW
From phys813
Problem 1
The Hamiltonian for an electron spin degree of freedom in the external magnetic field is given by:
where is the Bohr magneton </math> and is the vector of the Pauli matrices:
(a) In the quantum canonical ensemble, evaluate the density matrix if is along the z axis.
(b) Repeat the calculation from (a) assuming that points along the x axis.
(c) Calculate the average energy in each of the above cases.