{'fraction_non_alphanumeric': 0.02338709677419355, 'fraction_numerical': 0.004032258064516129, 'mean_word_length': 5.894444444444445, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Analysis of nonlinear optical properties in donor-acceptor materials.

Time-dependent density functional theory has been used to calculate nonlinear optical (NLO) properties, including the first and second hyperpolarizabilities as well as the two-photon absorption cross-section, for the donor-acceptor molecules p-nitroaniline and dimethylamino nitrostilbene, and for respective materials attached to a gold dimer. The CAMB3LYP, B3LYP, PBE0, and PBE exchange-correlation functionals all had fair but variable performance when compared to higher-level theory and to experiment. The CAMB3LYP functional had the best performance on these compounds of the functionals tested. However, our comprehensive analysis has shown that quantitative prediction of hyperpolarizabilities is still a challenge, hampered by inadequate functionals, basis sets, and solvation models, requiring further experimental characterization. Attachment of the Au2S group to molecules already known for their relatively large NLO properties was found to further enhance the response. While our calculations show a modest enhancement for the first hyperpolarizability, the enhancement of the second hyperpolarizability is predicted to be more than an order of magnitude.