L

L
is a parameter for AtomicState that specifies the electronic orbital angular momentum quantum number for the state.
L[state]
returns the value specified for L in AtomicState state, or L[StateLabel[state]] if it is not specified.
  • L should be set to integer values.
  • L is used to determine the g-factor for an atomic state. If the parameter GFactor is specified, or the g-factor is not required, then the value of L is not used.
  • L is automatically threaded over a list of AtomicState objects appearing as its argument.
Two-level atomic system with Zeeman structure.
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Get the values of L:
In[3]:=
Click for copyable input
Out[3]=
The values of L, S, and J are used to find the Landé g-factor for each state.
In[4]:=
Click for copyable input
Out[4]=
The g-factor enters in the magnetic-field interaction Hamiltonian.
In[5]:=
Click for copyable input
Out[5]//MatrixForm=
[an error occurred while processing this directive]