Skip to main content

PySCF with autodiff

Project description

PySCF with Auto-differentiation

PyPI version Python versions Build Status codecov DOI

Installation

To install the latest release, choose the command matching your hardware:

Hardware Installation
CPU pip install pyscfad
NVIDIA GPU (CUDA 12) pip install "pyscfad[cuda12]"
NVIDIA GPU (CUDA 13) pip install "pyscfad[cuda13]"

To install the development version, run:

pip install git+https://github.com/fishjojo/pyscfad.git

The dependent C/C++ library pyscfadlib can be compiled from source following the instruction here.

Supported platforms

Prebuilt wheels are published for the following platforms:

Platform CPU NVIDIA GPU
Linux, x86_64 yes yes
Linux, aarch64 yes yes
macOS, Apple silicon (arm64) yes n/a
macOS, Intel (x86_64) no n/a
Windows, x86_64 no no
Windows WSL2, x86_64 yes yes

On platforms without a prebuilt wheel, pyscfadlib can still be compiled from source (see the link above).

pyscfad depends on jax>=0.9.1,<0.11, pyscfadlib>=0.3, pyscf>=2.3, and pyscf-properties.

Citing PySCFAD

The following paper should be cited in publications utilizing the PySCFAD program package:

Differentiable quantum chemistry with PySCF for molecules and materials at the mean-field level and beyond, X. Zhang, G. K.-L. Chan, J. Chem. Phys., 157, 204801 (2022)

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

pyscfad-0.3.3.tar.gz (284.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyscfad-0.3.3-py3-none-any.whl (428.7 kB view details)

Uploaded Python 3

File details

Details for the file pyscfad-0.3.3.tar.gz.

File metadata

  • Download URL: pyscfad-0.3.3.tar.gz
  • Upload date:
  • Size: 284.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyscfad-0.3.3.tar.gz
Algorithm Hash digest
SHA256 da269901d55f0be6819dd2abd78c071bfe4b0fe2f6b7371555986c192b66be88
MD5 c4736878e325adc004b64a823218c700
BLAKE2b-256 d3cb57d3fe0faad87b6bbc9fadfddfbead4a624fdd6ebe5cb684f4c2cac9f2a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyscfad-0.3.3.tar.gz:

Publisher: publish_pyscfad.yml on fishjojo/pyscfad

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyscfad-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: pyscfad-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 428.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyscfad-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 69d610b187a4a14a053e50b0ae1725b8fbe27fbcce5cce528184e935c9caae9c
MD5 6176eda8031cb8604d295fedbe5cb2d4
BLAKE2b-256 6d0c7640d7da02c4d77a7d978d084e3c072108f74f13d83a417121682b1d3372

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyscfad-0.3.3-py3-none-any.whl:

Publisher: publish_pyscfad.yml on fishjojo/pyscfad

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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