AtomicDensityMatrix`
AtomicDensityMatrix`

StatePosition

StatePosition[sys,crit]

gives the position in the atomic system sys of the states satisfying the stateselection criteria crit.

Details and Options

  • An atomic system is a list of AtomicState expressions.
  • State-selection criteria are specified as for SelectStates: Boolean expressions involving the state parameters, such as StateLabel2&&F1. As a shorthand, if all states with a particular label are to be selected, just the label itself can be specified.
  • The positions are returned in the same syntax used by Position.

Examples

open allclose all

Basic Examples  (1)

Define a hyperfine-Zeeman system:

Find the positions of the states with :

Find the positions of the states labeled 1 with :

Find the positions of the states with label 2:

Scope  (1)

Find the position of only the first state satisfying the criteria: