Interactive Quantum Chemistry
git clone [email protected]:Autonomous-Scientific-Agents/IQC.git
cd IQC-
First, install a package manager (Conda, Miniconda, Mamba, or MicroMamba)
- Download Miniconda from the official page
- Follow the installation instructions for your operating system
-
Create and activate the environment:
conda env create -f env.yml conda activate iqc-env
-
Install IQC:
pip install .
-
Build the Docker image:
docker build -t iqc . -
Run the container with Jupyter Lab:
docker run -p 8888:8888 -it iqc
-
Access Jupyter Lab by opening
http://localhost:8888in your web browser
To persist your notebooks, you can mount a local directory:
docker run -p 8888:8888 -v $(pwd)/notebooks:/app/notebooks -it iqcIf you see (a possible OpenMPI error):
shmem: mmap: an error occurred while determining whether or not /tmp/ompi.yv.1001/jf.0/3074883584/sm_segment.yv.1001.b7470000.0 could be createdTry: export OMPI_MCA_btl_sm_backing_directory=/tmp
IQC provides several computational tasks that can be performed on molecular systems:
single: Single-point energy and force calculationvib: Vibrational frequency calculationopt: Geometry optimizationthermo: Thermochemical analysis
These tasks can be specified when running calculations. For example:
from iqc.asetools import run_single_point, run_vibrations, run_optimization, run_thermo
# Single-point calculation
results = run_single_point(atoms)
# Vibrational frequency calculation
results = run_vibrations(atoms)
# Geometry optimization
results = run_optimization(atoms)
# Thermochemical analysis
results = run_thermo(atoms)Each task returns a dictionary containing the results and timing information in milliseconds.