Folder Simulation/ saves code and raw data for the publication: Li, T. E., Chen, H.-T., Nitzan, A., & Subotnik, J. E. (2020). Quasiclassical modeling of cavity quantum electrodynamics. Physical Review A, 101(3), 033831. https://doi.org/10.1103/PhysRevA.101.033831 (unpaid arXiv version: https://arxiv.org/abs/1910.02299).
-
mmst_solver.cpp: MMST dynamics for N two-level systems (TLSs) interacting with a multimode cavity.
-
qed_solver.cpp: Quantum dynamics for N TLSs interacting with a multimode cavity within the singly excited manifold (i.e., configurational interaction singles).
-
parameters.hpp: usr defined parameters for the above two methods.
-
compiler.sh: shell script for compiling the C++ codes
-
perform_nersc.sh: shell script for submitting the MMST job to NERSC.
In order to run the above C++ code, please use linux and install g++7, mpic++, and the armadillo library (http://arma.sourceforge.net/download.html).
All these shell scripts can be directly submitted as jobs on NERSC.
Run "tar -I zstd -xvf data.tar.zst" to obtain the raw data generated by the run*.sh scripts.
Note that because data.tar.zst is very big (>1Gb), this file is saved via git-lsf (https://git-lfs.github.com/).
The raw data can also be downloaded through https://drive.google.com/file/d/1hQrE6pHkPaBIZFWU00Xziki_550Y-luU/view?usp=sharing
Run "python3 plot*.py" to directly plot the useful figures (in https://arxiv.org/abs/1910.02299) from raw data.