Problem 2. Let
If we consider the following Hamiltonians expressed in terms of these matrices:
What are the eigenvalues and eigenvectors.
xxxxxxxxxx1
1
using SymPyxxxxxxxxxx6
1
begin2
𝑖,(ħ,ω) = sympy.I,sympy.symbols("ħ,ω")3
half = sympy.Rational(1,2)4
⊗(x,y) = kron(x,y) #This is the same as tensor product.5
⋅ = *6
end;xxxxxxxxxx8
1
begin2
σ₁ = half⋅[0 1;3
1 0]4
σ₂ = half⋅[0 -𝑖;5
𝑖 0]6
σ₃ = half⋅[1 0;7
0 -1]8
end;xxxxxxxxxx1
1
Ĥ = (σ₁ ⊗ σ₁) + (σ₂ ⊗ σ₂) + (σ₃ ⊗ σ₃)xxxxxxxxxx1
1
K̂ = (σ₁ ⊗ σ₂) + (σ₂ ⊗ σ₃) + (σ₃ ⊗ σ₁)The eigenvectors and eigenvalues for these operators are then:
xxxxxxxxxx8
1
begin2
ℍ,𝕂 = Ĥ.eigenvects(chop=true),K̂.eigenvects(chop=true)3
#unpack :e - eigenvalue, :m - multiplicty (degeneracy)4
eₕ = [Dict(:e=>e[1],:m=>e[2]) for e in ℍ]5
eₖ = [Dict(:e=>e[1],:m=>e[2]) for e in 𝕂]6
vₕ = [v[end][1:end] for v in ℍ]7
vₖ = [v[end][1:end] for v in 𝕂]8
end;indices 1 to 2
As you can see the eigensepectrum[1] is the same for both operators. In addition there is a 3-fold degeneracy for the second eigenstate. Lets take a look at the eigenvectors
eigenvector index 2
and
1
Note that the