The "inner products" you see in Eq.(2) are just a common symbolic notation (employing the Dirac bra-ket notation) for the position eigenfunctions in the momentum representation. The notation for such functions is just a consequence of applying the rules for manipulating the expressions written using Dirac notation to the improper (that is non-normalizable) state vectors - if the state vector of the system is written as ##|\Psi \rangle##, then the associated wave function ##\Psi(x)## in the position representation (here ##x## is the position) is written as ##\langle x|\Psi \rangle## and the wave function ##\Psi(p)## in the momentum representation (here ##p## is the momentum) is likewise written as ##\langle p|\Psi \rangle##. Now, if ##|\Psi \rangle \equiv |x \rangle## happens to be the position eigenstate, the associated wave function in the momentum representation is therefore written as ##\langle p|x \rangle##. But this is just a notation and in the case of improper state vectors such as ##|x \rangle## or ##|p \rangle## it shouldn't be treated
literally as the inner product ##\langle \psi|\varphi \rangle## on the Hilbert space.
With this in mind, you can use the properties of Fourier transforms to show that, in the one-dimensional case,
$$
\langle p|x\rangle = \frac{1}{\sqrt{2\pi}} e^{-\frac{i}{\hbar}px}
$$
which corresponds to the "normalization" condition ##\langle x|x' \rangle = \delta(x-x')## involving Dirac's delta function. Choosing a different "normalization" for the ##|x \rangle## state vectors will give you a different coefficient in front of the exponential function above, rather than ##1/\sqrt{2\pi}##. So at least the exponential factors that you see in Eq.(2) are explained by what I've written above. If these "slits" that the paper is talking about are chosen to lie on the ##x##-axis and the distance between them is ##d##, then choosing the origin of the ##x##-axis in the middle between the slits gives you their positions: ##+d/2## and ##-d/2##. Putting these two positions into the exponential expression that I've written above gives you at least the same exponential factors as in Eq.(2) in the paper.
Now, the preexponential factors ##f(p)## in Eq.(2) I do not know nothing about. I also don't understand what is meant in the paper when they say that ##|1 \rangle## and ##|2 \rangle## are "the paths through slit 1 and the path through slit 2, respectively". I briefly skimmed through the paper and something feels "off" about it to me. The "slits" that the paper is analyzing in the context of the "double-slit experiment", the distance between them, the screen behind them, etc., are fictitious concepts introduced by analogy with the real experimental setup considered in the paper - which is the setup for the interferometry of the laser light. This inovlves polarizers, beam splitters, etc., so the setup involves materials which interact with the electromagnetic field of the laser according to their atomic structure. Also, correct me if I'm wrong but as far as I know the only meaningful Lorentz-invariant way to assign polarization to single photons is by means of their helicity (projection of the photon's spin on the direction of its momentum), that is they can either be left- or right-circular polarized. Then the vertical and horizontal polarizations, which are considered in the paper, can be realized as the effective mixture of right- and left-handed helicities of photons in a coherent state. So it seems that not only there are no "slits" here, there are also no single "photons" passing through them?
Anyway, the "double-slit experiment" (in the context of quantum physics) is a
thought experiment which is an idealization of the real experiments done by Davisson and Germer in the 1920's on the diffraction of individual electrons on a crystal (here is their paper: Davisson, C., Germer, L.H. The Scattering of Electrons by a Single Crystal of Nickel. Nature 119, 558–560 (1927).
https://doi.org/10.1038/119558a0 ; it can be found for free on wikipedia also). This short paper was very important for the development of quantum mechanics and is largely responsible for the usual presentation of the quantum "double-slit experiment" in introductory or pop-sci physics materials.
