June 23, 2026
The potential to precisely control both the linear and nonlinear index of refraction through optical manipulation of the atomic states has recently pushed warm alkali vapors to the forefront of research in the field of quantum sensors, quantum memories, and quantum fluids of light. Rubidium (Rb) vapor in centimeter-scale glass cells or millimeter-scale MEMS cells has proven to be a very promising platform for these applications, yet only a handful of research works have been dedicated to the investigation of the (non)linear refractive index of Rb vapor. We present results of theoretical calculations of the (non)linear refractive index of warm Rb vapor, based on the optical Bloch equations for 6-level Rb atoms interacting with a probe laser. They are compared to the experimental results obtained using an interferometric technique, showing excellent quantitative agreement. A Kerr nonlinear refractive index \(n_2\) of up to \(10^{-4}\) cm\(^2\)/W is obtained. Python scripts for all theoretical calculations presented in this work are provided, including the refractive index calculation, that can readily be used in practical implementations for simulating the (non)linear refractive index of Rb vapor including the effects of Doppler broadening, transit time broadening, pressure broadening, saturation, optical pumping, and spin-exchange collisions.
Warm atomic vapors have recently seen a striking revival triggered by their application in chip-scale atomic devices such as atomic clocks and magnetometers [1], and in the research of squeezed light generation [2], quantum memories [3], and quantum fluids of light [4]. In all these applications warm atomic vapors are a medium of choice since they allow for precise control of the linear and nonlinear index of refraction through optical manipulation of the atomic states [5]. Nonlinear effects in atomic vapors emerge at very low powers, already on the milliwatt power scale (see e.g. [6]). This enables the observation of nonlinear optical phenomena using low-intensity continuous wave lasers (of the order of milliwatts per square centimeter), but simultaneously means that saturation effects must routinely be considered unless very low laser intensities are used.
The simplest nonlinear process is the Kerr effect, whereby the index of refraction in a medium depends linearly on the intensity of the light passing through it. It is however relatively easy to saturate the Kerr effect in atomic vapors close to atomic resonances, which can not be described using lowest-order perturbation theory, so the saturated Kerr coefficient has been invoked [7]: \[n(I) = n_0 + \frac{n_2 I}{1+I/I_s}, \label{Eq:n2}\tag{1}\] where \(n_2\) is the nonlinear Kerr coefficient, and \(I_s\) is the saturation intensity.
Surprisingly, only a handful of experiments regarding the measurement of the nonlinear refractive index of rubidium vapor can be found in the literature. In their seminal works McCormick et. al. directly measured \(n_2\) in atomic rubidium vapor using the z-scan method and discussed saturation effects [7], [8]. Recently, nonlinear refractive index measurements of rubidium vapor have been extended to spatial mapping onto the light beam profile [9], and using the z-scan method with an optical frequency comb [10]. In the latter, a frequency comb of 0.1 nm spectral bandwidth was used resulting in the nonlinear response of the atomic medium that includes contributions of hundreds of comb modes, making the comparison to continuous wave measurements not straightforward. Finally, theoretical calculations of the nonlinear refractive index of rubidium vapor were recently presented based on analytical results for a two-level system [11], and numerical results including all magnetic sublevels in order to include the effects of incomplete optical pumping [12]. These theoretical works have managed to reproduce the measured values only semiquantitatively, and highlighted the need for more detailed theoretical modeling as well as the improved experimental data.
In this work we present results of a theoretical and experimental investigation of the nonlinear refractive index of warm rubidium (Rb) atomic vapor. We use the density matrix formalism and optical Bloch equations to calculate the optical response of multi-level Rb atoms (including hyperfine structure) to laser light. In addition, we provide Python scripts for all theoretical calculations presented in this work, including the refractive index calculation, that can readily be used in practical implementations for simulating the linear and nonlinear refractive index of Rb vapor including the effects of Doppler broadening, transit time broadening, pressure broadening, saturation, optical pumping, and spin-exchange collisions. In the experimental part, we employ an interferometric technique to measure the refractive index of \(^{87}\)Rb vapor as a function of frequency and laser power. Finally, we show excellent quantitative agreement of the theoretical model with experimental results.
The structure of the paper is as follows. First we introduce the theoretical model for calculating the refractive index of rubidium atomic vapor, based on the optical Bloch equations for 6-level Rb atoms. The calculated refractive index is then employed to simulate the propagation of a laser beam through the vapor using the paraxial nonlinear wave equation, and to calculate the spatially varying nonlinear phase accumulated by the laser beam after passing through the vapor. The phase calculated in this way is compared to the experimental results obtained by using an interferometric technique that measures the local phase difference between a reference laser beam and a beam that has interacted with the Rb vapor. Finally, we analyze the saturation of the nonlinear refractive index and provide numerical values for the nonlinear Kerr coefficient (\(n_2\)) and the saturation intensity (\(I_s\)) that are relevant for the D2 resonance line in warm \(^{87}\)Rb vapor.
In order to characterize the optical response of rubidium vapor under laser excitation, the atom–field interaction is treated within the density matrix formalism and described by the optical Bloch equations. This approach relates the microscopic atomic dynamics to the macroscopic susceptibility, providing a framework for calculating the complex refractive index of the vapor.
A six-level system of \(^{85}\)Rb and \(^{87}\)Rb atoms is considered, which includes two ground-state hyperfine levels (\(5S_{1/2}, F=2,3\) for \(^{85}\)Rb, and \(F=1,2\) for \(^{87}\)Rb) and four excited-state hyperfine levels (\(5P_{3/2}, F'=1,2,3,4\) for \(^{85}\)Rb, and \(F'=0,1,2,3\) for \(^{87}\)Rb). The optical Bloch equations of the system are given by: \[\begin{align} \frac{d\rho_{nm}}{dt} =&\; \frac{-i}{\hbar}\:[\widehat H,\widehat\rho\:]_{nm}-\gamma_{nm}\rho_{nm},\qquad n\neq m, \\ \frac{d\rho_{nn}}{dt} =&\; \frac{-i}{\hbar}\:[\widehat H,\widehat\rho\:]_{nn}+\sum\limits_{E_m>E_n}\Gamma_{nm}\rho_{mm}\\ &-\sum\limits_{E_m<E_n}\Gamma_{mn}\rho_{nn} - \Gamma_t\rho_{nn} + \Gamma_{nn} , \label{Eq:obe} \end{align}\tag{2}\] where \(\rho_{nn}\) are hyperfine level populations and \(\rho_{nm}=\rho_{mn}^*\) are coherences induced in the system. \(n=1,2,...,6\) and \(m=1,2,...,6\) denote hyperfine levels, where 1 marks the lowest energy level, and 6 marks the highest energy level. The Hamiltonian of the system is \(\widehat H=\widehat H_0+\widehat H_{int}\), where \(\widehat H_0\) is the Hamiltonian of the free atom, and \((\widehat H_{int})_{nm}=-\mu_{nm}E(t)\) represents the interaction of the atom with the laser electric field \(E(t)=E_0e^{i\omega t}\), with \(\mu_{nm}\) the transition dipole moment [13].
Coherence damping constants are given by: \[\gamma_{nm}=\frac{\Gamma_n+\Gamma_m}{2} + \Gamma_t + \gamma_{pb}, \label{Eq:gammanm}\tag{3}\] where \(\Gamma_n\) and \(\Gamma_m\) are relaxation rates of levels \(n\) and \(m\), respectively, whereas \(\Gamma_{nm}\) is population decay from level \(m\) to level \(n\) [13]. \(\Gamma_t\) accounts for the loss of atoms from the interaction zone with the laser beam due to their thermal motion in the vapor. This term includes the transit time broadening effects into the model, where the broadening rate \(\Gamma_t = 1/\tau_t\) is determined by the transit time \(\tau_t\) of atoms through the laser beam. In typical Rb vapor cells that are few centimeters long \(\tau_t=\bar{d}/\bar{v}\), where \(\bar{v}\) is the mean two-dimensional velocity of atoms in the vapor and the average distance \(\bar{d}\) is found by averaging all possible paths through a circle representing the laser beam cross section [14]. \(\bar{d}=\pi D/4\), where \(D\) is the laser beam FWHM. Once out of the interaction zone with the laser beam, the atoms quickly spontaneously decay into the ground state. Thus only the ground-state populations are replenished as a result of thermal motion of atoms in the vapor (\(\Gamma_{nn} = 0\) for the excited state), and the atoms entering the beam are in a statistical mixture of the two ground-state hyperfine levels, i.e. \(\Gamma_{11}=\Gamma_t \: g_1/(g_1+g_2)\) and \(\Gamma_{22}=\Gamma_t \: g_2/(g_1+g_2)\), where \(g=2F+1\) (see Supporting Information for a more detailed analysis of \(\Gamma_{nn}\), including the discussion on how spin-preserving experimental conditions, e.g. a paraffin coating of the vapor cell, can be included in the model).
The last term in the coherence damping constants in Eq. 3 , \(\gamma_{pb}\), accounts for the pressure broadening. It can originate from the presence of a buffer gas or from Rb-Rb self-broadening (self-broadening at vapor temperatures below 100 °C can usually be neglected) [15].
The spin-exchange inelastic collisions are included in the model through the \(\Gamma_{12}\) and \(\Gamma_{21}\) rates that describe the transfer of population between the ground hyperfine levels. They can usually be neglected for vapor temperatures below 100 °C, as the spin-exchange rate is about 2 kHz for the vapor temperature of 120 °C [16]. Population transfer between the excited hyperfine levels induced by spin-exchange inelastic collisions is neglected as it is typically about three orders of magnitude smaller than the spontaneous relaxation rates.
In order to account for longitudinal atomic motion in the Doppler-broadened Rb vapor, Eq. 2 is solved for discrete velocity groups and subsequently averaged over the complete longitudinal (one-dimensional) Maxwell–Boltzmann atomic velocity distribution.
Eq. 2 is solved using the rotating wave approximation, and represents a system of 36 coupled differential equations that define the time evolution of the density matrix elements that describe the atomic response of six-level Rb atoms to laser light. We use the steady state solution of Eq. 2 to calculate the refractive index. Of particular interest is the steady state solution for the \(\rho_{n1}=\sigma_{n1}e^{-i\omega t}\) coherence, where \(n=3,4,5\), i.e. the coherence induced by the laser field between the levels 5S\(_{1/2}, F=2\) and 5P\(_{3/2}, F'=1,2,3\) in \(^{85}\)Rb (5S\(_{1/2}, F=1\) and 5P\(_{3/2}, F'=0,1,2\) in \(^{87}\)Rb). \(\sigma_{n1}\) is the slowly varying envelope of the coherence and defines the system response to the laser light regarding transitions from the lower ground-state hyperfine level. Similarly, of interest is the steady state solution of Eq. 2 for the \(\rho_{m2}=\sigma_{m2}e^{-i\omega t}\) coherence, where \(m=4,5,6\), i.e. the coherence induced by the laser field between the levels 5S\(_{1/2}, F=3\) and 5P\(_{3/2}, F'=2,3,4\) in \(^{85}\)Rb (5S\(_{1/2}, F=2\) and 5P\(_{3/2}, F'=1,2,3\) in \(^{87}\)Rb), and \(\sigma_{m2}\) defines the system response to the laser light regarding transitions from the upper ground-state hyperfine level.
The polarization of the medium induced by the probe laser is \[P=N\sum\limits_{n}\mu_{1n}\rho_{n1} + N\sum\limits_{m}\mu_{2m}\rho_{m2}, \label{Eq:polarisation}\tag{4}\] where \(N\) is the concentration of atoms, \(n=3,4,5\), and \(m=4,5,6\). The susceptibility of atoms to the probe laser electric field is then given by: \[\chi=\frac{N}{\epsilon_0 E_0}\left( \sum\limits_{n}\mu_{1n}\sigma_{n1} + \sum\limits_{m}\mu_{2m}\sigma_{m2} \right). \label{Eq:chi}\tag{5}\] Using \(n=\sqrt{1+\chi}\approx 1+\chi/2\), the refractive index can be written as \[n=1+n_{Re}+in_{Im}, \label{Eq:n}\tag{6}\] where the real and imaginary parts of the refractive index are given by \[n_{Re}=\frac{N}{2\epsilon_0 E_0} \left[ \sum\limits_{n}\mu_{1n} \operatorname{Re}(\sigma_{n1}) + \sum\limits_{m}\mu_{2m} \operatorname{Re}(\sigma_{m2}) \right], \label{Eq:Ren}\tag{7}\] \[n_{Im}=\frac{N}{2\epsilon_0 E_0} \left[ \sum\limits_{n}\mu_{1n} \operatorname{Im}(\sigma_{n1}) + \sum\limits_{m}\mu_{2m} \operatorname{Im}(\sigma_{m2}) \right]. \label{Eq:Imn}\tag{8}\] Eqs. 7 and 8 define the real and imaginary part of the complex refractive index of rubidium vapor based on the steady state solution of Eq. 2 .
In order to theoretically model the effects related to the propagation of laser light through the rubidium vapor, we solve the nonlinear paraxial wave equation: \[\frac{\partial E_0}{\partial z} = \frac{i}{2k}\left( \frac{\partial^2}{\partial x^2} + \frac{\partial^2}{\partial y^2} \right)E_0 + ik\left(n_{Re}+in_{Im}\right)E_0, \label{Eq:paraxial}\tag{9}\] where \(k\) is the laser wavevector, and \(E_0\), \(n_{Re}\) and \(n_{Im}\) depend on the transversal coordinates \(x\) and \(y\). Eq. 9 is solved using the split-step Fourier method [17] to obtain a spatially varying phase that is accumulated by the laser beam as a result of propagation through the Rb vapor. Nonlinear phase simulations are implemented as follows: first Eq. 2 is solved parametrically in \(E_0\), i.e. for a range of \(E_0\) values, and the corresponding complex refractive index is calculated using Eqs. 7 and 8 . Then Eq. 9 is solved, where in each propagation step \(n_{Re}(x,y)\) and \(n_{Im}(x,y)\) are evaluated by interpolation using \(E_0(x,y)\), and the results of Eqs. 7 and 8 . We note that \(n_{Re}\) and \(n_{Im}\) are in general nonlinear in \(E_0\), and thus Eq. 9 is also nonlinear in \(E_0\).
Interferometric techniques allow for the measurement of the local phase difference between a reference laser beam and a beam that has interacted with a nonlinear medium. In our experiment this is achieved by placing a rubidium vapor cell in one arm of a Mach-Zehnder interferometer. The two beams originating from the different interferometer arms are recombined on a camera at a small angle \(\theta\), creating a spatial interference fringe pattern. The probe beam of 1.7 mm diameter at \(1/e^2\) intensity was used.
A 5 cm glass cell containing isotopically pure \(^{87}\)Rb vapor was used. To reduce stray magnetic fields, the cell was housed inside a \(\mu\)-metal shield, while the heating element was kept outside. Heat transfer to the cell was achieved using heat pipes, and the temperature was stabilized to about 1 °C.
A wavemeter (High Finesse Ångstrom WS/7) and an acousto-optic modulator (AOM) were used to stabilize the frequency and power of the probe laser (Sirah Matisse CR). An additional frequency-stabilized laser beam (Sirah Matisse CR) was also sent through the Rb vapor, and was held at a constant power and frequency, far detuned from the Rb resonances. It is used to record phase variations caused by ambient air temperature fluctuations and other environmental conditions, which are later subtracted from the phase measured by the probe laser.
The interference pattern is recorded using a camera (Flir Blackfly S BFS-U3-120S4M). Changes in the phase of the probe laser beam (linear phase) cause the interference fringes to shift. A spatially varying phase (nonlinear phase) on the other hand causes the interference fringes to bend, as illustrated in Fig. 1. In both regimes we select a small region in the center of the interference image (indicated by a small square in Fig. 1), containing approximately two interference fringes, to calculate the phase. The intensity in this selected region is first integrated along the axis parallel to the fringes, resulting in a space-averaged one-dimensional (1D) intensity. The phase is extracted by fitting the sinusoidal function to the space-averaged 1D intensity. During measurements, care is taken to vary experimental parameters in small increments, ensuring the phase change between consecutive data points remains below \(\pi\). Finally, a phase-unwrapping algorithm is applied to the fitted phase values, and the phase related to the environmental noise is subtracted. A similar interferometric technique was also used in Ref. [18] to study the transit effects for non-linear refractive index measurement in warm atomic vapors.
In the linear refractive index regime, the phase \(\delta\phi\) accumulated by the laser beam after propagating through the vapor is directly related to the vapor refractive index by the relation \(\delta\phi=k\:\delta n\:L\), where \(L\) is the vapor length. We note that when measuring phase as a function of frequency one must include an additional linear phase shift that is related to the change of \(k\) with frequency, and which is due to the difference in path lengths between the two arms of the interferometer. This background contribution was experimentally characterized by measuring the phase as a function of frequency far from the Rb resonance lines.
In the nonlinear regime, the relation between \(\delta\phi\) and \(\delta n\) is not straightforward, and in general one needs to solve the nonlinear paraxial wave equation (Eq. 9 ) to obtain the accumulated nonlinear phase from the nonlinear refractive index. Experimentally, nonlinear phase is obtained by measuring the phase as a function of the probe laser power.
We start our investigation of the refractive index of Rb vapor by measuring the phase accumulated by the probe laser after propagating through the Rb vapor as a function of probe laser frequency. Both experimental and theoretical results are shown in Fig. 2 for the red detuning from the \(^{87}\)Rb 5S\(_{1/2}, F=2 \rightarrow\) 5P\(_{3/2}, F'=1,2,3\) hyperfine line, and in Fig. 3 for the blue detuning from the \(^{87}\)Rb 5S\(_{1/2}, F=1 \rightarrow\) 5P\(_{3/2}, F'=0,1,2\) line. The Rb vapor cell used in the experiment is an isotopically pure \(^{87}\)Rb vapor cell. Still, we experimentally observe the presence of \(^{85}\)Rb isotope of about 2\(\%\) in the vapor. This small but noticeable presence of \(^{85}\)Rb affects the refractive index in the blue wing of the \(^{87}\)Rb 5S\(_{1/2}, F=2 \rightarrow\) 5P\(_{3/2}, F'=1,2,3\) line, and in the red wing of the \(^{87}\)Rb 5S\(_{1/2}, F=1 \rightarrow\) 5P\(_{3/2}, F'=0,1,2\) line (see Supporting Information for an illustration of \(^{85}\)Rb and \(^{87}\)Rb hyperfine line interrelation), making the analysis of the refractive index in these ranges not straightforward. We thus focus our investigation on the red detuning from the \(^{87}\)Rb 5S\(_{1/2}, F=2 \rightarrow\) 5P\(_{3/2}, F'=1,2,3\) hyperfine line, and on the blue detuning from the \(^{87}\)Rb 5S\(_{1/2}, F=1 \rightarrow\) 5P\(_{3/2}, F'=0,1,2\) line, and call them the red and blue detuning throughout the paper, respectively.
Phase measurements for four different probe laser powers are shown in Figs. 2 and 3. For detunings close to resonance (\(<1\) GHz) the probe laser is strongly absorbed thus obstructing the phase measurement. The lowest power of 200 nW corresponds to the linear regime, i.e. the refractive index does not change with laser power at this power level. Theoretical calculations show excellent agreement with the measured results in the linear regime. This is further confirmed by the comparison of theoretical simulations with experimental results for the hyperfine absorption spectra at different vapor temperatures from Ref. [19] (see Supporting Information).
Increasing the probe laser power introduces the nonlinear effects in the interaction of laser light with Rb atoms. This is observed as the reduction of the phase values for both the red and blue detuning towards zero, corresponding to the negative nonlinear refractive index for the red detuning, and positive nonlinear refractive index for the blue detuning. In general, very good quantitative agreement between the theoretical and experimental results for the accumulated phase is obtained.
Positive nonlinear refractive index for the blue detuning leads to self-focusing of the laser beam. This makes a detailed analysis of the frequency and power dependence of the nonlinear refractive index impractical for the blue detuning, since the beam starts to distort as soon as the nonlinearity becomes noticeable. The beam distortions result from small initial beam intensity irregularities that are strongly emphasized through nonlinear propagation under the self-focusing conditions and eventually hinder the accurate phase measurement. We thus focus our investigation on the red detuning, where self-defocusing of the probe beam is observed, and nonlinear phase can readily be measured in a broad power and frequency range.
The nonlinear phase as a function of detuning is shown in Fig. 4 for different laser powers. The nonlinear phase strongly depends on the concentration of atoms. For the theoretical calculations of the nonlinear phase accumulated by the probe laser after passing through the vapor we use \(N=1.37\pm0.17\times10^{13}\) cm\(^{-3}\), which is determined from the measurement of the probe laser transmission through the vapor. This experimental uncertainty in the Rb concentration of about \(\pm12\%\) is illustrated in Fig. 4 as a coloured shaded region, where the lower line for a given color (detuning) corresponds to the calculated nonlinear phase for \(N=1.21\times10^{13}\) cm\(^{-3}\), whereas the upper line corresponds to \(N=1.54\times10^{13}\) cm\(^{-3}\). The quantitative agreement between the measured and calculated nonlinear phase frequency dependence is very good. A minor systematic deviation is observed as the calculated nonlinear phase values for smaller detunings tend to be slightly higher than the measured values. Nevertheless, the overall agreement is very good, particularly taking into account that an ab-initio theoretical model is used with no free parameters, where all parameters entering the model are determined by the experimental values related to the laser beam and the Rb vapor.
The nonlinear phase as a function of laser power is shown in Fig. 5 for different laser detunings. A clear saturation behavior of the nonlinear phase is observed that is indicative of the saturable nonlinear refractive index of Rb vapor. We note that, unlike the linear regime where phase is directly proportional to the refractive index, the relation of the nonlinear phase and the nonlinear refractive index is more complex. In general, one must calculate the nonlinear laser beam propagation using Eq. 9 in order to calculate the nonlinear phase that is accumulated by the laser beam as a result of the propagation in the medium characterized by a nonlinear refractive index \(n=n_\textrm{L}+n_\textrm{{NL}}\), where \(n_\textrm{L}\) and \(n_\textrm{NL}\) are the linear and nonlinear part of the complex refractive index.
We show in Fig. 6 the real part of the calculated nonlinear refractive index of \(^{87}\)Rb vapor for the same experimental parameters as in Figs. 4 and 5, and \(N=1.37\times10^{13}\) cm\(^{-3}\). As seen in Fig. 6, nonlinear refractive index of up to \(-3\times10^{-4}\) is obtained in our experiment.
As the nonlinear refractive index shows clear saturation behavior with laser intensity, we can fit Eq. 1 to the calculated Re\((n_\textrm{{NL}})\) for different detunings. The resulting fitted parameters \(n_2\) and \(I_s\) are shown in Fig. 7 as a function of detuning. \(n_2\) represents the unsaturated nonlinear Kerr coefficient that defines the nonlinear refractive index of Rb vapor in the low intensity limit (\(I\ll I_s\)), in which Eq. 1 reduces to \(n(I)=n_0+n_2I\). \(I_s\) defines the saturation bahavior of Re\((n_\textrm{{NL}})\). As seen in Fig. 7, up to only a few W/cm\(^2\) are sufficient to saturate the nonlinear refractive index of warm \(^{87}\)Rb vapor for detunings below 1000 MHz. For example, only a few tens of milliwatts are sufficient for a millimeter size laser beam to saturate the nonlinear refractive index of \(^{87}\)Rb vapor at 117 °C and 700 MHz detuning.
Nonlinear Kerr coefficient of up to \(-1.2\times10^{-4}\) cm\(^2\)/W is obtained for 700 MHz detuning in our experimental conditions of \(^{87}\)Rb vapor with concentration \(N=1.37\times10^{13}\) cm\(^{-3}\). This is much larger than reported in Ref. [7], where \(n_2\approx10^{-7}\) cm\(^2\)/W for 1 GHz detunings from the D2 line in natural-abundance Rb vapor at 78 °C is reported. It is also larger than reported in Ref. [10], where \(n_2\approx10^{-6}\) cm\(^2\)/W for similar detunings in \(^{87}\)Rb vapor with concentration \(N=1.55\times10^{12}\) cm\(^{-3}\) is reported. This apparent discrepancy in \(n_2\) is however easy to explain when the quoted \(n_2\) values are scaled by the concentration of \(^{87}\)Rb atoms in these experiments.
Finally, we note that both qualitatively and quantitatively similar behavior of \(n_2\) and \(I_s\) is obtained for the case of blue detuning (see Supporting Information).
We have calculated the refractive index of warm rubidium vapor using a theoretical model based on optical Bloch equations for 6-level Rb atoms interacting with a probe laser. The model includes Doppler broadening, transit time broadening, pressure broadening, saturation, optical pumping, and spin-exchange inelastic collisions. Based on the calculated nonlinear refractive index, and using nonlinear paraxial wave equation, we have simulated the spatially varying nonlinear phase accumulated by the probe laser beam after passing through the \(^{87}\)Rb vapor. This theoretically simulated phase was then compared to the experimental phase obtained by using an interferometric technique that places a rubidium vapor cell in one arm of a Mach-Zehnder interferometer to create a spatial interference fringe pattern that enables measurement of the local phase difference between the reference beam and the beam that has interacted with the Rb vapor. We show very good quantitative agreement of the theoretical and experimental results.
We provide Python scripts for all theoretical calculations presented in this work (https://github.com/damiraumiler/Rb_D2_nonlinear_refractive_index), including the refractive index calculation, that can readily be used in practical implementations for real-time simulations of the linear and nonlinear refractive index of Rb vapor.
N.Š. and D.A. acknowledge support from the project “Implementation of cutting-edge research and its application as part of the Scientific Center of Excellence for Quantum and Complex Systems, and Representations of Lie Algebras”, Grant No. PK.1.1.10.0004, co-financed by the European Union through the European Regional Development Fund - Competitiveness and Cohesion Programme 2021-2027. We also acknowledge support from the project "Centre for Advanced Laser Techniques" (CALT), cofunded by the European Union through the European Regional Development Fund under the Competitiveness and Cohesion Operational Programme (Grant No. KK.01.1.1.05.0001).