{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/qr-2-code-an-open-source-program-for-double","title":"QR$^2$-code: An open-source program for double resonance Raman spectra","arxiv_id":"2505.10041","date":"2025-05-15","proceeding":null,"authors":["Jianqi Huang","Renhui Liu","Ye Zhang","Nguyen Tuan Hung","Huaihong Guo","Riichiro Saito","Teng Yang"],"abstract":"We present an open-source program, QR$^2$-code, that computes double-resonance Raman (DRR) spectra using first-principles calculations. QR$^2$-code can calculate not only two-phonon DRR spectra but also single-resonance Raman spectra and defect-induced DRR spectra. For defect-induced DDR spectra, we simply assume that the electron-defect matrix element of elastic scattering is a constant. Hands-on tutorials for graphene are given to show how to run QR$^2$-code for single-resonance, double-resonance, and defect-induced Raman spectra. We also compare the single-resonance Raman spectra by QR$^2$-code with that by QERaman code. In QR$^2$-code, the energy dispersions of electron and phonon are taken from Quantum ESPRESSO (QE) code, and the electron-phonon matrix element is obtained from the electron-phonon Wannier (EPW) code. All codes, examples, and scripts are available on the GitHub repository.","url_abs":"https://arxiv.org/abs/2505.10041v1","url_pdf":"https://arxiv.org/pdf/2505.10041v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"qr-2-code-an-open-source-program-for-double","repo_url":"https://github.com/joeyyhuang/qr2-code","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}