{'fraction_non_alphanumeric': 0.027506654835847383, 'fraction_numerical': 0.0, 'mean_word_length': 6.09433962264151, '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}}
A Single‐Molecule and Logic Gate via Optical and Acid–Base Control

Single‐molecule electronics is a promising solution for electronic device miniaturization. While controllable molecular logic gates are particularly attractive because they are the primary element and can accomplish logical operation reliable and repeatedly for practical application. Here, a brand‐new molecule, which is constructed from a light‐switchable azobenzene unit and proton‐switchable pyrimidine unit, is reported. The electronic transport properties of the molecule are theoretically investigated by density functional theory (DFT) combined with non‐equilibrium Green's function method (NEGF). The calculated current–voltage curves show that the molecule system produces a low resistance only when the ultraviolet (UV) light and acid solution are applied, otherwise, a high resistance will be obtained. Therefore, the molecule system can behave as a single‐molecule AND logic gate which can be controlled by two orthogonal inputs: protonation and light. This work demonstrates a feasible perspective for creating single‐molecule logic gate device.