draws a level diagram for atomic system sys using specified values of the AtomicState Energy parameter for the level energies, or default values if they are not specified.
LevelDiagram[sys, h]
uses energies specified in the Hamiltonian h and draws arrows representing level couplings.
LevelDiagram[sys, h, dm]
draws populations for each level as specified by the diagonal elements of the density matrix dm.
  • The atomic system sys is specified as a list of AtomicState objects.
  • The Hamiltonian is required to have numeric entries on the diagonal. However, default values are supplied for Energy, HyperfineA, and HyperfineB, so these need not be set by the user. The default values for Energy order the levels according to the Sort order of their state labels.
  • A vector of level energies can be supplied rather than a Hamiltonian as the second argument.
  • A vector of populations can be supplied rather than a density matrix as the third argument.
  • Multiple Hamiltonians with different options applying to each can be specified with LevelDiagram[sys, {{h1, opts1}, {h2, opts2}, ...}]. Level energies are taken from the first Hamiltonian given.
  • LevelDiagram takes the same options as Graphics, with the following additions:
ArcRadius-0.5arc radius for curved arrows
ArrowFunctionAutomaticfunction used to draw the arrows
ArrowOffset{0, 0}explict offset for arrows
ArrowSetback0setback for arrows
ArrowSpacing0.1horizontal space between arrows that originate from the same level
ArrowStyle{}style specifications for the arrows
ExtraArrows{}additional arrows to be drawn that are not specified by the Hamiltonian
FLabelNonewhether to label the F values of the levels
JLabelNonewhether to label the J values of the levels
LevelLength0.8length of each level
LevelOffsetNoneadditional horizontal offsets for the levels
LevelSpacing0.2horizontal space between Zeeman sublevels
LevelStyle{}style specifications for the levels
MaxArcSlope0.2maximum slope below which arrows are drawn with a curve
MinLabelSpacing0.3minimum vertical spacing between the level labels
MLabelNonetype of labels for the M values of the levels
MLabelPositionAutomaticwhere to put the M labels.
ParityOffsetAutomaticwhether to offset Even and Odd parity levels horizontally
PopulationFunctionAutomatic function used to draw the populations
PopulationStyle{}style specifications for populations
QuantumNumberSubscripts{True, True, False}whether to label quantum number symbols with the StateLabel
QuantumNumberSymbols{J, F, M}symbols to use for the J, F, and M quantum number labels
SuppressOffResonantCouplingsTruewhether to drop couplings that would be suppressed in the rotating-wave approximation
[an error occurred while processing this directive]