MaxwellLink: A unified framework for self-consistent light-matter simulations
Project description
MaxwellLink is a free and open-source framework for self-consistent light–matter simulations. It bridges electromagnetic solvers, such as Meep or the built-in single-mode cavity, with heterogeneous molecular drivers spanning QuTiP, Psi4, ASE, and LAMMPS. This code can be used for both demonstration and production calculation purposes. Particularly, with a socket-based architecture, large-scale self-consistent light-matter simulations can be performed efficiently accross multiple HPC nodes.
Key Features
- Embracing state-of-the-art ecosystems in both computational electrodynamics and quantum chemistry, extending the boundary of light-matter simulations.
- Unified Python interfaces for socket-connected and embedded molecular drivers in light-matter simulations.
- Heterogeneous molecular theories including TLS, QuTiP model Hamiltonians, Psi4 RT-TDDFT/Ehrenfest, ASE classical dynamics, and LAMMPS via
fix mxl, all in one EM simulation. - Extensible code structure to add custom EM solvers or molecular drivers with minimal efforts.
Quick Start
Create a fresh conda environment and install from source:
CONDA_ENV="mxl"
conda create -n "$CONDA_ENV" python=3.13
conda activate "$CONDA_ENV"
git clone https://github.com/TaoELi/MaxwellLink.git
cd MaxwellLink
pip install .
Optional drivers (Meep, QuTiP, Psi4, ASE, LAMMPS) can be added by following the instructions in the documentation.
Documentation
Visit the documentation for installation details, tutorials, API reference, and guidelines on extending MaxwellLink.
Citation
If MaxwellLink helps your research, please cite this project together with the coupled solvers you employ (e.g., Meep, Psi4, QuTiP, ASE, LAMMPS).
- X Ji †, AF Bocanegra Vargas †, G Meng, and TE Li. MaxwellLink: A Unified Framework for Self-Consistent Light-Matter Simulations. arXiv:2512.06173 (2025). [data]
Project details
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 maxwelllink-0.2.0.tar.gz.
File metadata
- Download URL: maxwelllink-0.2.0.tar.gz
- Upload date:
- Size: 126.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
587e745241b29ffdea462a3952ab5a6c664098cdb5a552e1f36b2fb587915662
|
|
| MD5 |
bc87467ad126025237d18addc2055e1e
|
|
| BLAKE2b-256 |
d4d635a7617026b458396aaf9993a921cc16d6f618e3b923b6bdf92e924f4bc1
|
File details
Details for the file maxwelllink-0.2.0-py3-none-any.whl.
File metadata
- Download URL: maxwelllink-0.2.0-py3-none-any.whl
- Upload date:
- Size: 138.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c38469d9dea3673f7173afb38d0c739896b6a2d2fa24ed5c2f78d5c571861ea
|
|
| MD5 |
b2dc4b2b13c188817eecfadec0fd2178
|
|
| BLAKE2b-256 |
cfda7b7253e7b9be567051c0f0195089af7a9773af57d04c62fba89c0ea3da04
|