Searching for the code of PySCF handling spherical harmonic/Cartesian basis #2740
Answered
by
jeanwsr
Grinnnnnnn
asked this question in
Q&A
-
|
If the type of the set basis is different (spherical harmonics type or Cartesian type), PySCF will also perform different treatments and obtain different electronic integrals. I'm quite curious about how PySCF handles these two types respectively. May I ask where I can find the corresponding code for this process? |
Beta Was this translation helpful? Give feedback.
Answered by
jeanwsr
Mar 19, 2025
Replies: 1 comment 1 reply
-
|
That's handled in libcint. pyscf just calls intors with |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Grinnnnnnn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's handled in libcint. pyscf just calls intors with
_cartor_sphsuffix. See https://github.com/sunqm/libcint/blob/master/src/cart2sph.h