Single photon measurements: from spin-orbit lattices to ultrafast pulses