README

What is this?

This is the numerical code for the paper Cavity superconductor polaritons

@article{PhysRevB.99.020504,
  title = {Cavity superconductor-polaritons},
  author = {Allocca, Andrew A. and Raines, Zachary M. and Curtis, Jonathan B. and Galitski, Victor M.},
  journal = {Phys. Rev. B},
  volume = {99},
  issue = {2},
  pages = {020504},
  numpages = {5},
  year = {2019},
  month = {Jan},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevB.99.020504},
  url = {https://link.aps.org/doi/10.1103/PhysRevB.99.020504}
}

Build

Before building make sure that the pybind11 submodule has been pulled

git submodule init
git submodule update

To build the debug code, create an out of source cmake build with

cmake -S . -B _build_debug -G Ninja -DCMAKE_BUILD_TYPE=Debug
cd _build_debug
ninja

To compile the pybind11 module and install into the python project

cmake -S . -B _build -G Ninja -DCMAKE_BUILD_TYPE=Release
cd _build
ninja install