Skip to main content

Interface to and port of fragments of GAMMCOR code developed by Pernal group at Lodz University of Technology

Project description

CAS-AC0 module for PySCF

This is a PySCF extension implementing CAS-AC0, using refactored portions of GAMMCOR. GAMMCOR and the ACn theory have been developed by the Pernal group at Łódź University of Technology

Getting started

pyscf-ac0 is available on pypi for Python 3.10, 3.11, and 3.12 on Linux and MacOS. Install with:

pip install pyscf-ac0

A command line executable rdm_ac0 is provided for interfacing with the inquanto-pyscf extension to compute the AC0 correlation energy. Use this executable with:

rdm_ac0 file.h5

where file.h5 is a data file produced by inquanto-pyscf.

Installing from source

pyscf-ac0 uses the scikit-build-core build system. This requires a C and Fortran compiler. Try installing from source with:

pip install .

If this runs into issues, you may need to be more deliberate with compilers. Specify C and Fortran compilers with:

pip install -v . -Ccmake.args="-DCMAKE_C_COMPILER=/my/C/compiler; -DCMAKE_Fortran_COMPILER=/my/fortran/compiler"

On linux, we test with gcc-10 for C and Fortran. And on MacOS, we test with AppleClang 15 for C, and gcc-11 for Fortran.

Development

Install packages for development with

pip install -r tests/test-requirements.txt

This repository comes with two simple tests. Once installed from source, run tests from the project root with

pytest

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

pyscf_ac0-0.1.0.tar.gz (41.1 kB view details)

Uploaded Source

Built Distributions

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

pyscf_ac0-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyscf_ac0-0.1.0-cp312-cp312-macosx_14_0_arm64.whl (785.5 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pyscf_ac0-0.1.0-cp312-cp312-macosx_12_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 12.0+ x86-64

pyscf_ac0-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyscf_ac0-0.1.0-cp311-cp311-macosx_14_0_arm64.whl (785.2 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pyscf_ac0-0.1.0-cp311-cp311-macosx_12_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 12.0+ x86-64

pyscf_ac0-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyscf_ac0-0.1.0-cp310-cp310-macosx_14_0_arm64.whl (785.2 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pyscf_ac0-0.1.0-cp310-cp310-macosx_12_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pyscf_ac0-0.1.0.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyscf_ac0-0.1.0.tar.gz
Algorithm Hash digest
SHA256 429021d7771d43ba9ea34a45f88e1a041f7f4977480ff994c4146e1851a8e095
MD5 003db70a7c230f8e2a283404eded4637
BLAKE2b-256 b08186adf113baaecd07d7dbe04163d3fa2584d3bf47772b67064a5bb9b19581

See more details on using hashes here.

File details

Details for the file pyscf_ac0-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyscf_ac0-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a87b71e4958d57501744813cbc6120c5f938c8c788bcf2e76395c049a314a066
MD5 9907d652fc022cd8c660b9f1dfd9bcec
BLAKE2b-256 e254069c875fa8a3f0c44e1faadaab9560492133b8a64929d52957f1f8a4f0b4

See more details on using hashes here.

File details

Details for the file pyscf_ac0-0.1.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pyscf_ac0-0.1.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c351525fdfc6ac0f11eda54f32961e6e2179b2d137e64154193b50a8a441c99d
MD5 d2102c4b4624409eddd073bb97d45dd4
BLAKE2b-256 847058f55152e46ca55cfa2932cdff28f8d99df3deda391c067d419287c2d9b0

See more details on using hashes here.

File details

Details for the file pyscf_ac0-0.1.0-cp312-cp312-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for pyscf_ac0-0.1.0-cp312-cp312-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 3d7d876528d0c776e1aa5be9565ba3050e40c7f9fc1acec0ed3e3813e90add91
MD5 47d32fb10894529c3fadf092dd64bd80
BLAKE2b-256 ad82964ca7bf895286bc5ee7e64be54458c7ba589b324113df6c7dbbcb459913

See more details on using hashes here.

File details

Details for the file pyscf_ac0-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyscf_ac0-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e9ac85963343404b50cef4a45a86f73329d7bfb8815fa34d53fea44a841c1f6
MD5 c5d4c4cd324506dee679568331f943df
BLAKE2b-256 6a18c0c6ce703ca6ce4d999f6cc4d17a9f3025b705525d120af2a85494ec8089

See more details on using hashes here.

File details

Details for the file pyscf_ac0-0.1.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pyscf_ac0-0.1.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 32609bb819f9dbe4d774e73ccae63b58f60b0db02df69268a6c9cf23e8ecda04
MD5 d522cf9374514477006c2d29b2918c93
BLAKE2b-256 d5d375f36fe0b5c9bc022fb377fd6a4772410be3bc4be3db261cbacaf237bb42

See more details on using hashes here.

File details

Details for the file pyscf_ac0-0.1.0-cp311-cp311-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for pyscf_ac0-0.1.0-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 7f2c578a5e3bd6ab0752d3c0e41a9bfe2ff372e3481fe689a218c2dda23036a2
MD5 e388dbed0b7de3aefe00043bbe463ca8
BLAKE2b-256 16cb0f28bcb251421c5153e0125f72d821f68f90ba09b02060914347c27dd335

See more details on using hashes here.

File details

Details for the file pyscf_ac0-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyscf_ac0-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8dd46db6cbbec1e76f39c20c9cd0de08ca849c2a800c9a39de33caa565076f84
MD5 98aac8f8063f7a1e6aa104358bbf0620
BLAKE2b-256 ae0e71ff9987094963c66e1e8be0c5b36bee82d68389b82fbc89b651d6507fd5

See more details on using hashes here.

File details

Details for the file pyscf_ac0-0.1.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pyscf_ac0-0.1.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 95abb4da4968d9df2ad4a740adace8ec032262b9eba877d7e0e71d02a138f8a7
MD5 2747b1ad933de0b897d3a3d25c60eded
BLAKE2b-256 0b32bfd00c4f459cae30dce12cf37c47d1e6a66f38ea0b3d4e8af90ad435b93a

See more details on using hashes here.

File details

Details for the file pyscf_ac0-0.1.0-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for pyscf_ac0-0.1.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 db9675de6bc5890e951f98c33a630fd8b29d4f1f7eb118aaaa1db7ee74f8f4a1
MD5 bfa09f46fa744688e5f4e074491c07dd
BLAKE2b-256 9aab68a11a4b5278f8d537f73d5f17a5696ebd97ed12e03dd0a2dd72c7ca1d12

See more details on using hashes here.

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