diff options
-rw-r--r-- | three_levels.m | 13 | ||||
-rw-r--r-- | two_levels.m | 11 |
2 files changed, 13 insertions, 11 deletions
diff --git a/three_levels.m b/three_levels.m index 4eca8f5..eb9c24e 100644 --- a/three_levels.m +++ b/three_levels.m @@ -1,4 +1,10 @@ -levels=1:3; +1; + +Nlevels=3; +w12=1e9; +w_hpf=6800; +w13=w12-w_hpf; + % ----------- |1> % / \ @@ -23,11 +29,6 @@ E_field =[0, Ep, Ed, Epc, Edc, 0, 0 ]; -Nlevels=3; -w12=1e9; -w_hpf=6800; -w13=w12-w_hpf; - % unperturbed Hamiltonian energy levels levels_energy=[ w12, 0, w_hpf]; diff --git a/two_levels.m b/two_levels.m index 217e76f..8512247 100644 --- a/two_levels.m +++ b/two_levels.m @@ -1,5 +1,11 @@ 1; +Nlevels=2; +w12=1e9; +w_hpf=6.8e3; +w13=w12-w_hpf; + + % ----------- |1> % \ % \ @@ -18,11 +24,6 @@ E_field =[0, Ep, Epc]; -Nlevels=2; -w12=1e9; -w_hpf=6.8e3; -w13=w12-w_hpf; - % unperturbed Hamiltonian energy levels levels_energy=[ w12, 0]; |