Single Photon THz Timer