This project realizes orbital optimization using quantum information tools. It encompasses a specific scheme designed for active space optimization (QICAS) and general quantum information-assisted orbital optimization.
First clone or download it. Then use
pip install .
to install.
Python version 3.11 will break some code in dmrgscf and pyscf, so suggested versions to use are Python3.8, Python3.9, Python3.10.
numpy
scipy
pyscf
block2
dmrgscf
To use the dmrg solver provided by block2, one needs to install dmrgscf manually. See the documentation of block2 on how to install it.
Import qio as a module to use all its functions and classes
import qio
- For active space orbital optimization, see c2_dmrg_qicas.py under the example directory.
- For general orbital optimization, see other examples.
Solvers other than the provided DMRG or TCCSD can be used, as long as you design a wrapper sticking to the standard as in these two, i.e. it should include the following member functions
class Your_Solver:
def kernel(mo_coeff):
pass
def make_rdm1():
pass
def make_rdm2():
pass
When using this package for your work, please cite the following two primary references:
Active space orbital optimization:
Orbital optimization for treating both dynamic and static correlation:
Optional further references, introducing and explaining quantum information concepts and tools for quantum chemistry:
- Lexin Ding, Christian Schilling. Correlation Paradox of the Dissociation Limit: A Quantum Information Perspective. J. Chem. Theory Comput. 16, 7, 4159–4175 (2020)
- Lexin Ding, Sam Mardazad, Sreetama Das, Zoltán Zimborás, Szilard Szálay, Ulrich Schollwöck, Christian Schilling. Concept of orbital entanglement and correlation in quantum chemistry. J. Chem. Theory Comput. 2021, 17, 1, 79–95 (2020)
- Lexin Ding, Stefan Knecht, Zoltán Zimborás, Christian Schilling. Quantum correlations in molecules: from quantum resourcing to chemical bonding. Quantum Sci. Technol. 8 015015 (2022)