photon gate