1. Introduction
Quantum mechanics was originally established to describe the behavior of particles on the microscopic scale, such as atoms and molecules. However, under certain conditions, quantum phenomena can manifest on the macroscopic scale, with superconductivity and superfluidity being two prominent examples. One of the most remarkable macroscopic quantum phenomena is Bose–Einstein condensation (BEC), where a dilute gas of particles occupies the same quantum state below a critical temperature, forming a global coherent matter wave. This phenomenon was predicted theoretically by Bose and Einstein in the 1920s, but it took more than seven decades for it to be observed experimentally. The realization of BEC in ultra-cold gases was achieved in 1995 by Cornell, Wieman, and Ketterle using dilute alkali atoms such as rubidium and sodium [
1]. This achievement opened a new era in quantum physics and earned them the Nobel Prize in Physics in 2001 [
2]. Since then, studies on ultracold atomic gases have flourished theoretically and experimentally, with BECs being realized in various atomic species. These systems provide an exceptional platform for investigating quantum many-body physics, due to the high degree of experimental control over particle interactions, trapping geometries, and external potentials [
3,
4]. In particular, BECs confined in harmonic traps have become the standard experimental setup, allowing the exploration of collective excitations, quantum vortices, and nonlinear wave phenomena [
5,
6,
7].
Among the most intriguing nonlinear phenomena in BECs are solitons. Solitons are localized wavefunctions that maintain their shape during propagation because of the balance between dispersion and nonlinearity. Solitons are robust features of nonlinear systems and have been studied extensively in diverse fields, including fluid dynamics, nonlinear optics, and plasma physics [
8,
9,
10,
11,
12]. The search for exact expressions of such waves is of great importance in order to understand the interactions and dynamics of solitons. Several techniques have been presented, such as the inverse scattering transform [
13] and the Hirota bilinear formalism [
14]. The latter is an algebraic method that enables one to generate a random number of solitons by modeling each of the solitons as an independent exponential function. In BECs, a dark soliton corresponds to localized density dips on a uniform or trapped background, resulting from a phase jump across their core. They can be generated experimentally through phase imprinting techniques or by density perturbations [
10,
13,
15,
16,
17]. Solitons in 1D systems exhibit remarkable stability, whereas in higher dimensions (2D and 3D), they are subject to the so-called snake instability, which causes transverse modulations and fragmentation into vortex pairs [
18,
19,
20].
Although the dynamics of solitons in harmonic traps have been extensively investigated, much attention has recently turned to the role of engineered potentials in controlling soliton generation and interactions [
19,
21,
22]. In fact, optical potentials, created by using laser fields, offer a powerful means of shaping the trapping environment beyond simple harmonic confinement. For example, Laguerre–Gaussian (LG) beams can impart orbital angular momentum to atoms and create ring-shaped or more complex potentials [
23]. On the other hand, a complementary and practically simpler approach involves the introduction of local barrier potentials within a harmonic trap, which can serve as a trigger for the formation of solitons upon their removal [
24].
In this work, we first establish soliton solutions in 2D and 1D configurations by reducing the 3D Gross–Pitaevskii equation (GPE) to lower dimensions. This reduction is valid when the system is strongly confined in one spatial dimension, freezing its dynamics, and allowing description by a 1D or 2D equation. We then focus on the controlled generation of dark solitons in BECs confined in symmetric harmonic trap, using Gaussian or constant barrier potentials. Our goal is to understand how the height, width, and spatial displacement of the barrier influence the number, the trajectories, and the stability of the generated solitons. Through numerical simulations of GPE, we demonstrate that the number of solitons does not vary continuously with the barrier height but rather exhibits a stepwise or plateau behavior, indicating that the soliton number is quantized in certain height intervals. This plateau structure represents an interesting feature of soliton formation in confined systems and suggests that barrier engineering can serve as a reliable tool for tailoring multi-soliton states.
Moreover, we show that while Gaussian barriers require removal to generate solitons, constant barriers lead to soliton formation whether they are removed or not. We also explore the impact of breaking the symmetry of the barrier position within the harmonic trap, revealing that off-centered barriers lead to asymmetric soliton distributions and modified collision patterns. These results emphasize the impact of external potential shaping in controlling solitons and their dynamics in trapped BECs, with potential applications in matter-wave interferometry, precision measurements, and the study of soliton gases.
In contrast to our earlier investigation [
21], where we explored the impact of the trap potential on the generation and dynamics of solitons in BECs, shaping the trapping potential has been performed by using the customized potentials created by two crossed Laguerre–Gaussian (LG) beams. In this study, we rigorously derive the exact analytical expression of the solution of the
N-soliton using the Hirota bilinear formalism for an arbitrary integer
, thus generalizing the framework to arbitrary soliton numbers. In addition, we introduce a spatially displaced constant potential barrier and systematically quantify its role in the dynamics of soliton generation. Through numerical simulations, we demonstrate that the number of emergent solitons saturates nonlinearly with increasing barrier height. In particular, we discover a pronounced spatial asymmetry in the trajectories of the soliton induced by the displacement of the barrier, a phenomenon absent in symmetric potential configurations. These findings advance our understanding of soliton interactions in inhomogeneous media, with implications for nonlinear wave control in photonic and quantum control.
The paper is structured as follows. In
Section 2, we describe the model and the setup of the proposed experiment.
Section 3 details the 2D reduction of the model and details the exact expressions of multi-soliton solutions. The 2D analysis of our results is provided in
Section 4.
Section 5 presents the 1D reduction of the Gross–Pitaevskii equation and studies the effects of the barrier potential on the number of generated solitons. In
Section 6, we discuss the numerical results, focusing on the role of barrier displacement and the effect of the asymmetry. Finally, in
Section 7, we conclude with a summary of our findings and an outlook on future directions.
3. 2D-BEC Analysis
The dynamics of the BEC at zero temperature are governed by the Gross–Pitaevskii equation (GPE), a nonlinear Schrödinger equation that describes the macroscopic wave function of the condensate. The GPE is given by
In this equation, represents the condensate wave function and . The term corresponds to the kinetic energy of the particles, where ℏ is the reduced Planck constant, and m is the atomic mass. The external potential can vary spatially and temporally, influencing the behavior and dynamics of the condensate. The interaction term accounts for the mean-field interactions between the particles in the condensate, with N being the number of particles and representing the interaction strength characterized by the length of s-wave scattering .
To explore the behavior of solitons in BEC, we investigate soliton solutions in reduced spatial dimensional spaces. We start from the 3D GPE (
2) and make some confinement assumptions in order to reduce the
model to
and
equations. This reduction technique is justified when the system exhibits strong spatial confinement in one dimension, “freezing” the dynamics along it. This allows one to modify the original equation to lower-dimensional equations.
3.1. Dimension Reduction
For the 2D reduction, we assume that
in the potential
V given in Equation (
1). This assumption implies that the motion of atoms in the
z direction is frozen to the ground state, and that the system can be viewed as two-dimensional.
Let us assume that the wave function is composed of a constant Gaussian axial part
, which is the ground state of the axial harmonic potential, and a time-varying transverse component
f as
The parameter
will be chosen later. In the harmonic setting, we choose the potential
V in Equation (
2) as
Introducing ansatz (
3) into Equation (
2) and integrating over
z yields an equation for
f:
for
and
The term
can be viewed as a constant barrier potential and can be factored out using the transformation
This transformation is invariant under time translation
and satisfies
for all
t, letting the probability density function
remain unchanged. We obtain the desired equation for
F:
Hence, to resume,
is the probability density function in the
reduction case.
Gaussian and Constant Barriers
It has been shown that adding a Gaussian barrier to the harmonic potential and releasing it at a fixed positive time is an efficient technique to generate soliton solutions. Explicitly speaking, one can consider the following external potential:
where
is a non-zero constant for
s, setting
for time
s.
In our previous analysis [
21] and in this paper, we explore, throughout numerical simulations, the effects of changing the height
and the width
on the generation of solitons. As will be shown, soliton states in 2D exhibit the so-called snake instability. Analytically, it is difficult to obtain exact solutions of the equation with this Gaussian barrier. However, when
tends to infinity, we obtain a constant barrier
. In this particular case, we retrieve a similar equation such as Equation (
5), where the constant barrier may be factored out by using a transformation of the form (
7). In the next sections, numerical simulations are made on releasing the constant barrier at fixed time
t. We stress here that this type of experience is feasible. In the analytical case, the constant barrier is not removed in order to obtain exact solutions which would be difficult otherwise.
3.2. Hirota Bilinear Formalism
In order to find exact soliton solutions of Equation (
8) with harmonic potential
given in Equation (
4), one can use the Hirota bilinear method [
14]. This algebraic method consists of bilinearizing a partial differential equation using a transformation of the dependent variable from which multiple solitons can be obtained from a sum of independent exponential functions. This allows one to obtain explicit expressions for a random number
N of solitons and obtain interaction coefficients which can be varied in order to study interactions between such waves.
Let us consider the following transformation [
27] for the function
F in Equation (
8):
where
and
Using the ansatz (
11) and taking
r to satisfy
allows one to transform Equation (
8) into a Schrödinger-type equation:
The differential equation satisfied by
r can be integrated to obtain the following exact expression:
where
and
are constants of integration. These theoretical calculations highlight time translation invariance
. The time period
implies fewer collisions between solitons as
decreases.
Schrödinger-type equations have been largely studied and have been shown to possess multi-soliton solutions. Indeed, using the Hirota bilinear transformation [
14],
where
C and
R are, respectively, complex and real-valued functions. This Hirota change of variable bilinearizes Equation (
14) into
where the Hirota bilinear derivative
is defined as
Below, we construct the multi-soliton solution and study the effects of the physical constants on their dynamics.
In order to illustrate these solitons, one needs to plot the function
. From the above transformations, we have that
Using the second Equation (
18) of the bilinear system, we can show that the above function may be re-written in terms of the real-valued function
R as
The parameter
will play an important role in soliton interactions. We thus obtain explicitly
Returning to Equation (
14), we can observe that this parameter
is proportional to the quotient between the interaction coefficient and the kinetic one. This balance between nonlinearity and dispersion plays an important role in the generation of solitons [
13,
14].
3.2.1. The 1-Soliton Solution
An
-expansion is used around the ground state solution
and
to construct a
N-soliton solution from the bilinear Equations (
17) and (
18). For
, corresponding to a single soliton, we suppose
where
is a non-zero real parameter,
is a complex-valued function, and
a real-valued function. Introducing these components into Equations (
17) and (
18) yields a system of equations by setting each power of
to zero:
For a single soliton solution, we suppose that
where
and
are constants, and
is a pure imaginary function of
T. Introducing this exponential form for
into Equation (
24) yields a constraint for
:
Introducing
in Equation (
26) gives the explicit form for
:
The expressions for
and
are sufficient for systems (
24)–(
27) to be satisfied.
To resume, we obtain an exact solution
where
is given by
In order to study the interaction between
N solitons, one supposes the following
-expansions for functions
C and
R:
where
and
are, respectively, complex and real-valued. Introducing these forms into Equations (
17) and (
18) yields a system of equations for each power of
. These equations can then be solved using a sum of independent exponential functions.
3.2.2. The 2-Soliton Solution
To obtain the 2-soliton solution, we take
in Equation (
32). We thus suppose that
where
. Introducing these components into Equations (
17) and (
18) yields a system of equations for each power of
:
For the 2-soliton solution, we suppose that
where
. In this configuration,
are constants such that
(two distinct solitary waves) and
are pure imaginary functions of the variable
T for
. Introducing the expression for
into Equation (
34) yields the constraints
for
. The explicit expression for
is then recovered using Equation (
35):
where the repeated indices
m and
n are meant to be summed over
. The coefficients
are given as
The function
is recovered in a similar fashion by Equation (
36). We obtain
where
To obtain the explicit expression for
, we take Equation (
37). We obtain
With these expressions, we can show that the system of equations is solved.
We can thus observe that when
, the interaction coefficients
and
vanish. This is to be expected since each soliton is characterized by the value of
. For
, the interaction coefficients are non-zero, and we can study the influence of each parameter to understand the impact of physical quantities on the dynamic of solitons. Furthermore, the parameter
defined in Equation (
22) plays a crucial role in the interaction coefficients. Indeed, a small parameter
implies weak interaction and almost mimics two non-interacting solitary waves.
3.2.3. The 3-Soliton Solution
The exact solutions of integrable models have been of large intensive study in the past and recent years. Mathematicians have established different integrability criteria such as the existence of a Lax Pair, an inverse scattering transformation [
13], the existence of a 3-soliton solution [
28], and others. Although mathematicians have not properly defined this concept, the proof of the existence of a 3-soliton solution is believed to ensure the existence of a
N-soliton solutions for all
.
To obtain the 3-soliton solution, we take
in the expressions (
32). We thus suppose that
where
. For the 3-soliton solution, we suppose that
where
,
are constants such that
and
are pure imaginary functions of the variable
T for
. As for the 2-soliton solution, the functions
satisfy the differential equation
for
Proceeding as for the 2-soliton solution, one can find the unknown functions
and
for
. After thorough symbolic computations, one obtains the explicit expressions for these functions:
where repeated indices are meant to be summed, and
signifies strictly ordered pairs of the numbers
and 3:
,
, and
. The different coefficients may be explicitly calculated. One obtains
The above coefficients are dependent on the parameter
as defined in Equation (
22). Again, as
tends to zero, these coefficients annihilate, and the three solitons propagate as three non-interacting solitary waves. On the other hand, as
grows (meaning that the interacting coefficient grows), the contribution of these coefficients becomes significant, and the solitons exhibit strong interactions.
3.2.4. The N-Soliton Solution
As we already know, the square norm of the wave function can be expressed in terms of
R uniquely (see Equation (
21)). In the
N-soliton context, it is in the form
Thus, one can generalize to a
N-soliton solution for
. Indeed, the coefficients may be explicitly calculated to obtain
Using these coefficients, we obtain
for
.
4. Results
To simulate the dynamics of the BEC, we employ a combination of numerical techniques to solve the time-dependent GPE (
2). Using the Thomas–Fermi approximation, the BEC wave function is initialized by neglecting the kinetic term in the GPE [
29]. The initial density distribution is then given by
where
is the chemical potential of the BEC. The GPE (
2) is solved using the split-step Fourier method [
30]. This approach alternates between position space for potential and interaction terms and momentum space for kinetic terms. To obtain the ground state of the system, we implement the imaginary-time relaxation technique, evolving the wave function in imaginary time by Wick rotation. The wave function is normalized to maintain a constant particle number, and the process continues until the energy and wave function converge to the ground state. Following ground state calculation, we switch back to real-time evolution to observe solitons generation and dynamics. The split-step Fourier method is applied in each time step, with the ground state serving as the initial condition. The spatial grid typically consists of
points in each dimension, with time steps
ms for a total dynamics time of
ms.
In the 2D configuration, soliton solutions are exhibited that, while exact theoretically, are found to be rapidly unstable over time or present discontinuities in their expressions due to the cosine contribution in the phase (
15). This instability is well known experimentally in the 2D setting as the snake instability [
20]. In fact, from Equation (
21), we have
For the purpose of this discussion, we choose
without lost of generality. We can observe that for
the exact solutions present discontinuities.
We investigated the generation of solitons through the introduction and subsequent removal of the external barrier potential as in [
21]. Surprisingly, our numerical simulations reveal a striking difference between two types of barriers. First, when the Gaussian barrier is not removed (panel (a) of
Figure 2), no soliton is generated and the condensate remains largely unperturbed, split into two parts. Here, we set the height
and the width
in the Gaussian barrier (
10). However, for a constant barrier of the same height
, solitons are generated regardless of whether the barrier is removed (panel (b) of
Figure 2) or left in place (panel (d) of
Figure 2). The resulting solitons exhibit identical dynamics in both cases. Within the framework of the
reduction, we note that Equation (
5) introduces a constant energy term
, which is subsequently eliminated through the transformation (
7) preserving the probability density. This observation shows that the generation of solitons is independent of the constant barrier potential. Furthermore, the density probability functions
and
remain invariant under time-translation symmetry, reflecting their insensitivity to temporal shifts. These observations explain, indeed, this same behavior observed in panels (b) and (d) of
Figure 2.
As can be seen in
Figure 2, the analysis of
BEC reveals complex dynamics and instabilities of the soliton structures. Although exact multi-soliton solutions can be constructed using integrable techniques such as Hirota’s bilinear formalism, these solutions exhibit inherent dynamical instabilities [
18]. As said above, dark soliton solutions in 2D systems are prone to decay over time due to the so-called snake instability, a well-established phenomenon in nonlinear systems and BECs [
19]. The snake instability arises from the transverse modulation of the soliton, causing it to break into vortex pairs or more complex nonlinear structures due to phase discontinuities or singularities introduced by the cosine terms in the analytical expressions (see details above). These artifacts are not just mathematical curiosities but correspond to the physical instabilities observed in experimental and numerical studies.
5. 1D-BEC Analysis
In contrast, as we will see in the 1D BEC setting, solitons exhibit remarkable stability over time. The reduced dimensionality suppresses the snake instability, allowing dark solitons to propagate robustly within a quasi-1D trap. This stability makes 1D solitons a natural platform for exploring controlled soliton generation and interactions.
In this section, we start by showing the 1D reduction of the GPE (
2), and then investigate the generation of solitons in a 1D BEC by introducing and subsequently removing the external barrier, modeled as a Gaussian or constant potential. Through systematic numerical simulations, we show that the number of generated solitons depends critically on both the height and the shape of the barrier. Our goal is to establish a relationship between the geometry of the barrier and the number of generated solitons, enabling precise control over the number of generated solitons. Such control is crucial for tailoring multi-soliton states in trapped BECs, with potential applications in matter-wave interferometry and nonlinear quantum dynamics.
5.1. Dimension Reduction
For the 1D reduction, we assume that
in the trap potential
V given in Equation (
1). This assumption implies that the motion of atoms in the
plane direction is frozen into the ground state, allowing the system to be treated as one-dimensional.
Let us assume that the wave function is composed of a constant Gaussian transverse part
, which is the ground state of the transverse harmonic potential, and a time-varying axial component
f as
where
is given in Equation (
3) for
. The parameter
will be chosen in future steps. For the 1D reduction of the GPE (
2), we suppose that the potential
V is given as in Equation (
4) where we write
Introducing the factorization (
69) into the 3D GPE (
2) and integrating over
x and
y yields the following equation:
where
and
The term
can be viewed as a constant barrier potential and can be factored out using a time rotation substitution:
It is important to note that this transformation leaves the density probability function
unchanged. Furthermore, we observe a time translation invariance
. This observation can be noticed in
Figure 3 We obtain the desired equation applying this substitution in Equation (
71):
Hence, to resume,
is the probability density function in the
reduction case.
In the 1D setting, soliton solutions can be dynamically generated by the sudden removal of an external barrier potential applied along one spatial direction. We consider the following external potential in the axial
z-direction:
where
is given in (
70),
for
s is the height of the Gaussian barrier,
determines its width, and
is a spatial offset representing the center of the barrier. This potential allows us to interpolate between a localized Gaussian barrier and a uniform constant potential as
, leading to a flat barrier of height
.
Our numerical simulations in the
configuration with
in Equation (
1), reveal that, unlike the two-dimensional case, the solitons are perfectly stable and exhibit remarkably regular dynamics on long time scales. Surprisingly, we still observe a clear distinction between the behavior induced by Gaussian barriers (
76), with
,
and
, and the constant barriers. When the Gaussian barrier is not removed (see panel (a) of
Figure 3), no soliton is generated, and the BEC remains largely undisturbed. In contrast, when a constant barrier is used, solitons are generated regardless of whether the barrier is removed (panel (d) of
Figure 3) or left in place (panel (b) of
Figure 3). Now, in the
reduction, we observe that Equation (
71) introduces a constant barrier
, which is factored out using the probability density invariant transformation (
73). This observation shows that, as in the
case, the generation of solitons is independent of the addition or removal of the constant barrier potential. Furthermore, we have shown that the density probability functions are left invariant under an arbitrary time translation. These reasons explain the similar dynamic behavior observed in panels (b) and (d) of
Figure 3. The resulting solitons display identical and stable propagation in both cases, indicating that the constant barrier efficiently seeds the formation of robust soliton states. Finally, when the Gaussian barrier is removed after the holding time
s (panel (c) of
Figure 3), solitons are generated and propagated globally in a stable manner, exhibiting characteristic dynamics similar to those observed with the constant barrier. These results confirm that the formation of solitons in
is not only robust but also highly sensitive to the nature and temporal evolution of the barrier potential.
5.2. Number of Solitons Versus the Height of the Barrier
Our primary focus is to investigate, through numerical simulations, the influence of the constant barrier height on the soliton generation process and their subsequent dynamics and interactions. The barrier is held in place until the end of the dynamics.
Systematic numerical simulations reveal that the number of generated solitons depends nonlinearly on the barrier height which has the energy dimension of . For small values of , few or no solitons are created, while increasing the barrier height progressively leads to the production of multiple solitons. Interestingly, this process exhibits a plateau structure, wherein certain ranges of barrier heights correspond to a fixed number of solitons. This behavior reflects the interplay between the potential energy introduced by the barrier and the inherent nonlinearity of the condensate.
The numerical results are summarized in
Figure 4, which shows the number of solitons
N as a function of the barrier height
. The figure reveals a series of plateau regions, indicating that for specific intervals of
, the number of generated solitons remains constant before increasing in discrete steps. Notably, we observe that the maximum number of solitons produced is equal to 14, attained for large barrier heights
. This saturation suggests a limit to the number of stable solitons that can be induced within the harmonic trap configuration, likely dictated by the available energy and the condensate’s healing length. Furthermore, we observe that only even numbers of solitons are generated. This can be explained by the point symmetry
of Equation (
74) which suggests a reflection symmetry along the
z-axis.
A similar analysis was made for the Gaussian barrier in [
24]. The authors showed that the number of solitons varies in a continuous way, rather than in discrete plateaus, as the barrier width
in (
76) increases. Authors observed that as
increases, the Gaussian barrier asymptotically approaches a constant potential, leading to a saturated soliton count analogous to our constant barrier results. Our work explicitly quantifies these saturated states by taking the limit as
in Equation (
76) in order to obtain a constant barrier potential. These saturated states are thus quantified in
Figure 4.
6. Symmetry and Asymmetry
In this section, we explore the role of the spatial shifting of the barrier off-center. We break the symmetry of the system, leading to asymmetric soliton distributions. One should recall that in the
case, soliton dynamics exhibit inherent instabilities as shown in
Figure 2 that disrupt coherent symmetry/asymmetry in their motion, making their behavior highly sensitive to perturbation and numerically/experimentally transient. For clarity, we focus on the
case to emphasize the role of dimensionality in soliton stability and invariance. In
Figure 5, we show, in panel (b), the dynamics of the solitons by centering the constant barrier and fixing it at
. We notice the generation of 10 solitons (see
Figure 4) that are perfectly symmetric and colliding periodically in the center of the BEC. This period, as depicted in Equation (
73), is related to the width of the trap and can be explicitly calculated to be
. In panels (a) and (c), we break the spatial symmetry by displacing the constant barrier, respectively, on the left side of the BEC at
μm or on the right side at
μm. As one could notice, the solitons in panel (a) start by moving to the right side and collide once at around
s, and then they move to the left side and collide at around
s. For panel (c), the dynamics is perfectly asymmetric to panel (a). This highlights the sensitivity of robust soliton generation to both the barrier height and its spatial positioning, emphasizing the richness of soliton dynamics in confined Bose–Einstein condensates.
The ability to control the number, the symmetry, and the dynamics of solitons in a confined 1D BEC offers several advantages. First, this tunability allows for the exploration of controlled soliton collisions, which are of fundamental interest in the study of nonlinear integrable systems and non-equilibrium quantum dynamics. Second, solitons in BECs can serve as matter-wave interferometers, with applications in precision measurements and atom interferometry. The periodic soliton oscillations observed in the symmetric configuration could provide a platform for implementing interferometric schemes based on solitons collisions. Moreover, the sensitivity of the solitons’ trajectories to the barrier position could be exploited for sensing purposes, as small perturbations to the potential or external forces would lead to measurable deviations in the solitons’ paths. Finally, barrier engineering opens pathways toward the preparation of tailored multi-soliton states, which could serve as a basis for studying soliton gases, quantum turbulence, and other complex nonlinear excitations in ultra-cold quantum gases.
7. Conclusions
In this work, we have investigated theoretically and numerically the generation of solitons in 1D and 2D BECs. The theoretical approach in this paper has exhibit exact expressions for the
N-soliton solutions in 2D BECs using the Hirota bilinear method. We have shown the dependence of these solitons on the parameter
defined in Equation (
22) confirming the fundamental balance between nonlinearity and dispersion in the existence of such waves. Furthermore, dimensional reduction has demonstrated time translation invariance of solutions in 1D and 2D BECs, exhibiting periodicity in soliton collisions. We have explored the formation and dynamics of dark solitons in BECs confined in a harmonic trap, emphasizing the role of external barrier potentials in controlling multi-soliton states. In contrast to the two-dimensional case, where soliton solutions are prone to snake instability and rapid decay, we confirmed that in 1D, solitons are stable over long time periods and exhibit robust oscillatory dynamics within the trap. We demonstrated, as well, that the number of generated solitons depends on both the height and the shape of the barrier potential. A plateau structure emerges as the barrier height increases, indicating that the number of solitons remains constant over specific intervals of potential heights before increasing in discrete steps. This plateau behavior reflects the quantized nature of soliton generation in confined condensates.
Additionally, we observed a fundamental distinction between Gaussian and constant barriers. While Gaussian barriers require removal to trigger soliton formation, constant barriers lead to soliton generation regardless of whether they are removed or left in place. The resulting solitons display identical dynamics in both cases. We further investigated the effect of spatial displacement of the barrier from the trap center, breaking the spatial symmetry of the system. This displacement resulted in asymmetric soliton distributions and modified collision patterns, demonstrating the high sensitivity of soliton trajectories to the initial potential setup. The ability to engineer multi-soliton states through barrier shaping and spatial displacement opens up several promising applications. The controlled oscillations and periodic collisions of solitons offer a potential platform for matter-wave interferometry, while the sensitivity of soliton trajectories to external perturbations suggests applications in precision sensing.