The Ideal Photon Detector