M

M
is a parameter for AtomicState that specifies the total angular-momentum projection quantum number for the state.
M[state]
returns the value specified for M in AtomicState state, or M[StateLabel[state]] if it is not specified.
  • M should be set to integer or half-integer values.
  • M is automatically threaded over a list of AtomicState objects appearing as its argument.
  • If J is specified for state, values of M are automatically assigned to its sublevels returned by Sublevels[state].
In[1]:=
Click for copyable input
Find the Zeeman sublevels of a state with J specified:
In[2]:=
Click for copyable input
Out[2]=
Get the M values from the sublevels:
In[3]:=
Click for copyable input
Out[3]=
 
In[1]:=
Click for copyable input
Find the hyperfine and Zeeman sublevels of a state with J and NuclearSpin specified:
In[2]:=
Click for copyable input
Out[2]=
Get the M values from the sublevels:
In[3]:=
Click for copyable input
Out[3]=
[an error occurred while processing this directive]