arc.calculations_atom_single.RWAStarkShift.defineBasis#
- RWAStarkShift.defineBasis(n, l, j, mj, q=0, nMin=None, nMax=None, maxL=None, Bz=0, edN=0, basisStates=None, progressOutput=False, debugOutput=False, s=0.5)#
Initializes basis of states around state of interest
Defines basis of states for further calculation. \(n,l,j,m_j\) specify target state whose neighbourhood and shifts we want to explore. Other parameters specify breadth of basis. This method stores basis in
basisStates
, then calculates the interaction Hamiltonian of the system.- Parameters:
n (int) – principal quantum number of the state
l (int) – angular orbital momentum of the state
j (flaot) – total angular momentum of the state
mj (float) – projection of total angular momentum of the state
q (int, optional) – polarization of coupling field is spherical basis. Must be -1, 0, or 1: corresponding to sigma-, pi, sigma+ Default is 0.
nMin (int, optional) – minimal principal quantum number of the states to be included in the basis for calculation If not provided, basisStates must be provided.
nMax (int, optional) – maximal principal quantum number of the states to be included in the basis for calculation If not provided, basisStates must be provided.
maxL (int, optional) – maximal value of orbital angular momentum for the states to be included in the basis for calculation If not provided, basisStates must be provided.
Bz (float, optional) – magnetic field directed along z-axis in units of Tesla. Calculation will be correct only for weak magnetic fields, where paramagnetic term is much stronger then diamagnetic term. Diamagnetic term is neglected.
edN (int, optional) – Limits the basis to electric dipole transitions of the provided photon number. Default of 0 means include all states. Setting to 1 means only include single-photon dipole-allowed transitions. Setting to 2 means include up to 2 photon transitions. Higher numbers not supported.
basisStates (list of states, optional) – Manually specify the basis. Defaults to None, in which case it creates the basis as normal. If specified, nMin, nMax, maxL, and edN are ignored.
progressOutput (
bool
, optional) – if True prints the progress of calculation; Set to false by default.debugOutput (
bool
, optional) – if True prints additional information usefull for debuging. Set to false by default.s (float, optional) – Total spin angular momentum for the state. Default value of 0.5 is correct for Alkaline Atoms, but value has to be specified explicitly for divalent atoms (e.g. s=0 or s=1 for singlet and triplet states, that have total spin angular momenutum equal to 0 or 1 respectively).