CoreKet

Class Methods

__init__([i_c, n_c, s_c, l_c, j_c, f_c, label])

Initialize the core angular ket.

find_matching_core_ket(matching_core_ket_list)

Find the matching core ket in the given list of core kets.

Class Attributes and Properties

i_c

Nuclear spin quantum number.

n_c

Principal quantum number of the core electron, None if not applicable.

s_c

Core electron spin quantum number (0 for alkali atoms, 0.5 for alkaline earth atoms).

l_c

Core electron orbital quantum number (usually 0).

j_c

Total core electron angular quantum number (s_c + l_c).

f_c

Total core angular quantum number (j_c + i_c).

label

quantum_numbers

contains_unknown

Return True if any of the quantum numbers is Unknown.

quantum_number_names

class rydstate.angular.CoreKet(i_c=None, n_c=None, s_c=0.5, l_c=None, j_c=None, f_c=None, label=None)[source]

Initialize the core angular ket.

Parameters:
quantum_number_names: ClassVar = ('i_c', 'n_c', 's_c', 'l_c', 'j_c', 'f_c')
i_c: float

Nuclear spin quantum number.

s_c: float

Core electron spin quantum number (0 for alkali atoms, 0.5 for alkaline earth atoms).

n_c: int | Unknown | None

Principal quantum number of the core electron, None if not applicable.

l_c: int | Unknown

Core electron orbital quantum number (usually 0).

j_c: float | Unknown

Total core electron angular quantum number (s_c + l_c).

f_c: float | Unknown

Total core angular quantum number (j_c + i_c).

quantum_numbers
label
property contains_unknown: bool

Return True if any of the quantum numbers is Unknown.

find_matching_core_ket(matching_core_ket_list)[source]

Find the matching core ket in the given list of core kets.

This means, is one core_ket in the list a broader or equal description of the same core state. Specifically, a core_ket from the list is a match if:

  • The quantum numbers are the same or the quantum number of the matching_core_ket (from the list) is unknown.

  • The label is the same, or the label of the matching_core_ket is unknown, or the label of the matching_core_ket is contained in the label of self.

Parameters:

matching_core_ket_list (Iterable[CoreKet]) – List of core kets to search for a match.

Return type:

CoreKet

Returns:

The matching core ket from the list.