Solve Rabi Problem Numerically
Solve Rabi Problem Numerically
TheHamiltonianofRabiProblemis:
Thenwecansupposethewavefunctioncanbeexpandedas(intheinteractionpicture):|ψ〉=(t)|0〉+(t)|1〉Andtheequationsare:
whereΔ=,Γ=and(0)=1,(0)=0
H 0 ℏω 0 † σ |
V(t)= ℏΩ 0 † σ iωt e -iωt e |
a
0
a
1
-iωt
e
i d a 0 dt -iΔt e -iΓt e a 1 |
i d a 1 dt iΔt e iΓt e a 0 |
-8
10
8
10
a
0
a
1
timeRange=2Pi;(*letx[t]=[y],y[t]=a1[t]*)(*thefollowingcodegoeswellwhenΔ=,Γ=,butbreaksdownwhentheorderdifferencegoeshigher*)solution=NDSolve[{Ix'[t]==(Exp[-IΔt]+Exp[-IΓt])y[t],Iy'[t]==(Exp[IΔt]+Exp[IΓt])x[t],x[0]==1,y[0]==0}/.{Δ->1.0,Γ->1.0},{x,y},{t,0,timeRange}];Plot[{Evaluate[Norm[x[t]/.solution]^2],Evaluate[Norm[y[t]/.solution]^2]},{t,0,timeRange},PlotTheme->"Scientific",FrameLabel->{"t(s)","|a(t)"}]
a
0
-4
10
4
10
-8
10
8
10
2
|
Out[]=
