4
1
mirror of https://github.com/pfloos/quack synced 2024-11-19 20:42:44 +01:00
quack/README.md

58 lines
2.2 KiB
Markdown
Raw Normal View History

2023-07-10 20:00:15 +02:00
# QuAcK: a software for emerging quantum electronic structure methods
2021-10-13 14:14:15 +02:00
2023-07-10 19:56:57 +02:00
**Contributors:**
- [Pierre-Francois Loos](https://pfloos.github.io/WEB_LOOS)
- [Enzo Monino](https://enzomonino.github.io)
- [Antoine Marie](https://antoine-marie.github.io)
2023-07-10 19:58:37 +02:00
- [Anthony Scemama](https://scemama.github.io)
2023-07-10 19:56:57 +02:00
# What is it?
2021-10-13 14:14:15 +02:00
2023-07-10 19:56:57 +02:00
# Installation guide
The QuAcK software can be downloaded on GitHub as a Git repository
```
2023-07-10 19:57:20 +02:00
git clone https://github.com/pfloos/QuAcK.git
2023-07-10 19:56:57 +02:00
```
2021-10-13 14:14:15 +02:00
2023-07-10 20:04:25 +02:00
Then, one must define the variable `QUACK_ROOT`. For example,
```
export QUACK_ROOT=$HOME/Work/QuAcK
```
You must also install [PySCF](https://pyscf.org) (for example using `pip`)
2023-07-10 19:56:57 +02:00
```
pip install pyscf
```
2023-07-10 20:04:25 +02:00
PySCF is used for the computation of one- and two-electron integrals (mainly).
2023-07-10 19:56:57 +02:00
# Quick start
2023-07-10 20:01:49 +02:00
```
2023-07-10 20:04:25 +02:00
QuAcK 💩 % cd $QUACK_ROOT
2023-07-10 20:04:45 +02:00
QuAcK 💩 % python PyDuck.py -h
2023-07-10 20:01:49 +02:00
usage: PyDuck.py [-h] -b BASIS [--bohr] [-c CHARGE] [--cartesian] [-fc FROZEN_CORE] [-m MULTIPLICITY] [--working_dir WORKING_DIR] -x XYZ
This script is the main script of QuAcK, it is used to run the calculation. If $QUACK_ROOT is not set, $QUACK_ROOT is replaces by the current
directory.
options:
-h, --help show this help message and exit
-b BASIS, --basis BASIS
Name of the file containing the basis set in the $QUACK_ROOT/basis/ directory
--bohr By default QuAcK assumes that the xyz files are in Angstrom. Add this argument if your xyz file is in Bohr.
-c CHARGE, --charge CHARGE
Total charge of the molecule. Specify negative charges with "m" instead of the minus sign, for example m1 instead of -1.
Default is 0
--cartesian Add this option if you want to use cartesian basis functions.
-fc FROZEN_CORE, --frozen_core FROZEN_CORE
Freeze core MOs. Default is false
-m MULTIPLICITY, --multiplicity MULTIPLICITY
Number of unpaired electrons 2S. Default is 0 therefore singlet
--working_dir WORKING_DIR
Set a working directory to run the calculation.
-x XYZ, --xyz XYZ Name of the file containing the nuclear coordinates in xyz format in the $QUACK_ROOT/mol/ directory without the .xyz
extension
'''