  We develop the particle-in-cell (PIC) code KLAPS to include the photon
generation via the Compton scattering and electron-positron creation via the
Breit-Wheeler process due to quantum electrodynamics (QED) effects. We compare
two sets of existing formulas for the photon generation and different Monte
Carlo algorithms. Then we benchmark the PIC simulation results.
