Second Harmonic Generation in h-BN and MoS
2 monolayers: the role of electron-hole interaction
First-principles simulations show that electron-hole interaction doubles the second-harmonic generation (SHG) signal intensity at excitonic resonances in h-BN and MoS$_2$ monolayers, relative to independent electronic transitions. This result implies that the SHG intensity can be tuned via the dielectric screening, which controls the strength of electron-hole interaction.