Introduction

A soliton is a stable, localized wave that retains its shape and energy while propagating through a nonlinear medium. Unlike ordinary waves that disperse and diminish over time, solitons are unique because of the stability amongst nonlinearity and dispersion, allowing them to travel over long distance without distortion. Nonlinear systems, where the linear superposition principle is not applicable, give rise to solitons. This nonlinearity is essential for the stability of solitons. Solitons may be involved in complex interactions with one another, but during interaction, solitons restore its original form and speed, though their positions may slightly alter1,2,3.

The spatial optical solitons are light beams that maintain their shape and size as it travel through a nonlinear medium. In these cases, spatial spread of the beam, width and height, remains constant as a result of a balance between the nonlinear effects of the medium and the natural tendency of the beam to diffract and spread out. Spatial solitons occur in nonlinear media, where the refractive index varies with light intensity, helping the beam stay focused. Unlike typical light beams that spread over distance, spatial solitons retain a consistent, localized shape. This is due to a balance between the beam’s natural tendency to spread and the nonlinear properties of the medium. As a result, spatial solitons can travel long distances without losing their structure4,5,6,7,8.

Spatial solitons of reflection and transmission of structured light through a gain-assisted atomic medium refer to the behavior of light beams with specific patterns that pass through a medium made of atoms, which amplifies the light9,10. As the light interacts with this medium, it either reflects or transmits while maintaining its stable, self-reinforcing shape due to the energy provided by the medium. The gain from the atomic medium helps to preserve the soliton properties of the light, preventing it from spreading out or losing intensity11,12,13.

Structured light, with specific spatial properties like patterns or twisting motion, can significantly affect solitons in a gain-assisted atomic medium. The medium amplifies the light, helping solitons stay stable over longer distances by compensating for losses. When structured light interacts with the medium, it can shape the soliton, altering its propagation characteristics such as shape, velocity, and direction. The gain from the atomic medium provides the necessary energy to offset dispersion and diffraction, ensuring the soliton’s structure is maintained. This interaction is crucial in applications like optical communication and beam shaping, where maintaining the beam’s integrity is vital14,15,16,17.

The idea of solitons has advanced significantly over the years, evolving from a simple observation to a crucial topic in nonlinear dynamics and various scientific disciplines. The first soliton was identified in 1834 by John Scott Russell while observing a canal in Scotland. He saw a solitary wave traveling through the water without changing shape, which he termed the “wave of translation.” This marked the start of soliton studies18,19. In the 1870 s and 1880 s, scientists, particularly Boussinesq and Rayleigh, created mathematical theories about waves in shallow water, laying the foundation for a formal understanding of solitons20. In 1895, Korteweg and de Vries introduced the Korteweg-de Vries (KdV) equation, which became a key equation for understanding shallow water solitons and how waves maintain their shape in nonlinear environments21,22. In 1955, John Pasta, Stanislaw Ulam, and Enrico Fermi used early computers to simulate wave behavior in materials and were surprised to observe that the waves behaved in an unexpected repeating pattern23,24,25. In 1965, Norman Zabusky and Martin Kruskal coined the term “soliton” while studying the KdV equation and showed through numerical simulations that solitons could interact without changing shape26,27. More recently, solitons have been observed in Bose-Einstein condensates, ultra-cold quantum gases, to enhance the understanding of quantum nonlinear dynamics28,29,30,31.

Here are some notable applications in diverse fields. such as soliton-based solitonic networks32, optical soliton interferometry33 optical communications34, fluid dynamics35, condensed matter physics, biophysics, plasma physics36,37,38, Bose-Einstein condensates and quantum field theory39,40, traffic flow41, cosmology and astrophysics42, magnetism43, optomechanics44, superconductivity45, acoustics46, earthquake modeling47, signal processing48, laser physics49, photonic crystals50, and data encryption51.

The optical soliton pulses have been extensively investigated. For example, the evolution of optical spatial solitons has been explained, tracing their discovery and development in nonlinear optics52. It highlighted key theoretical and experimental advancements that have shaped the understanding and applications of solitons in optical systems. Similarly, the formation and dynamics of spatial solitons have been explored within semiconductor microcavities53. It examined the interaction of light with nonlinear media in these structures, providing insights into their potential applications in optical devices and systems. The behavior of temperature solitons has been investigated in heat transfer processes within confined regions54. It focused on the motion, reflection, and interaction of these solitons, offering insights into their role in wave heat transfer phenomena. The theoretical foundations and physical properties of optical solitons have been discussed in fiber optics55. The authors explored how solitons can maintain their shape and velocity during transmission, providing insights into their applications in long-distance optical communication.

Here, we examine spatial solitons of transmission and reflection of the structured light in the gain-assisted four-level atomic medium. The structured light pulses of reflection and transmission are generated and analyzed by azimuthal quantum numbers dependent on control driving fields in the medium.

Model and interactions

As seen in Fig. 1, an N-type gain-assisted atomic configuration of four levels is considered. The ground level \(\left| d\right\rangle\) is integrated to the stimulated level \(\left| a\right\rangle\) through \(E_{1}\) (pump field) with frequency (Rabi) \(\Omega _{1}\), whereas the bottom level \(\left| c\right\rangle\) is integrated with two top excited levels \(\left| a\right\rangle\) and \(\left| b\right\rangle\) by control fields \(E_{p}\) and probe \(E_{c}\) of Rabi frequencies \(\Omega _p\) and \(\Omega _c\), respectively.

Fig. 1
figure 1

N-type rotating gain assisted atomic medium.

The detuning of pump and probe fields in the atomic states are associated with \(\Delta _p=\omega _{ac}-\nu _{p}\) and \(\Delta _1=\omega _{ad}-\nu _1\) that represent the resonance angular frequencies. To examine the governing model and related dynamical equations of motion, we used the subsequent Hamiltonian in the rotating wave estimation and dipole. The total energy is given as \(H=H_0+H_I\), where the Hamiltonian \(H_0\) is given as:

$$\begin{aligned} H_0=\hbar \omega _{a}\left| a\right\rangle \left\langle a\right| +\hbar \omega _b\left| b\right\rangle \left\langle b\right| +\hbar \omega _c \left| c\right\rangle \left\langle c\right| +\hbar \omega _d\left| d\right\rangle \left\langle d\right| . \end{aligned}$$
(1)

The Hamiltonian \(H_I\) for the above configuration can be written as

$$\begin{aligned} H_I= & -\frac{\hbar }{2}\Omega _1e^{-i\Delta _1t}\left| d\right\rangle \left\langle a\right| -\frac{\hbar }{2}\Omega _pe^{-i\Delta _pt}\left| c\right\rangle \left\langle a\right| -\frac{\hbar }{2}\Omega _c\left| c\right\rangle \left\langle b\right| +H.c. . \end{aligned}$$
(2)

The governing model of a system at normal temperature can be obtained in the form:

$$\begin{aligned} \dot{\rho }=-\frac{i}{\hbar }[H_I ,\rho ]-\frac{1}{2}\sum \gamma_{ij} \Big (\kappa_{ij} ^\dag \kappa_{ij} \rho +\rho \kappa_{ij} ^\dag \kappa_{ij} -2\kappa_{ij} \rho \kappa_{ij} ^\dag \Big ), \end{aligned}$$
(3)

where \(\kappa ^\dag (\kappa )\) are raising and lowering operators. The coherence of the probe field calculated in the second order \(\rho ^{(2)}_{ac}\) as

$$\begin{aligned} \rho ^{(2)}_{ac}=-i\bigg [\frac{(4(\gamma _{ab} -i\Delta _{p})(\gamma _{bd}+\Delta _{p}-\Delta _1)-i\Omega ^2_c) 4\Omega ^2_1}{(4i\gamma _{ab}\Delta _{p}(\Delta _1-i\gamma _{ad})(i\gamma _{ac} \Delta _{p})-\Omega ^2_c)Q}+\frac{8\gamma _{ad}(i\gamma _{ab}+\Delta _p)\Omega ^2_1}{(\gamma _{ac}+\gamma _{ad})(\gamma ^2_{ad}+\Delta ^2_1) [4P+i\Omega ^2_c]}\Bigg ]. \end{aligned}$$
(4)

Equation of motion expands via inductive predictions like

$$\begin{aligned} Q=\Omega ^2_c +4\,\left( \Delta _1-i\gamma _{dc}-\Delta _{p}\right) \left( \Delta _{p}+i\gamma _{bd}-\Delta _1\right) ,\,\,\,\, P= \left( \Delta _{p}+ i\gamma _{ab}\right) \left( \gamma _{ac}-i\Delta _{p}\right) . \end{aligned}$$

The Rabi frequencies of structured light fields are written as

$$\begin{aligned} \Omega _1=G_1[\frac{r}{W}]^{\ell _1}\exp \left( i\ell _1\varphi -[\frac{r^2}{W^2}]\right) ,\,\,\,\,\,\,\, \Omega _c=G_c[\frac{r}{W}]^{\ell _2}\exp \left( i\ell _2\varphi -[\frac{r^2}{W^2}]\right) , \end{aligned}$$
(5)

where W is the beam waist, \(G_{1,c}\) are the associated field strengths, \(\ell _{1,2}\) are the winding number which occur either positive or negative depends upon the twisted direction of the beam and \(r=\sqrt{x^2+y^2}\) and \(\varphi =\tan ^{-1}({y}/({x+\sqrt{x^2+y^2}}))\).

The approximated susceptibility of the Gain-assisted medium is expressed as

$$\begin{aligned} \chi =\frac{2N\varrho ^2_{ac}}{\epsilon _0\hbar \Omega _p}\rho ^{(2)}_{ac}, \end{aligned}$$
(6)

The reflection and transmission are described as

$$\begin{aligned} R= \frac{(\zeta ^2_0-\zeta ^2_1)\zeta _1\zeta _2\sin 2\alpha _1\cos (\alpha _{2}) +\mu _3\sin (\alpha _{2})}{\zeta _1\zeta _2\mu _1\cos (\alpha _{2})+\mu _2\sin (\alpha _{2})},\,\,\,\,\,\, T =\frac{2i\zeta _0\zeta _2\zeta ^2_1}{\zeta _1\zeta _2\mu _1\cos (\alpha _{2})+\mu _2\sin (\alpha _{2})}, \end{aligned}$$
(7)

where \(\mu _{1\rightarrow 3}\) are given as

$$\begin{aligned} & \mu _1=2i\zeta _0\zeta _1\cos 2\alpha _1+(\zeta ^2_0+\zeta ^2_1)\sin 2\alpha _1,\,\,\,\,\mu _3=\zeta ^2_1(\zeta ^2_0-\zeta ^2_2)\cos ^2\alpha _1+(\zeta ^4_1-\zeta ^2_0\zeta ^2_2)\sin ^2\alpha _1,\\ & \mu _2=\zeta ^2_1(\zeta ^2_0+\zeta ^2_2)\cos ^2\alpha _1-(\zeta ^4_1+\zeta ^2_0\zeta ^2_2) \sin ^2\alpha _1-i\zeta _0\zeta _1(\zeta ^2_1+\zeta ^2_2)\sin 2\alpha _1, \end{aligned}$$

and, \(\epsilon _2=1+\chi\) and \(\zeta _{0\rightarrow 2}\) and \(\alpha _{1}\rightarrow 2\) are given as

$$\begin{aligned} \zeta _{0}=\sqrt{\epsilon _{0}-\sin ^2\theta },\, \zeta _{1}=\sqrt{\epsilon _{1}-\sin ^2\theta },\, \zeta _{2}=\sqrt{\epsilon _2-\sin ^2\theta },\,\,\, \alpha _{1}=\frac{2\pi }{\lambda _p}d_{1}\sqrt{\epsilon _{1}-\sin ^2\theta },\,\, \alpha _{2}=\frac{2\pi }{\lambda _p}d_{2}\zeta _2. \end{aligned}$$

The incident probe beam at plane (\(z=0\)) can be expressed as:

$$\begin{aligned} & S_i|_{z=0}=\frac{1}{2\pi }\int ^\infty _{-\infty } A(\omega _p, k_y) exp(i(k_z z+k_y y))\,dk_y, \end{aligned}$$
(8)

where \(A(\omega _p, k_y)\) is described as:

$$\begin{aligned} A(\omega _p, k_y)=\frac{W_y}{\sqrt{2}}exp\Big [-\frac{W^2_y(k_y-k_{y0})^2}{4}\Big ] \end{aligned}$$

.

The pulses structure of transmission and reflection is represented as

$$\begin{aligned} S_T=\frac{1}{2\pi }\int ^\infty _{-\infty } TA(k_y,\omega _p)exp(i(k_z(z-L) +k_y y))dk_y,\,\,\,\, S_R=\frac{1}{2\pi }\int ^\infty _{-\infty } R A(k_y,\omega _p)exp(i(-k_z z+k_y y))dk_y, \end{aligned}$$
(9)

where \(S_R(x,y)\) represent pulse variation of reflection beam and \(S_T(x,y)\) represent pulse variation of transmission beam. The intensities of reflection and transmission beams are \(I_T(x,y)=|S_T(x,y)|^2\) and \(I_T(x,y)_R=|S_R(x,y)|^2\).

Results and discussion

The light that depends upon the azimuthal quantum number is called structured light. The structure light effect is introduced in probe light by azimuthal quantum numbers dependent on control fields. Structured light is amplitude, phase, and polarization modulation in specific ways and can be shaped into various patterns like vortices and holograms. Structured light is used in data transmission rate and security, super-resolution microscopy, quantum entanglement and cryptography, enhanced precision, and increased information capacity. In this work, reflection and transmission solitonic pulses are generated by azimuthal quantum number dependents of control fields in a gain-assisted atomic medium.

In a gain-assisted atomic medium, results are shown for the spatial solitons of reflection and transmission pulse intensities employing control fields of structured fields. Using \(\gamma =36.1GHz\) as the decay rate, other frequency parameters are adjusted to this level. Further \(\omega =1000\gamma\), \(d=2d_1+d_2\), \(\lambda =2\pi c/\omega\), \(r=\sqrt{x^2+y^2}\). \(\epsilon _1=2.2\), \(\epsilon _2=1+4\pi Re(\chi )\), \(d_1=1.5\lambda\), \(d_2=15\lambda\), \(k_0=\omega /c\) and \(z=0.1\lambda\), where \(k_z=\frac{2\pi }{\lambda }\cos \theta\), \(w_y=w\sec \theta\), \(W=1\lambda\).

Fig. 2
figure 2

The reflection and transmission pulse intensities versus spatial coordinates \(x/\lambda\) and \(y/\lambda\). The proposed parameters are, \(\gamma _{ab,cd,bd,ad}=2.05\gamma\), \(\Delta _{1}=2\gamma\), \(\Delta _{3}=0\gamma\), \(\Delta _{p}=0\gamma\), \(G _{1}=3.5\gamma\), \(G_{c}=4\gamma\), \(\theta =\pi /3\), \(\phi =0\), \(\tau _0=1/\gamma\), \(\ell _{1,2}=1\).

Plots of reflection and transmission pulse intensity against spatial coordinates \(x/\lambda\) and \(y/\lambda\) via a four-level gain atomic medium are shown in Fig. 2. The spatially bright optical solitons in reflection and transmission pulses are controlled by structured light beams. The reflection pulse exhibits a bright optical soliton with weak spatial x-axis nonlinearity and strong spatial y-axis nonlinearity. The bright optical solitons reveal two maxima in reflection due to the structured light effect of azimuthal quantum number at \(l_{1,2}=1\) in the range of 0.4 as revealed in Fig .2a. The transmission pulse exhibits a bright optical soliton with strong spatial x-axis nonlinearity and strong spatial y-axis nonlinearity. The bright optical solitons reveal two maxima in transmission due to the structured light effect of azimuthal quantum number at \(l_{1,2}=1\) in the range of 0.03 as revealed in Fig. 2b. Furthermore, the density plots below each graph provide additional information about the spatial bright solitons structured light effect of azimuthal quantum number at \(l_{1,2}=1\) in the transmission and reflection pulses as presented in Fig. 2c, d.

Fig. 3
figure 3

The reflection and transmission pulse intensities versus spatial coordinates \(x/\lambda\) and \(y/\lambda\). The plots are traced at the same parameters as considered for Fig. 2, except at azimuthal quantum number \(\ell _{1,2}=2\).

The plots of reflection and transmission pulse intensity against spatial coordinates \(x/\lambda\) and \(y/\lambda\) across a four-level gain atomic medium are displayed in Fig. 3 at the same parameters but putting \(l_{1,2}=2\). The spatially bright optical solitons in reflection and transmission pulses are controlled by structured light beams. The reflection pulse exhibits a bright optical soliton with weak spatial x-axis nonlinearity and strong spatial y-axis nonlinearity. The bright optical solitons reveal four maxima in reflection due to the structured light effect of azimuthal quantum number at \(l_{1,2}=2\) in the intensity range of 0.4. The equilibrium condition of dispersion and nonlinearity gives stability for the formation of four bright soliton peaks of transmission pulse intensity as displayed in Fig. 3a. The transmission pulse exhibits a bright optical soliton with weak spatial x-axis nonlinearity and strong spatial y-axis nonlinearity at the same parameters. The balancing of dispersion and nonlinearity generated stability for the formation of four bright soliton peaks in transmission pulse intensity. The bright optical solitons reveal four maxima in transmission due to the structured light effect of azimuthal quantum number at \(l_{1,2}=2\) in the range of 0.006 as illustrated in Fig. 3b. Furthermore, the density plots below each graph provide clear four-peak information about the spatial bright solitons structured light effect of quantum number (azimuthal) at \(l_{1,2}=2\) in reflection and transmission pulses as displayed in Fig. 3c, d. The modified controlled solitons of reflection and transmission are useful for radar technology.

Fig. 4
figure 4

The reflection and transmission pulse intensities versus spatial coordinates \(x/\lambda\) and \(y/\lambda\). The plots are traced at the same parameters considered for Fig. 2, except using azimuthal quantum numbers, \(\ell _{1,2}=3\).

The plots of reflection and transmission pulse intensity against spatial coordinates \(x/\lambda\) and \(y/\lambda\) through four-level gain atomic medium are traced in Fig. 4 at the same parameters but \(\ell _{1,2}=3\). The spatially bright optical solitons in reflection and transmission pulses are controlled by structured light beams. The reflection pulse exhibits a bright optical soliton with weak spatial x-axis nonlinearity and strong spatial y-axis nonlinearity. The bright optical solitons reveal six maxima in reflection due to the structured light effect of azimuthal quantum number at \(l_{1,2}=3\) in the intensity range of 0.4 as illustrated in Fig. 4a. The transmission pulse exhibits bright optical solitons with strong spatial x-axis nonlinearity and strong spatial y-axis nonlinearity. The bright optical solitons reveal six maxima in transmission due to the structured light effect of azimuthal quantum number at \(l_{1,2}=3\) at the intensity range of 0.06 as given in Fig. 4b. Furthermore, the density plots below each graph provide additional information about the spatial bright solitons structured light effect of quantum number (azimuthal) at \(l_{1,2}=3\) in reflection and transmission pulses. In this case solitons stability is achieved by the equilibrium condition of dispersion and nonlinearity as shown in Fig. 4c, d. The modified results are useful for communication systems, signal processing, data transmission, and other areas in optics and photonics.

Fig. 5
figure 5

The reflection and transmission pulse intensities versus spatial coordinates \(x/\lambda\) and \(y/\lambda\). The plots are traced at the same parameters used for Fig. 2, except azimuthal quantum numbers, \(\ell _{1,2}=4\).

Plots of the intensity of reflection and transmission pulses against spatial coordinates \(x/\lambda\) and \(y/\lambda\) via a four-level gain atomic medium are demonstrated in Fig. 5. The spatially bright optical solitons in reflection and transmission pulses are controlled by structured light beams. The reflection pulse exhibits a bright optical soliton with weak spatial x-axis nonlinearity and strong spatial y-axis nonlinearity. The bright optical solitons reveal eight maxima in reflection due to the structured light effect of azimuthal quantum number at \(l_{1,2}=4\) in the intensity range of 0.4 as displayed in Fig. 5a. The transmission pulse exhibits a bright optical soliton with the balance between strong spatial x-axis nonlinearity and strong spatial y-axis nonlinearity. The bright optical solitons reveal eight maxima in transmission due to the structured light effect of azimuthal quantum number at \(l_{1,2}=4\) in the range of 0.05 as shown in Fig. 5b. Furthermore, the density plots below each graph provide additional information about the spatial bright solitons structured light effect of the quantum number at \(l_{1,2}=4\) in transmission and reflection pulses as shown in Fig. 5c, d. These solitons of reflection and transmission pulses arise due to the balancing of nonlinear refractive effect and dispersion as well as diffraction in the medium. In optical fibers, the modified transmission solitons are key rules to maintain their shape without loss of energy over a long travelling distance. These multiple peaks of solitons of reflection and transmission are modified from soliton trapping dynamics and cross-phase modulation and are useful for optical switching and optical analogs of gravity, like potential generation.

Conclusion

The spatial solitons of reflection and transmission of structured light are coherently controlled in a four-level gain-assisted atomic medium. The second-order electric probe field coherence term for the suggested gain-assisted atomic medium is computed using density matrix formalism. The coherence term is then used to determine the electric susceptibility, which directly validated the approximation of the dielectric function of the gain-assisted medium. The dielectric function of both the gain-assisted medium and the coupled cavity was subsequently used to calculate the reflection and transmission coefficients. Furthermore, these coefficients were applied to calculate the structured light pulses of reflection and transmission beams. The resulting pulses exhibited distinct behaviors, revealing the formation of spatial bright solitons of reflection and transmission in the spatial position of \(-5\lambda \le x \le 5\lambda\) and \(-5\lambda \le y \le 5\lambda\) with maxima regions of topological charge, driven by the structured light fields of the gain-assisted atomic medium. The maxima of both reflection and transmission pulses of the structured light fields increase with the azimuthal quantum number \(\ell _{1,2}=1,2,3,4\) following the \(2\ell\) dependence. The bright and dark soliton splitting regions are linearly increasing according to azimuthal quantum numbers of formula \(2\ell\). For \(\ell =1\), two peaks; for \(\ell =2\), four peaks; for \(\ell =3\), six peaks; and for \(\ell =4\), eight peaks are investigated and clearly shown in the density plots. The reflection pulse remains a constant shape with a weak x-axis nonlinearity and a strong y-axis nonlinearity. On the other hand, the transmission pulse exhibits varying shapes due to changing x- and y-axis nonlinearities. The nonlinearities along the x and y-axes balance at \(\ell _{1,2}=4\), resulting in the most stable propagation. The findings demonstrate the critical role of structured light reflection and transmission with azimuthal quantum numbers in enhancing soliton control and stability, advancing applications in nonlinear optics, optomechanics, signal processing, and optical soliton interferometry.