The detection of nerve agent simulants is achieved by the photoinduced electron transfer (PET) mechanism.