“…Hence, it is vital to design highly selective, sensitive, and simple sensors that can recognize Mg 2+ without the interference of Ca 2+ . 43,44 Among the reported uorescence sensors, [45][46][47][48][49][50][51][52][53][54] diarylethene derivatives are the most promising candidates owing to their excellent thermal stability, remarkable fatigue resistance, and rapid response time. [55][56][57] Furthermore, the recognized ions could induce a stable transformation between diarylethene molecule and complex, and these properties make it possible for the application in logic gates.…”