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

Uploaded Source

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

Hashes for aiida-qp2-0.2.0.tar.gz
Algorithm Hash digest
SHA256 dcfd92c4d3a9bbd3e6a3199aa1b78925c2a1ea1e5b4a4066094d646fd432aa01
MD5 0b2f88dc145a018466d0cfedfd182745
BLAKE2b-256 f0e624ef45e05de1266ccdd8639a2eec8cbdb32b54a22e288c11d6b144a2e37c

See more details on using hashes here.

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