summaryrefslogtreecommitdiff
path: root/three_levels.m
diff options
context:
space:
mode:
Diffstat (limited to 'three_levels.m')
-rw-r--r--three_levels.m33
1 files changed, 27 insertions, 6 deletions
diff --git a/three_levels.m b/three_levels.m
index cc05e65..9830d7b 100644
--- a/three_levels.m
+++ b/three_levels.m
@@ -16,8 +16,10 @@ w13=w12-w_hpf;
% ___________ |2>
+w_hpf_ground=6834;
+w_pf1 =1e9; % something big Distance from |S,F=1> to |P,F=1>
% unperturbed Hamiltonian energy levels
-levels_energy=[ w12, 0, w_hpf];
+levels_energy=[ w_pf1, 0, w_hpf_ground];
levels_energy=levels_energy*hbar;
H0=zeros(Nlevels);
H0=diag(levels_energy);
@@ -45,10 +47,29 @@ g_dephasing(3,1)=g_dephasing(1,3);
% dipole matrix
-dipole_elements=zeros(Nlevels);
-dipole_elements(1,2)=1;
-dipole_elements(2,1)=dipole_elements(1,2);
-dipole_elements(3,1)=1;
-dipole_elements(1,3)=dipole_elements(3,1);
+dipole_elements.linear = [
+ [ 0, 0, 0 ]; ...
+ [ 0, 0, 0 ]; ...
+ [ 0, 0, 0 ] ...
+ ];
+dipole_elements.left = [ ...
+ [ 0, 1, 0 ]; ...
+ [ 1, 0, 0 ]; ...
+ [ 0, 0, 0 ] ...
+ ];
+dipole_elements.right = [ ...
+ [ 0, 0, 1 ]; ...
+ [ 0, 0, 0 ]; ...
+ [ 1, 0, 0 ] ...
+ ];
+
+
+gamma=6;
+gamma_hpf=.0001;
+g_decay = [ ...
+ [ 0, gamma, gamma ]; ...
+ [ 0, 0, gamma_hpf ]; ...
+ [ 0, gamma_hpf, 0 ] ...
+ ];