The Gibbs free energy of a molecule is generally expressed as a sum of translational, rotational, vibrational, electronic and nuclear contributions. The electronic contribution $G_{elec}$ is formally a sum of Boltzmann factors of all possible electronic states of the system, but since the first electronic excitation energy is usually much larger than $kT$, many programs make the approximation $G_{elec} = -RT \ln g_0$, where $g_0$ is the degree of degeneracy of the ground state. For non-relativistic calculations of spatially non-degenerate states, $g_0$ is simply the spin multiplicity $2S+1$. In this case the program can easily choose the correct $g_0$ automatically, without intervention by the user.
However, during our recent development of the BDF software (http://182.92.69.169:7226/Introduction), I realized that the determination of $g_0$ in BDF is much more complicated than simply equating it to $2S+1$. The reason is that BDF is known for its accurate relativistic methods and full consideration of spatial symmetry, including double-group symmetry. Consequently, compared to other programs, a disproportionately high number of BDF users routinely perform calculations that take into account spin-orbit coupling, where the degree of degeneracy is $2J+1$ instead of $2S+1$, and a considerable number of users also calculate spatially degenerate electronic states.
My question is about the latter case. If the electronic state is spatially degenerate, say we are calculating the Gibbs free energy of the triply degenerate $1^3P$ state of the carbon atom, should we also take the spatial degeneracy of the state into account (i.e. in this case we have $g_0=9$ instead of $g_0=3$)?
Theoretically it seems that the answer is yes, but if the electronic structure method used in calculating the electronic energy of the system breaks the spatial symmetry, then the consideration of spatial symmetry may lead to inconsistencies. For example, if the aforementioned carbon atom is computed at the DFT level, then the spherical rotational symmetry of the atom is broken, so that if we compute the excited states of the carbon atom at the same level using TDDFT, we will find that the other two components of the triply degenerate $1^3P$ state lie quite a bit above the ground state, and a sum of Boltzmann factors will yield a nearly zero spatial contribution to the electronic Gibbs free energy, instead of the expected $-RT \ln 3$. Therefore, choosing $g_0=9$ in this case amounts to taking into account a degeneracy that exists in reality but does not exist in the approximate computational method that we are using, which does not sound entirely satisfactory. Moreover, the consideration of spatial symmetry in this case makes the automatic determination of $g_0$ very difficult, as the program has to deduce that the true spectral term of the carbon atom is $1^3P$, even though the DFT wavefunction has only $D_{\infty h}$ symmetry.
On the practical side, the latter problem means that in all quantum chemistry programs that I know of, a $1^3P$ carbon atom computed at the DFT level is treated as if it is spatially non-degenerate (at least the degeneracy does not enter the partition function). But I don't know if the user is supposed to manually correct for this. If no, then what about the calculations where the atom is treated by a method that does respect the spatial symmetry, like state-averaged CASSCF? To the best of my knowledge, many (if not all) quantum chemistry programs do not take into account the spatial degree of degeneracy even in this case, but again I don't know if the user has the responsibility to manually add the spatial contribution to the electronic Gibbs free energy.
Thank you very much in advance.