Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using Numba #9

Open
Konjkov opened this issue Jul 14, 2020 · 3 comments
Open

using Numba #9

Konjkov opened this issue Jul 14, 2020 · 3 comments

Comments

@Konjkov
Copy link

Konjkov commented Jul 14, 2020

Hello Rick

I am writing a package for quantum chemical calculations using the Monte Carlo method with python3 and numba

While I work in the local repository, I noticed that using the numba allows you to write easy-to-read and at the same time fast code. Unfortunately, Monte Carlo calculations are not self-sufficient and require input data on orbitals calculated in the classical quantum-mechanical program. I wrote a converter for this MOLDEN2QMC, however, it is very inconvenient that there is no single standard for storing molecular orbitals, especially in the case of MCSCF methods and orbital-optimised one.

I wanted to ask if there are any plans for the further development of the pyquante package and wat kind of performance tools you plan to use (I saw an example code on JULIA), but this does not make it possible to reuse all available python code.

Is the numba your choice and how long does it take to rewrite the RHF/UHF pyquante code with numba to check that they are as fast as the C++/FORTRAN code?

PS: It would also be interesting to study the systems expanded in the basis of the Slater orbitals not only in Gaussian with CASSCF method, I can say that there is no program that does such calculations including ADF

PPS: Despite the fact that I write code in my free time, the Python3 allows me to write fast enough to be productive.

Best, Vladimir

@rpmuller
Copy link
Owner

rpmuller commented Jul 15, 2020 via email

@Konjkov
Copy link
Author

Konjkov commented Jun 23, 2023

Hello Rick

I have significant progress in developing quantum chemistry program using python and numba (numpy, scipy) and found it to be a promising approach https://github.com/Konjkov/pycasino

after the implementation of the pseudopotential, I will try to implement the Hartree-Foсk method.

numba, despite the lack of a stable version, allows you to write code that works 2-5 times slower than Fortran.

Best, Vladimir

@rpmuller
Copy link
Owner

Thanks. As you probably gather from my commit history, I'm not actively developing pyquante right now, but I'm very interested in the utility of packages like Numba to make the package faster. You're positive experience in this area is exciting. Thanks for posting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants