AiiDA plugin for Scine AutoCAS.
The plugin can be installed using pip assuming AiiDA has already been installed.
git clone https://github.com/microsoft/aiida-autocas.git
cd aiida-autocas
pip install -e .
First, create an AiiDA Code autocas@local
pointing to the scine_autocas/__main__.py
script (see aiida-core docs).
Load this code in the example script examples/n2.py
and run it via ./n2.py
.
The AutoCAS CalcJob takes a structure input, which provides the molecular geometry. Further parameters allow users to modify the settings, but all of these input variables have default values and are thus optional.
Variable | Type | Default | Description |
---|---|---|---|
structure | Structure Data | None | Molecular geometry of the system |
basis_set | String | def2-svpd | The basis set to use for the quantum chemistry calculations |
charge | Int | 0 | Charge of the system |
multiplicity | Int | 1 | Spin multiplicity of the system |
double_d_shell | Bool | True | Whether to include the d shell for 3d transition metals |
interface | String | chronusq | Which interface to quantum chemistry software should be used |
method | String | dmrg_ci | Which active space method to use for the final energy (e.g. dmrg_ci, casscf, casci) |
dmrg_bond_dimension | Int | 1000 | The bond dimension to use for the final DMRG calculation when using method=dmrg_ci |
dmrg_sweeps | Int | 10 | The number of DMRG sweeps to perform for the final DMRG calculation when using method=dmrg_ci |
large_cas_protocol | Bool | False | Whether to use the Large CAS protocol |
Upon completion of the CalcJob, the following results (using AiiDA data types) are returned.
Variable | Type | Description |
---|---|---|
n_active_electrons | Int | Number of electrons in determined active space |
n_active_orbitals | Int | Number of orbitals in the choosen active space |
active_orbitals | ArrayData | One dimensional array containing the orbital indices of the choosen active space |
energy | Float | Energy of the system using the method choosen in the input (e.g. DRMG, CASCI, CASSCF) |
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.