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