summaryrefslogtreecommitdiff
path: root/three_levels.m
diff options
context:
space:
mode:
Diffstat (limited to 'three_levels.m')
-rw-r--r--three_levels.m13
1 files changed, 7 insertions, 6 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];