AiiDA plugin for the Quantum Package 2.0
Project description
aiida-qp2
AiiDA plugin for Quantum Package 2.0 (QP2).
This plugin is the modified output of the AiiDA plugin cutter, intended to help developers get started with their AiiDA plugins.
Repository contents
qp2/
: The main source code of the plugin packagecalculations.py
: A newQP2Calculation
CalcJob
classparsers.py
: A newParser
for theQP2Calculation
docs/
: A documentation template. The ReadTheDocs documentation is built and deployed on thegh-pages
branch.examples/
: Examples of how to submit a calculation using this pluginLICENSE
: License for your pluginMANIFEST.in
: Configure non-Python files to be included for publication on PyPIREADME.md
: This filesetup.json
: Plugin metadata for registration on PyPI and the AiiDA plugin registry (including entry points)setup.py
: Installation script for pip / PyPI.pre-commit-config.yaml
: Configuration of pre-commit hooks that sanitize coding style and check for syntax errors. Enable viapip install -e .[pre-commit] && pre-commit install
.github/
: Github Actions configurationci.yml
: runs tests and builds documentation at every new commitpublish-on-pypi.yml
: automatically deploy git tags to PyPI
Features
- Initialize a wave function file (EZFIO) based on
StructureData
instance andqp_create_ezfio
dictionary. This step can optionally useBasisSet
and/orPseudopotential
nodes produced by theaiida-gaussian-datatypes
plugin. - Run calculations (e.g. HF, CIPSI) in a given order according to the
qp_commands
list. Some pre- or post-processing (e.g.shell
scripting) is also possible by providing a list of commands inqp_prepend
orqp_append
keys of theparameters
Dict, respectively. - Export TREXIO file from the QP-native EZFIO format.
Installation
pip install aiida-qp2
verdi quicksetup # better to set up a new profile
verdi plugin list aiida.calculations # should now show your calclulation plugins
Usage
See Demo-aiida-qp.md
and .py
files in the examples/
directory.
For instance, the example_trexio_from_xyz.py
is the 3-step workflow using the plugin.
verdi daemon start # make sure the daemon is running
cd examples
python example_trexio_from_xyz.py # prepare and submit the calculation
verdi process list -a # check record of calculation
- Create the EZFIO wave function file from the
hcn.xyz
file using a given basis set. - Run SCF calculation using the previously created wave function and parse the output file looking for the Hartree-Fock energy.
- Export TREXIO wave function file by converting EZFIO format using
TREXIO_TEXT
back end.
Development
git clone https://github.com/TREX-CoE/aiida-qp2 .
cd aiida-qp2
pip install -e .[pre-commit] # install extra dependencies
pre-commit install # install pre-commit hooks
License
MIT
Contact
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiida-qp2-0.2.0.tar.gz
(9.8 kB
view details)
File details
Details for the file aiida-qp2-0.2.0.tar.gz
.
File metadata
- Download URL: aiida-qp2-0.2.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcfd92c4d3a9bbd3e6a3199aa1b78925c2a1ea1e5b4a4066094d646fd432aa01 |
|
MD5 | 0b2f88dc145a018466d0cfedfd182745 |
|
BLAKE2b-256 | f0e624ef45e05de1266ccdd8639a2eec8cbdb32b54a22e288c11d6b144a2e37c |