Skip to main content

Python bindings for MSH-QC quantum mechanics library

Project description

MSHQC - Modern Quantum Chemistry Library

License: MIT C++17 Python 3.8+

A high-performance quantum chemistry library implementing modern electronic structure methods with Python bindings.

🌟 Features

Electronic Structure Methods

  • Self-Consistent Field (SCF)

    • Restricted Hartree-Fock (RHF)
    • Unrestricted Hartree-Fock (UHF)
    • Restricted Open-shell Hartree-Fock (ROHF)
    • DIIS convergence acceleration
    • Cholesky Unrestricted Hartree-Fock (CD-UHF)
    • Cholesky Restricted Open-shell Hartree-Fock (CD-ROHF)
    • Cholesky Restricted Hartree-Fock (CD-RHF)
  • Møller-Plesset Perturbation Theory

    • MP2, MP3 (Restricted and Unrestricted)
    • Orbital-Optimized MP2/MP3 (OMP2/OMP3)
    • Cholesky Unrestricted MP2/MP3 (CD-UMP2/CD-UMP3)
    • Cholesky Orbital-Optimized MP2/MP3 (CD-OMP2/CD-OMP3)
    • Cholesky Restricted MP2/MP3 (CD-RMP2/CD-CD-RMP3)
  • Multi-Configurational Self-Consistent Field (MCSCF)

    • Complete Active Space SCF (CASSCF)
    • State-Averaged CASSCF (SA-CASSCF)
    • Complete Active Space Perturbation Theory 2nd order (CASPT2)
    • Cholesky Decomposition Complete Active Space SCF (CD-CASSCF)
    • Cholesky Decomposition Complete Active Space Perturbation Theory 2nd order (CD-CASPT2)
    • Cholesky Decomposition-State-Averaged-CASSCF (CD-SA-CASSCF)
    • Cholesky Decomposition-State Average-Complete Active Space Perturbation Theory 2nd order (CD-SA-CASPT2)
    • Cholesky Decomposition-State Average-Complete Active Space Perturbation Theory 3rd order (CD-SA-CASPT3)
  • Configuration Interaction (CI) (in progress)

    • Configuration Interaction Singles (CIS)
    • Configuration Interaction Singles and Doubles (CISD)
    • Configuration Interaction Singles, Doubles, and Triples (CISDT)
    • Full Configuration Interaction (FCI)
    • Multireference CI (MRCI)
    • CIPSI (Configuration Interaction by Perturbation with Selection Iteratively)

Advanced Features

  • Integral Transformations

    • Cholesky decomposition for electron repulsion integrals (ERI)
    • Electron Repulsion Integral Four-Index Transformation
  • Gradient and Optimization

    • Analytical gradients for SCF methods
    • Numerical gradients
    • Geometry optimization
  • Analysis Tools

    • Natural orbitals
    • Transition density matrices
    • Wavefunction analysis
    • One-particle density matrices (OPDM)

📋 Prerequisites

Required Dependencies

  • C++ Compiler: GCC 7+ or Clang 5+ (C++17 support)
  • CMake: 3.15 or higher
  • Python: 3.8 or higher
  • Libint2: For integral evaluation
  • Eigen3: For linear algebra operations
  • pybind11: For Python bindings
  • NumPy: For Python interface

Optional Dependencies

  • OpenMP: For parallel computation
  • MKL/OpenBLAS: For optimized linear algebra

Installation Binding Python

Using Conda (Cross-Platform)

# Create conda environment
conda create -n mshqc python=3.11
conda activate mshqc

# Install dependencies via conda-forge
conda install -c conda-forge \
    cmake \
    eigen \
    libint \
    numpy \
    pybind11

# Clone and install
git clone https://github.com/syahrulhidayat/mshqc.git
cd mshqc
pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

mshqc-1.0.0.dev104-cp313-cp313-manylinux_2_39_x86_64.whl (72.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

mshqc-1.0.0.dev104-cp312-cp312-manylinux_2_39_x86_64.whl (72.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

mshqc-1.0.0.dev104-cp311-cp311-manylinux_2_39_x86_64.whl (72.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ x86-64

mshqc-1.0.0.dev104-cp310-cp310-manylinux_2_39_x86_64.whl (72.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.39+ x86-64

File details

Details for the file mshqc-1.0.0.dev104-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for mshqc-1.0.0.dev104-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 75849b09b47647295eeaa5d542259b9715bdbc332e67708f2f2ae488625288aa
MD5 46ac2224f27b6bc86b1cb1f50183e5e4
BLAKE2b-256 a7804bd6f5d50e3dd9127fa85294fc698a063f56fab562819fe7aaf05237bfde

See more details on using hashes here.

File details

Details for the file mshqc-1.0.0.dev104-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for mshqc-1.0.0.dev104-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 32658bac5fd8c7ed795aa7d805d7e90ab42d3f42f99f07115a3ab443fa5bdbf9
MD5 37bf0cf279449a10a6ec2950fedf79e8
BLAKE2b-256 27aeaa9255f919bc4b99220486020f2dc6562584b0542bfc178d0b7eb25469b0

See more details on using hashes here.

File details

Details for the file mshqc-1.0.0.dev104-cp311-cp311-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for mshqc-1.0.0.dev104-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 3f65a76d1a09d863d7150d16feef5cd32652dee61995d14ec713f066a27fd7e0
MD5 503c4863e0970eb6514de2a294060f3d
BLAKE2b-256 62990ee646187dae14e168d62e978c3bf1c90b548df931632104eede081cb916

See more details on using hashes here.

File details

Details for the file mshqc-1.0.0.dev104-cp310-cp310-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for mshqc-1.0.0.dev104-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 031c404e19f7e05a8a57a5d8930e5e36d154483d4f374999534d8f3e605c5ca9
MD5 d5bead06222842f27728c28d88b64a1b
BLAKE2b-256 4575d727ce0e3a74ab4e1732aa0dbbf64f1d10ef79e9c808e42bc95b46e3067f

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