pairinteraction
A Rydberg Interaction Calculator
pairinteraction::spherical Namespace Reference

Functions

template<typename Scalar >
const Eigen::MatrixX< Scalar > & get_transformator (int kappa)
 

Variables

const Eigen::Matrix3< std::complex< double > > CARTESIAN_TO_SPHERICAL_KAPPA1
 
const Eigen::Matrix< std::complex< double >, 6, 9 > CARTESIAN_TO_SPHERICAL_KAPPA2
 
const double SQRT_2 = std::sqrt(2.)
 
const double SQRT_2_3 = std::sqrt(2. / 3.)
 
const double SQRT_8_3 = std::sqrt(8. / 3.)
 

Function Documentation

◆ get_transformator()

template<typename Scalar >
const Eigen::MatrixX< Scalar > & pairinteraction::spherical::get_transformator ( int  kappa)
inline

Definition at line 25 of file spherical.hpp.

References CARTESIAN_TO_SPHERICAL_KAPPA1, and CARTESIAN_TO_SPHERICAL_KAPPA2.

Variable Documentation

◆ CARTESIAN_TO_SPHERICAL_KAPPA1

const Eigen::Matrix3< std::complex< double > > pairinteraction::spherical::CARTESIAN_TO_SPHERICAL_KAPPA1
Initial value:
=
1, -1i, 0,
0, 0, SQRT_2,
-1, -1i, 0
).finished() * std::sqrt(1./2.)
Matrix< Type, 3, 3 > Matrix3

Definition at line 22 of file spherical.cpp.

Referenced by pairinteraction::DOCTEST_TEST_CASE(), and get_transformator().

◆ CARTESIAN_TO_SPHERICAL_KAPPA2

const Eigen::Matrix< std::complex< double >, 6, 9 > pairinteraction::spherical::CARTESIAN_TO_SPHERICAL_KAPPA2
Initial value:
=
(Eigen::Matrix<std::complex<double>, 6, 9>() <<
1, -1i, 0, -1i, -1, 0, 0, 0, 0,
0, 0, 1, 0, 0, -1i, 1, -1i, 0,
-SQRT_2_3, 0, 0, 0, -SQRT_2_3, 0, 0, 0, SQRT_8_3,
0, 0, -1, 0, 0, -1i, -1, -1i, 0,
1, 1i, 0, 1i, -1, 0, 0, 0, 0,
SQRT_2_3, 0, 0, 0, SQRT_2_3, 0, 0, 0, SQRT_2_3
).finished() * std::sqrt(1./24.)

Definition at line 33 of file spherical.cpp.

Referenced by pairinteraction::DOCTEST_TEST_CASE(), and get_transformator().

◆ SQRT_2

const double pairinteraction::spherical::SQRT_2 = std::sqrt(2.)

Definition at line 16 of file spherical.cpp.

◆ SQRT_2_3

const double pairinteraction::spherical::SQRT_2_3 = std::sqrt(2. / 3.)

Definition at line 17 of file spherical.cpp.

◆ SQRT_8_3

const double pairinteraction::spherical::SQRT_8_3 = std::sqrt(8. / 3.)

Definition at line 18 of file spherical.cpp.