You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The defineBasis method within DynamicPolarizability class double counts energy levels depending on nMin and nMax passed in as a result of the extraLevels check.
It appears that extraLevels for an atom finds any levels that have principle quantum number smaller than the ground state, but, which nonetheless have energy higher than the ground state and are dipole coupled to the ground state. These extraLevels are always added into the basis for DynamicPolarizability calculation. This check is useful and has helped us avoid missing coupling to some states in the past. For the case of Rubidium87 the ground state has n=5 but there are some n=4 levels included in extraLevels. If one passes in nMin=4 to defineBasis then these states are double counted. This has led to incorrect values for calculations.
This issue could be resolved by checking if the existing state is already included in the basis whenever adding new states to the basis.
I have not checked if this issue occurs anywhere else in the code but it may be likely.
The text was updated successfully, but these errors were encountered:
jagerber48
changed the title
defineBasis (for DynamicPolarizability) double counts extraLevels if nMin < ground state
defineBasis (for DynamicPolarizability) double counts extraLevels if nMin < ground state n
Jun 15, 2021
The
defineBasis
method withinDynamicPolarizability
class double counts energy levels depending onnMin
andnMax
passed in as a result of theextraLevels
check.It appears that extraLevels for an atom finds any levels that have principle quantum number smaller than the ground state, but, which nonetheless have energy higher than the ground state and are dipole coupled to the ground state. These extraLevels are always added into the basis for
DynamicPolarizability
calculation. This check is useful and has helped us avoid missing coupling to some states in the past. For the case ofRubidium87
the ground state has n=5 but there are some n=4 levels included inextraLevels
. If one passes innMin=4
todefineBasis
then these states are double counted. This has led to incorrect values for calculations.gives
This issue could be resolved by checking if the existing state is already included in the basis whenever adding new states to the basis.
I have not checked if this issue occurs anywhere else in the code but it may be likely.
The text was updated successfully, but these errors were encountered: