SHAARP: An Open-Source Package for Analytical and Numerical Modeling of Optical Second Harmonic Generation in Anisotropic Crystals

Rui Zu, Bo Wang, Jingyang He, Jian-Jun Wang, Lincoln Weber +2 more
8/8/2022
physics.opticscond-mat.mtrl-sci

Official code: Rui-Zu/SHAARP (26 stars, GPL-3.0, last commit 2025-06-16).

Abstract

Optical second harmonic generation is a second-order nonlinear process that combines two photons of a given frequency into a third photon at twice the frequency. Due to the symmetry constraints, it is widely used as a sensitive probe to detect broken inversion symmetry and local polar order.

Show full abstract

Analytical modeling of the electric-dipole SHG response is essential to extract fundamental properties of materials from experiments. However, complexity builds up dramatically in the analytical model when the probed crystal is of a low bulk crystal symmetry, with a low-symmetry surface orientation, exhibits absorption and dispersion, and consists of multiple interfaces. As a result, there is a largely uneven landscape in the literature on the SHG modeling of new materials, involving numerous approximations and a wide range of (in)accuracies, leading to a rather scattered dataset of reported SHG nonlinear susceptibility. Towards streamlining the reliability and accuracy of this process, we have developed an open-source package called the Second Harmonic Analysis of Anisotropic Rotational Polarimetry (SHAARP) which derives analytical solutions and performs numerical simulations of reflection SHG from a single interface for homogeneous crystals. Five key generalizations in SHG modeling are implemented, including all crystal symmetries down to triclinic, any crystal orientation, complex dielectric tensor (refractive indices) with frequency dispersion, and general polarization states of the light. SHAARP enables accurate anisotropic modeling of SHG response for a broad range of materials systems. The method is extendible to multiple interfaces. The code is free to download from https://github.com/Rui-Zu/SHAARP

View on arXivView PDF

Code Implementations(1)

Rui-Zu/SHAARPOfficial100%
GPL-3.0

♯SHAARP is an open-source package for deriving and simulating optical second harmonic generation (SHG) from a single interface (si). This package builds in the most general approach to both analytically and numerically solving the surface SHG response of a single crystal surface with any symmetry, orientation and complex refractive indices.

267Oct 22, 20211 years agoGPL-3.0

Similar Papers

Cite this paper

@article{zu2022shaarp,
  title  = {SHAARP: An Open-Source Package for Analytical and Numerical Modeling of Optical Second Harmonic Generation in Anisotropic Crystals},
  author = {Rui Zu and Bo Wang and Jingyang He and Jian-Jun Wang and Lincoln Weber and Long-Qing Chen and Venkatraman Gopalan},
  year   = {2022},
  eprint = {2208.03872},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.03872}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.03872.svg)](https://codeofpaper.com/paper/2208.03872)

Discussion