Energy

Energy
is a parameter for AtomicState that specifies the (fine-structure) energy of the state in units of angular frequency.
Energy[state]
returns the value specified for Energy in AtomicState state, or Energy[StateLabel[state]] if it is not specified.
  • Energy is automatically threaded over a list of AtomicState objects appearing as its argument.
In[1]:=
Click for copyable input
Specify an Energy parameter in an atomic state:
In[2]:=
Click for copyable input
Out[2]=
Get the specified value for each state, or a placeholder variable if it is not specified:
In[3]:=
Click for copyable input
Out[3]=
The values for Energy appear in the diagonal entries of the Hamiltonian:
In[4]:=
Click for copyable input
Out[4]//MatrixForm=
[an error occurred while processing this directive]