🦆 QuAcK: an open-source software for emerging quantum electronic structure methods
👥 Contributors
- Pierre-Francois Loos
- Anthony Scemama
- Enzo Monino
- Antoine Marie
- Abdallah Ammar
- Mauricio Rodriguez-Mayorga
- Loris Burth
🚀 Features
- Rapid Prototyping: Ideal for testing and developing new quantum chemistry methods.
- Modular Design: Easily integrate with other tools and libraries.
- Educational Tool: Serves as an excellent entry point for researchers familiar with electronic structure theory.
- Integration with PySCF: Utilizes PySCF for computing one- and two-electron integrals.
What is it?
QuAcK is a lightweight electronic structure program written in Fortran 90, developed at the Laboratoire de Chimie et Physique Quantiques (LCPQ) in Toulouse, France. Originally designed as a platform for rapid prototyping of new ideas in quantum chemistry, QuAcK serves as a flexible and accessible environment for testing novel methods before integrating them more efficiently into larger-scale projects such as the Quantum Package.
Thanks to its compact and transparent codebase, QuAcK is particularly well-suited for experienced PhD students and postdoctoral researchers who are already familiar with electronic structure theory and want to quickly implement or explore new concepts. Written in a clean and relatively straightforward programming language, it provides an excellent entry point for those looking to dive into method development.
For beginners in the field or those with less programming experience, we recommend starting with qcmath, a symbolic and numerical quantum chemistry toolkit built in Mathematica. qcmath is specifically designed to help newcomers explore and develop ideas without the complexity of full-fledged numerical implementations.
⚠️ Note: QuAcK is under active and ongoing development, which means that bugs, inconsistencies, and incomplete features are to be expected. It is a tool made by experts for experts—users are expected to understand what they’re doing and to remain cautious when interpreting results. The code may allow questionable inputs or behavior on purpose, to encourage flexibility during prototyping—so always double-check your results and assumptions. In short: use QuAcK at your own risk—but also to your advantage, if you're ready to experiment and explore.
🛠️ Installation
The QuAcK software can be downloaded on GitHub as a Git repository
git clone https://github.com/pfloos/QuAcK.git
Then, one must define the variable QUACK_ROOT. For example,
export QUACK_ROOT=$HOME/Work/QuAcK
You must also install PySCF (for example using pip)
pip install pyscf
PySCF is used for the computation of one- and two-electron integrals (mainly) which are dumped in files and read by QuAcK. Therefore, it is very easy to use other software to compute the integrals or to add other types of integrals.
Then, go to the src directory and compile
cd src; make
⚡ Quick Start
See the QuAcK manual for the method availability table, the PyDuck command line, and the input reference. The quickstart shows how to run RHF, GW, and standalone FTDA.
For example, if you want to run a calculation on water using the cc-pvdz basis set:
QuAcK 💩 % python PyDuck.py -x water -b cc-pvdz
QuAcK runs calculations in the QUACK_ROOT directory which is quite unusual but it also use the --working_dir option to run calculations elsewhere.
📄 License
QuAcK is licensed under the GNU General Public License v3.0.
📫 Contact
For questions or contributions, please open an issue or submit a pull request on the GitHub repository.
💰 Funding
QuAcK is supported by the PTEROSOR project that has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 863481).
See the manual for single-shot GW–Parquet and standalone Faddeev.