PySCF with Auto-differentiation
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)
Metadata
Release files for pyscfad 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyscfad-0.3.4.tar.gz | 334.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyscfad-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 819.7 kB
Release files / pyscfad-0.3.4.tar.gz
| Download URL | pyscfad-0.3.4.tar.gz |
|---|---|
| Size | 334.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1799ae6f61aa165459aa1b16516e5ca7fa0711de2de8f7495bf16f8083398fd0
|
|
BLAKE2b-256 checksum How to use checksums |
732b35f68ca994bfc8bc510684ea09885b393473d3fee058842191414ad69d7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.
Transparency logRelease files / pyscfad-0.3.4-py3-none-any.whl
| Download URL | pyscfad-0.3.4-py3-none-any.whl |
|---|---|
| Size | 484.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6495ca45ca56d041b94ceb4fa38d61f9e41ee82cf555de823349373e1ab6f780
|
|
BLAKE2b-256 checksum How to use checksums |
29d2c9b2cba1fb16842b91722be26e94ae43551e13838ee8583ef0106ce13538
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.
Transparency log