Possibility of producing the one-photon state in a kicked cavity with a nonlinear Kerr medium | Synapse