MaxwellBloch is a Python package for solving the coupled Maxwell-Bloch equations describing the nonlinear propagation of near-resonant light through thermal quantised systems such as atomic vapours.
Above is an example solution for the propagation of a 4π pulse through a dense atomic vapour. The pulse immediately breaks up on entering the medium and the resultant pulses form two optical solitons each with a pulse area of 2π.
Docs for the project are at maxwellbloch.readthedocs.io.
The recommended way to install is via uv:
uv pip install maxwellblochOr using pip:
pip install maxwellblochIf you prefer Conda, you can create and activate an environment with the required dependencies with
conda create --name mb -c conda-forge python=3.11 qutip
conda activate mb
pip install maxwellblochMore detailed installation instructions can be found in the docs along with many example problems.
If you use MaxwellBloch for research, please use the following citation:
@misc{ogden2020maxwellbloch,
author = {Ogden, Thomas P.},
title = {{MaxwellBloch}: a Python package for solving the coupled
Maxwell-Bloch equations describing the nonlinear propagation of
near-resonant light through thermal quantised systems such as atomic
vapors.},
year = {2020},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/tpogden/maxwellbloch}}
}
See CHANGELOG.md.
MIT License. See LICENSE.txt.
