Skip to main content

AiiDA plugin for the Quantum Package 2.0

Project description

Build Status PyPI version

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

Features

  • Initialize a wave function file (EZFIO) based on StructureData instance and qp_create_ezfio dictionary. This step can optionally use BasisSet and/or Pseudopotential nodes produced by the aiida-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 in qp_prepend or qp_append keys of the parameters 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
  1. Create the EZFIO wave function file from the hcn.xyz file using a given basis set.
  2. Run SCF calculation using the previously created wave function and parse the output file looking for the Hartree-Fock energy.
  3. 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

posenitskiy@irsamc.ups-tlse.fr

scemama@irsamc.ups-tlse.fr

Project details


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page