Skip to main content

A module for evaluating, differentiating, and integrating Gaussian functions.

Project description

GBasis

This project supports Python 3.9+ pytest codecov PyPI License documentation

About

gbasis is a pure-Python package for analytical integration and evaluation of Gaussian-type orbitals and their related quantities. The goal is to build a set of tools for the quantum chemistry community that are easily accessible and extendable to facilitate future scientific works.

Since basis set manipulation is often slow, quantum chemistry packages in Python often interface to a lower-level language, such as C++ and Fortran, resulting in a complicated build process and limited distribution. The hope is that gbasis can fill in this gap without a significant difference in performance.

See the gbasis website for more information, tutorials and examples, and API documentation.

Citation

Please use the following citation in any publication using gbasis library:

"GBasis: A Python Library for Evaluating Functions, Functionals, and Integrals Expressed with Gaussian Basis Functions.", T. D. Kim, L. Pujal, M. Richer, M. van Zyl, M. Martínez-González, A. Tehrani, V. Chuiko, G. Sánchez-Díaz, W. Sanchez, W. Adams, X. Huang, B. D. Kelly, E. Vöhringer-Martinez, T. Verstraelen, F. Heidar-Zadeh, and P. W. Ayers, J. Chem. Phys. 161, 042503 (2024).

Installation

To install the latest release of qc-gbasis, run as follows:

python -m pip install qc-gbasis

See https://gbasis.qcdevs.org/installation.html for full details.

Contributing

We welcome contributions of all kinds, such as new features, improvements, bug fixes, and documentation clarifications. Please read our Contributor Guide and Code of Conduct for more details.

Feature List (Partial)

This is a partial list of the features that are supported in gbasis:

Importing basis set

  • from Gaussian94 basis set file (gbasis.parsers.parse_gbs)
  • from NWChem basis set file (gbasis.parsers.parse_nwchem)
  • from iodata (gbasis.wrappers.from_iodata)
  • from pyscf (gbasis.wrappers.from_pyscf)

Evaluations

  • of basis sets (gbasis.eval.evaluate_basis)
  • of arbitrary derivative of basis sets (gbasis.eval_deriv.evaluate_deriv_basis)
  • of density (gbasis.density.evaluate_density)
  • of arbitrary derivative of density (gbasis.density.evaluate_deriv_density)
  • of gradient of density (gbasis.density.evaluate_density_gradient)
  • of Laplacian of density (gbasis.density.evaluate_density_laplacian)
  • of Hessian of density (gbasis.density.evaluate_density_hessian)
  • of stress tensor (gbasis.stress_tensor.evaluate_stress_tensor)
  • of Ehrenfest force (gbasis.stress_tensor.evaluate_ehrenfest_force)
  • of Ehrenfest Hessian (gbasis.stress_tensor.evaluate_ehrenfest_hessian)
  • of positive-definite kinetic energy (gbasis.density.evaluate_posdef_kinetic_energy_density)
  • of general form of the kinetic energy (gbasis.density.evaluate_general_kinetic_energy_density)
  • of electrostatic potential (gbasis.electrostatic_potential.electrostatic_potential)

Integrals

  • overlap integrals of a basis set (gbasis.overlap.overlap_integral)
  • overlap integrals between two basis sets (gbasis.overlap_asymm.overlap_integral_asymmetric)
  • arbitrary multipole moment integral (gbasis.moment.moment_integral)
  • kinetic energy integral (gbasis.kinetic_energy.kinetic_energy.integral)
  • momentum integral (gbasis.momentum.momentum_integral)
  • angular momentum integral (gbasis.angular_momentum.angular_momentum_integral)
  • point charge interaction integral (gbasis.point_charge.point_charge_integral)
  • nuclear-electron attraction integral (gbasis.point_charge.point_charge_integral)
  • electron-electron repulsion integral (gbasis.electron_repulsion.electron_repulsion_integral)

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

qc_gbasis-0.1.0.tar.gz (5.8 MB view details)

Uploaded Source

Built Distribution

qc_gbasis-0.1.0-py3-none-any.whl (97.0 kB view details)

Uploaded Python 3

File details

Details for the file qc_gbasis-0.1.0.tar.gz.

File metadata

  • Download URL: qc_gbasis-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for qc_gbasis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d30a2b6a618409d532cac3501abc80407b8f2e6e4bb82141233b60c656f9df5d
MD5 4e06f6e3419a5316890e915f3e7263c3
BLAKE2b-256 7f1dd43b03a6f34f32098e1338511ea21c96ee7e291ffe0e9fccf6c0963720c1

See more details on using hashes here.

File details

Details for the file qc_gbasis-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: qc_gbasis-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 97.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for qc_gbasis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b5b794bccf9d26d531c4a69786309adb7a73f029109cfa0da249cacf1c82d38
MD5 3d08b7da648cb3c9b1d1862fa03a291b
BLAKE2b-256 529f38f8ff3393af78905966ec68de45d2ffe06247b40e0aa27c2937e0e220a7

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