Automatic MR based on PySCF
Project description
pyAutoMR
The method used by this program is quite similar to MOKIT. However, we try to do everything with PySCF and without Gaussian.
This program aims to do:
- HF guess strategy
- automatic guess for CASSCF/GVB/SUHF
- interface for post-MR
Installation
Pre-requisites
- tomli
- PySCF
- MOKIT (optional, no need to fully compile, only
autopairis needed) - ExSCF (optional, for SUHF)
- pyNOF (optional, for GVB)
Install
pip install pyAutoMR- Or, git clone and add
/path/to/pyAutoMRto yourPYTHONPATH
Features
- UHF -> UNO (-> PM LMO -> assoc rot) (-> GVB) -> CASSCF
- UHF -> SUHF -> CASSCF
- RHF (-> vir MO projection -> PM LMO -> pairing) (-> GVB ) -> CASSCF
- CASSCF -> MC-PDFT
- CASSCF(dry run) -> SA-CASSCF
UHF, RHF can be auto-detected.
Utilities
- guess for UHF/UKS
- mix
- fragment
- from_fch
- flipspin (by lmo or by site)
- internal stability for RHF/RKS, UHF/UKS, ROHF/ROKS
- optimize wavefunction until stable
- dump CASCI coefficients
- dump (active) orbital compositions
Quick Start
from automr import guess, autocas
xyz = 'N 0.0 0.0 0.0; N 0.0 0.0 1.9'
bas = 'cc-pvdz'
mf = guess.from_frag(xyz, bas, [[0],[1]], [0,0], [3,-3], cycle=50)
mf = guess.check_stab(mf)
mf2 = autocas.cas(mf)
Citation
Please cite pyAutoMR as
Shirong Wang, pyAutoMR, https://github.com/jeanwsr/pyAutoMR (accessed month day, year)
and cite every program called by pyAutoMR, such as PySCF, MOKIT, mrh, etc.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyautomr-0.3.1.tar.gz.
File metadata
- Download URL: pyautomr-0.3.1.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fef91a40cf76dec8dfde8249c35a8543cc3a0a2a7077c31b00905a10e316dcd
|
|
| MD5 |
a7dea4c632166cf27a8896d34067d2e4
|
|
| BLAKE2b-256 |
2fc225a0463966000f7ac0f19dcb5220052a9d2b9fbcd6048cd8bafb0b74e23b
|
File details
Details for the file pyautomr-0.3.1-py3-none-any.whl.
File metadata
- Download URL: pyautomr-0.3.1-py3-none-any.whl
- Upload date:
- Size: 33.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
302ce6cf92703846701acef8c64e6b97a09159a55c5f2397b7a5c4c50358fc1d
|
|
| MD5 |
c5f35ad9efd33191c50c026f86cc84d2
|
|
| BLAKE2b-256 |
2f6c49648ff973851fcd0cd28648091a4bd9d7de92904d36b900de45ad4bb729
|