Multi-pulse oscillations are prevalent phenomena observed in mode-locked lasers and nonlinear microresonators, where the short- and long-range interactions between nonlinear wavepackets give rise to diverse pulse patterns such as soliton molecules, soliton crystals, and soliton bursts. However, these intricate nonlinear interactions are highly sensitive to the parameters of dissipative systems, leaving the properties of multiple pulses far from being controlled, which hampers their applications such as high-speed optical communication and material processing. In this study, we propose a universal approach for quantitatively tailoring multiple solitons in mode-locked fibre lasers through spectral phase programming, enabling the on-demand generation of soliton patterns with separations that follow from constant, geometric, or arithmetic sequences. By combining with spectral filtering, we demonstrate dual-colour soliton patterns in the same cavity, further highlighting the adaptability of soliton structures. Numerical simulations validate the experimental observations, demonstrating that the spectral phase modulates solitons to emit sub-pulses, which interact with other solitons to generate trapping potentials, thereby giving rise to diverse soliton patterns.
Ultrashort laser pulses, comprising coherent electric field envelopes with durations as short as femtoseconds, serve as fundamental building blocks in nonlinear physics and ultrafast science1,2,3,4. The pursuits of improving frequency stability, enhancing pulse intensity and minimising pulse width have driven the advancement of various state-of-the-art technologies such as optical frequency comb5,6,7, chirped-pulse amplification8,9 and attosecond pulse generation10,11. Attributing to the over-accumulated nonlinear phase shift, the mode-locked lasers usually transform from single-pulse operation to a multi-pulse state at high pump levels, which is particularly pronounced for fibre lasers and nonlinear microresonators due to their strong nonlinearity and confined mode field area12,13,14.
In the presence of slow gain dynamics, the multiple pulses in a fibre laser can be arranged into evenly spaced sequences with typical separations on the order of nanoseconds15, resulting in the so-called harmonic mode locking16. Concerning the closely spaced multiple pulses within the cavity, the short-range interactions automatically assemble them into diverse patterns, commonly referred to as soliton molecules17,18,19, soliton fluids20, and soliton crystals13, analogous in many ways to their matter counterparts formed by covalent bonds. Specifically, the short-range interactions occur through the cross-phase modulation effect when multiple solitons directly overlap in their tailing fields21,22, forming soliton molecules with fixed phase relations or intriguing internal dynamics characterised by vibrating separation and sliding phase23,24. When the separations between solitons are tens to hundreds of times their durations25,26, various physical mechanisms, including perturbation-induced effects27, optoacoustic interactions28,29,30, Casimir-like effect15, and thermal effect31, are responsible for the long-range interactions. Due to the high sensitivity of these complex nonlinear interactions to the parameters of dissipative systems, the quantitative manipulation of multiple pulses in mode-locked lasers has proven to be a significant challenge.
Currently, various active approaches such as gain/loss management32,33,34,35 and polarisation optimisation36,37 have been developed to control the soliton distributions, with the majority of studies focused on two solitons. The gain modulation influences the interaction potential of two solitons, resulting in the rapid switching of soliton separation among several discrete values32,33. By introducing the filtering effect into the cavity34, the separation between two solitons can be tailored from 3.014 to 5.478 ps, whereas the soliton properties vary obviously due to the inevitable loss. With the aid of an evolutionary algorithm and a real-time feedback system, it becomes feasible to achieve a predetermined separation of two solitons through a computational process lasting several seconds36,37. The distributions of such solitons are indirectly controlled through manipulating pulse characteristics such as intensity and polarisation state, and thereby it is difficult to establish a direct functional relationship between control parameters and pulse separations.
For multiple solitons (≥3), the attractive and repulsive forces among them exhibit a significantly intricate nature, often resulting in equally spaced interaction potentials14. Thus, the active control of pulse distributions, particularly for multiple solitons with unequal distributions, still remains a significant challenge impeding their widespread applications in all-optical logic gate38, high-speed communication39 and data storage29. In this study, we propose a universal approach to quantitatively tailor soliton patterns with arbitrary distributions by programming the spectral phase inside a fibre laser. The spectral phase modulation enables the formation of discrete sub-pulses on soliton tails, following from the Fourier transform shift theorem. The overlapping and interaction between these sub-pulses and solitons give rise to multiple potential wells in the cavity, capable of trapping solitons at predetermined positions. As a demonstration, we achieve the on-demand generation of soliton patterns with separation following from constant, geometric, and arithmetic sequences, as well as dual-colour soliton patterns.
According to the Fourier transform shift theorem, the introduction of a linear spectral phase in the spectrum leads to a delay of the pulse in the time domain40,41. As depicted in the upper panel of Fig. 1a, a weak pulse is formed by imparting a linear spectral phase to the pulse spectrum, where the temporal separation between two pulses depends on the slope of the linear phase. The 2D colour plots represent the spectrograms of the pulse, which are derived from the short-time Fourier transform of the pulse electric field.
Fig. 1: Conceptual illustration of tailoring soliton patterns via intracavity phase programming.
a Sub-pulses are formed when imparting triangular spectral phases to the pulse spectrum. b Spectral phase modulation introduces seed pulses into the cavity, which evolve into robust solitons that are trapped by potential wells arising from the overlapping between sub-pulses and other solitons, resulting in tailored soliton patterns.
By programming the spectral phase on a pulse, such as imparting periodic triangular phases φ(ν), specific portions of the spectra can be extracted in the time domain, manifesting as several peaks on the spectrogram, as depicted in the middle panel of Fig. 1a. These spectral components give birth to a sequence of sub-pulses at positions of constructive interference. The triangular phase with a period of ? can be expressed as:
where the integer n corresponds to the order of the sub-pulses, ν denotes the frequency, τ represents the group delay, and δν is the bandwidth of the phase. As the amplitude of the triangular phase 2πτδν (<0.3 rad) is significantly smaller than that of the original phase (5–8 rad)42, the pulse intensity I(t) after introducing the periodic triangular phase can be analytically expressed as follows (see derivation details in Supplementary Note 1):
Here, the first term on the right-hand side represents the primary pulse, whereas the second term denotes the sub-pulses. The intensities of sub-pulses are directly proportional to the bandwidth of phase modulation δν and rapidly decrease as the order of the sub-pulses n increases.
It is worth mentioning that, the separations between sub-pulses are determined by the reciprocal of the phase period ?, and are independent of the group delay τ. Consequently, the characteristics of sub-pulses, particularly their distributions, can be quantitatively controlled via the triangular spectral phases or their superposition (lower panel of Fig. 1a). Because τ is much smaller than 1/?, the sub-pulses almost appear symmetrically on both sides of the primary pulse.
The periodic triangular spectral phase, as described by Eqs. 1, 2, introduces seed pulses into the cavity, which gradually evolve into solitons under the coaction of gain, loss, dispersion, saturable absorption, and nonlinearity. When multiple solitons co-propagate within the cavity, the periodic spectral phase modifies each soliton, generating discrete sub-pulses on soliton tails. The overlapping and interaction between sub-pulses and solitons give rise to multiple potential wells, resulting in tailored soliton patterns with on-demand separations (Fig. 1b).
In the experiment, we construct a mode-locked erbium-doped fibre laser to demonstrate our proposal and generate the desired soliton patterns. The laser cavity is comprised of a wavelength-division multiplexer, a 6-m erbium-doped fibre, a polarisation-insensitive isolator, a 90:10 optical coupler, a carbon nanotube saturable absorber, and a programmable pulse shaper. The carbon nanotube saturable absorber initiates the mode-locking operation, and the programmable pulse shaper imparts the spectral phase and filtering into the cavity. The cavity length and net cavity dispersion are 18.9 m and −0.52 ps2, respectively. The details of the laser configuration and measurement system are provided in Supplementary Note 2.
The fibre laser initially delivers a single chirp-free soliton at a pump power of ~30 mW due to the balance between the anomalous dispersion and self-phase modulation effects43 (Supplementary Note 3). The soliton number increases one by one when elevating the pump power in steps of ~5 mW. However, the distributions of multiple solitons are random and change irregularly with the pump power, polarisation state, and environmental perturbations. After incorporating the periodic triangular spectral phases into the cavity, the potential wells are established in the fibre laser, thereby enabling the generation of controllable soliton patterns.
As one of the simplest verifications, dual-pulse soliton patterns are obtained at a pump power of 35 mW using periodic triangular spectral phases depicted in Fig. 2a. In this case, the group delay τ and bandwidth δν of phase remain unchanged at 0.5 ps and 0.006 THz (0.048 nm), respectively, whereas the phase period decreases from 0.2 to 0.015 THz (1.61 to 0.12 nm); thus, the separation of the spectral phase-associated potential wells increases from 5 to 66.67 ps. As shown in Fig. 2a–d, the modulation period in the spectrum almost equals that of the spectral phase, and the soliton separations (marked by the red dots in Fig. 2b) are governed by the spectral phase-associated potential wells, increasing from 4.31 to 66.51 ps. Moreover, the same dual-pulse soliton pattern can be obtained by imparting spectral phases with different values of group delay τ, coinciding with Eq. 2 that the separations of sub-pulses are independent with τ. The experimental results support the theoretical predictions, suggesting that spectral phase modulation is the primary factor in distributing pulses within soliton patterns (see Fig. 2c).
Fig. 2: Dual-pulse soliton patterns.
a Spectra and (b) autocorrelation (AC) traces under different phase periods. c Soliton separation and spectral modulation period versus phase period. d Radio frequency spectrum for phase period of 0.056 THz. e Evolutions of the real-time spectrum and field AC trace by removing the spectral phase modulation at roundtrip 300, marked by the white dashed line.
The spectral phase-associated potential wells endow soliton patterns with remarkable resilience to perturbations in experimental conditions. For example, the fibre laser maintains the same mode-locked state throughout the entire experiment, with a variation in soliton separation of less than 0.06 ps (over 1 ms) and 0.3 ps (over 12 h) (see details in Supplementary Note 4). The pronounced modulations in the spectra and the high signal-to-noise radio frequency spectrum (Fig. 2d) also provide compelling evidence for the stability of the soliton pattern. By removing spectral phase modulation, however, the double soliton exhibits stochastic attraction and repulsion before ultimately assembling into a new soliton pattern (Fig. 2e), which further validates that the trapping effect is dominated by the spectral phase modulation.
Based on the lumped propagation model and the generalised nonlinear Schrödinger equation44,45, we conduct numerical simulations to elucidate the formation mechanism of the soliton patterns, in which the spectral phase is particularly considered by multiplying the optical field with the phase function in the frequency domain. The equation and simulation parameters are described in the “Methods” section.
Figure 3a depicts the build-up process of the double soliton with a phase period of 0.056 THz and a gain saturation energy of 165 pJ. Attributing to the periodic triangular phase modulation, the initial weak pulse gradually evolves into multiple seed pulses after 40 roundtrips, with a separation of 18 ps, coinciding with the theoretical value derived from Eq. 2. Meanwhile, the modulation structure emerges on the spectrum because of the interference between the multiple seed pulses. Afterwards, the separation of seed pulse converges to a constant value due to the spectral phase-associated potential wells. During this process, two seed pulses grow into robust solitons through the coaction of gain, self-phase modulation, anomalous dispersion, and saturable absorption. Consequently, double solitons with a separation of 19.53 ps are formed in the simulation, which closely aligns with the experimental findings (Fig. 2b: 19.41 ps).
Fig. 3: Simulations of dual-pulse soliton patterns.
a Build-up process. b Soliton separation versus cavity dispersion. The dashed line denotes the theoretical separation derived from Eq. 2 for ? = 0.056 THz. c Profiles of soliton tails. d Evolution of effective potential with soliton separation.
The build-up process of double solitons differs from that in the previous study, where the gain-loss dynamics govern the soliton splitting and soliton interaction processes before reaching the steady state46. By eliminating spectral phase modulation in the simulation, the seed pulses vanish during the build-up process, and the soliton separation markedly diverges from the theoretical prediction, thereby underscoring the essential role of spectral phase modulation in pulse formation and soliton trapping (Supplementary Note 5).
It is worth noting that the soliton separations mentioned above slightly deviate from the theoretical prediction (18 ps) based on the Fourier transform principle (Eq. 2). By varying the cavity dispersion from −0.65 to −0.02 ps2, we study the evolution of double solitons with cavity dispersion under the same phase period of 0.056 THz (Fig. 3b). The soliton separation deviates from the theoretical prediction in the anomalous dispersion regime (grey region), and converges to approximately 18 ps in the near-zero dispersion regime (green region). This phenomenon can also be verified in the experiment by tuning the cavity dispersion from −0.52 to −1.52 ps2 (Supplementary Note 6).
As evidenced by the experimental and simulated demonstrations, such deviation is primarily attributed to the cavity dispersion. In anomalous-dispersion fibre lasers, the solitons are perturbed and release energies in the form of dispersive waves, giving birth to oscillating tails under the phase-matching condition47. As these perturbed solitons co-propagate within the laser cavity, they interact through their oscillating tails and also induce potential wells, compelling each soliton to align with the peaks of oscillations27. In the near-zero dispersion regime, the phase-matching condition is harsher to be satisfied within the gain bandwidth of the laser. As a result, the potential wells induced by dispersive waves become much weaker, thereby reducing the deviation in soliton separation.
The effective potential can be calculated in terms of the integrals of overlapping between separated solitons17. In our scheme, the spectral phase modulation imparts solitons with sub-pulses on tails, whose intensities are significantly larger than those induced by dispersive waves (Fig. 3c). We utilise two solitons to calculate the effective potential as a function of soliton separation (see details in Method and Supplementary Note 7). As illustrated in Fig. 3d, the red dashed circles denote potential wells originating from spectral phase modulation, with depths much larger than those induced by dispersive waves (black dashed boxes). These results confirm that spectral phase modulation can create potential wells within the cavity, enabling the effective trapping of solitons. Moreover, the properties of potential wells can be flexibly controlled by the spectral phase parameters and relative phase between two solitons (Supplementary Note 8).
As a periodic triangular spectral phase creates many equally spaced potential wells, multiple solitons with constant separations can be obtained in the fibre laser by solely elevating the pump power. Figure 4a, b shows the spectra and autocorrelation (AC) traces of such soliton patterns for the same phase period of 0.056 THz as that in Fig. 2. The soliton number increases one by one with the enhancement of pump power while the solitons are trapped by the spectral phase-associated potential wells, with separations spanning from 19.13 to 19.15 ps, also comparable with the theoretical prediction of 18 ps. By solely increasing the phase period to 0.083 THz, the soliton separation is reduced to approximately 12 ps (Supplementary Note 9), further validating that the distribution of multiple solitons primarily relies on the spectral phase.
Fig. 4: Soliton patterns with constant sequence separations.
Experiment: a spectra and (b) AC traces. Simulation: c Spectrum and (d) soliton pattern. Build-up processes of (e) triple and (f) quadruple solitons.
The simulation results agree with the experimental observations, wherein by increasing the gain saturation energy to 235 and 380 pJ, triple and quadruple solitons with constant separations are established respectively (Fig. 4c–f). The build-up processes resemble that of the double solitons, both involving the transformation of the seed pulses into robust solitons and the trapping process. The separations of seed pulses are equal to the reciprocal of the phase period (18 ps), highlighting the crucial role of spectral phase modulation in generating soliton patterns with constant sequence separations. The presence of such soliton patterns suggests the potential for generating soliton crystals under sufficient gain and nonlinearity.
The key to tailoring multi-pulse soliton patterns involves the precise manipulation of sub-pulses and spectral phase-associated potential wells. According to the Fourier transform principle, the superposition of spectra with multiple periodic triangular spectral phases generates sub-pulses exhibiting unequal separations due to interference (lower panel of Fig. 1a). This, in turn, leads to unequally spaced potential wells that trap solitons, thereby facilitating the generation of multiple solitons with arbitrary distributions.
We first demonstrate quadruple solitons with geometric sequence separations in the fibre laser (Fig. 5a–d), where the spectral phase exhibits three distinct periods: 0.1, 0.033, and 0.014 THz, corresponding to sub-pulse separations of 10, 20, and 40 ps, respectively (the detailed parameters of the spectral phase are provided in Supplementary Note 2). Owing to the interference of multiple solitons with unequal separations, the spectrum displays intricate beating fringes while the envelope features a quasi-Sech2 profile, a typical fingerprint of solitons in anomalous-dispersion regime (Fig. 5b). By incorporating the frequency control actuator into the cavity48, the mode-locked fibre laser may generate a customised optical frequency comb on demand.
Fig. 5: Soliton patterns with geometric and arithmetic sequence separations.
a, e Spectral phases. b, f Spectra. c, g AC traces. d, h Distributions of soliton patterns and sub-pulses. Simulation: i, j Build-up process of quadruple solitons with geometric sequence separations. k Spectrum and l soliton pattern in the steady state.
Unlike equally spaced solitons, the AC traces show gradually decreasing multi-peak structures (Fig. 4b), the AC trace in Fig. 5c displays one main peak and multiple side peaks, from which the pulse distribution in the soliton pattern can be extracted based on the autocorrelation theory49 (see details in Supplementary Note 10). As shown in Fig. 5d, the soliton pattern is composed of four pulses with separations of 10.36, 22.29, and 42.02 ps, which correspond to the most prominent sub-pulses induced by the spectral phase (indicated by the green triangles).
Keeping the other parameters unchanged, quintuple solitons with arithmetic sequence separations can also be obtained by imparting four periodic triangular spectral phases into the cavity (the phase periods are 0.1, 0.04, 0.022, and 0.014 THz). As shown in Fig. 5e–h, the soliton separations extracted from the AC traces are 12.19, 17.37, 20.75, and 23.52 ps, which are comparable with the theoretical values of 10, 15, 20, and 25 ps, respectively. The pulse number and separation of these soliton patterns can be flexibly manipulated by changing the pump levels and phase periods. For example, we successfully generated quadruple solitons with separations following the arithmetic sequence in the same fibre laser (Supplementary Note 11).
We further simulate the build-up process of the quadruple solitons with geometric sequence separations (Fig. 5i–l). Starting with a weak pulse, the spectral phase first induces multiple seed pulses with unequal separations inside the cavity before 50 roundtrips. Then the seed pulses undergo complex soliton interactions, including drift and collision. After that, the pulse splits and is trapped by the spectral phase-associated potential wells, ultimately reaching a steady state. For free-running multiple solitons, the mutual interactions among them usually lead to various evolution dynamics, such as sliding and oscillating phase50. However, the phase relations among multiple pulses in soliton patterns nearly remain unchanged, indicating the robustness of such soliton structure.
The soliton separations (i.e. 12.76, 22.58 and 36.1 ps) are comparable to the theoretical values, confirming the validity of the phase programming approach for generating soliton patterns with arbitrary distributions. The deviations from the theoretical predictions also stem from the dispersion-associated potential wells—such deviation becomes less evident in a near-zero dispersion fibre laser, wherein an ideal geometric sequence soliton pattern can be established with the same phase modulation (Supplementary Note 12, the pulse separations are 10.24, 20.06 and 39.61 ps).
Our results indicate that each pulse in these soliton patterns corresponds to the first-order potential wells induced by the periodic triangular spectral phase. This can be deduced from Eq. 2 that the sub-pulses for n = ±1 exhibit the highest intensities. The combined influence of gain competition, saturable absorption, and slow gain dynamics could shape the leading sub-pulse (n = −1) into a soliton while other sub-pulses undergo gradual decay during circulation within the cavity.
In principle, soliton patterns with arbitrary distributions can be achieved through the phase programming approach. However, the limited resolution of the programmable pulse shaper (0.001 THz) results in a minimum phase period of 0.002 THz, thereby restricting the maximum soliton separation to less than 500 ps. The utilisation of dielectric metasurface51 or electro-optic modulator25 may support soliton patterns with more distant separations. When the ratio between soliton separation and duration is less than ~5, the short-range interaction17,18 becomes comparable to the spectral phase-associated trapping effect, and both dominate the characteristics of soliton patterns. This implies a prospective avenue to investigate the interaction force between closely spaced solitons through the phase programming approach.
By simultaneously imparting the periodic triangular phases and parabolic phases into the cavity, the proposed fibre laser can also generate dual-colour soliton patterns with on-demand separations both in the time and frequency domains, aided by a double-channel band-pass spectral filter. Figure 6a–h depicts the properties of the measured and simulated dual-colour soliton patterns. The phase profiles are shown in Fig. 6a, e, in which the parabolic phase enables the synchronisation of solitons at different wavelengths, and the periodic triangular phase (the zoom-in of Fig. 6a, e) facilitates the generation of potential wells to trap solitons. In fact, the dual-colour soliton patterns consist of four elementary pulses. In each mode-locked spectrum, two pulses form a soliton molecule with a separation of 48.02 ps due to the influence of the periodic triangular phase. With the aid of the group-delay compensation induced by the parabolic phase and saturable absorption52, two soliton molecules at 1540.85 and 1545.93 nm are synchronised and overlapped in the time domain, forming a dual-colour pattern with modulated structures.
Fig. 6: Dual-colour soliton patterns.
a, e Spectral phases. b, f Spectra and filter traces. c, g AC traces. d Wavepackets extracted from the AC trace and (h) obtained in the simulation. i, j Build-up processes.
The formation of dual-colour soliton patterns includes pulse stretching, narrowing, splitting, and trapping (Fig. 6i, j), in which the chromatic dispersion, nonlinear effect, gain, and spectral phase-associated potential wells dominate the four processes, respectively. It is worth noting that, the separations of wavepackets in dual-colour soliton patterns can be tuned over a wide range without affecting other pulse properties such as wavelength spacing and wavepacket width (Supplementary Note 13).
The wavelength number of dual-colour soliton patterns could be increased by imparting multiple parabolic phases and spectral filtering into the cavity. As the spectrum is confined by the spectral filter, the wavepacket width can be flexibly adjusted by tuning the filtering bandwidth due to the transform-limited nature of the soliton. In this regard, the utilisation of phase programming in conjunction with spectral filtering provides a multi-dimensional approach to tailor soliton patterns in both the frequency and time domains. Such unique dual-colour soliton patterns not only provide a profound analogy with complex molecular compounds in chemistry, such as H2O2 and C2H2, but also hold significant potential in the fields of ultrafast spectroscopy53 and dual-comb ranging54.
We have demonstrated a universal approach for tailoring soliton patterns in a mode-locked fibre laser. By programming the spectral phase within the cavity, the temporal distribution and spectral properties of solitons can be quantitatively manipulated, giving birth to a variety of elegant soliton patterns. The experimental observations are fully reproduced and explained by numerical simulations, showing that the periodic spectral phase modifies solitons to form sub-pulses on their tails. The overlapping and interaction of sub-pulses with other solitons results in multiple potential wells for soliton trapping, thereby giving rise to the soliton patterns with customised distributions, under the synergistic interplay among gain, anomalous dispersion, saturable absorption, and nonlinearity.
Previous studies on the manipulation of soliton patterns have focused on two solitons32,33,34,36,37. The phase programming approach overcomes this limitation by introducing multiple sub-pulses into the laser cavity, enabling the quantitative tailoring of soliton patterns with arbitrary temporal distributions and spectral morphologies. In contrast to the spectral filtering method36, the phase programming approach enables the manipulation of multiple solitons without introducing any filter loss into the cavity.
The temporal phase modulation approaches, such as electro-optic modulation25 and optomechanical interaction29, create trapping potentials by modifying the instantaneous frequencies of solitons, capable of forming soliton patterns with equal separations. In contrast, spectral phase modulation enables the formation of soliton patterns with arbitrary distributions, and such a scheme does not require the locking between the phase period and free spectral range of the cavity.
By incorporating photonic crystal fibres into the laser cavity, the coaction of optomechanical interaction and spectral phase modulation may permit the generation of highly ordered soliton patterns with customised separations29,30, further extending the light-matter molecular analogy and enriching the physics of the laser system. Thus, the proposed laser can serve as an ideal platform for exploring new types of nonlinear wavepackets and understanding their evolution dynamics, with significant potential in communications55 and all-optical switching33.
Previous studies have demonstrated that the temporal parabolic potential can stabilise the oscillatory and chaotic dynamics56, favoring the formation of static dissipative Kerr solitons. Given that the trapping potentials induced by soliton tails have been utilised to effectively control chaotic soliton bunches57, our scheme holds great promise for mitigating chaotic dynamics in coherently driven passive cavities, generating novel dissipative structures such as asymmetric breathers and chimera-like states58, and exploring Bloch oscillations in a synthetic frequency dimension59.
The proposed scheme exhibits remarkable versatility beyond fibre lasers, demonstrating the promising potential for application in other nonlinear systems capable of supporting multi-pulse oscillations, such as microresonators60,61 and solid-state lasers62. Recent report has demonstrated that the periodic potential field generated by the dual pumps enables the on-demand synthesis of soliton crystals63. In this regard, our proposal holds great promise for tailoring soliton patterns in microresonators with enhanced flexibility, thereby forming intricate frequency combs for specific applications. Note that the relative phase between two solitons can be actively manipulated by tuning the pump power64, further investigation can focus on the joint manipulation of the distribution and phase of multiple solitons.
From an application perspective, the fibre laser can generate soliton patterns with arbitrary distributions, which is particularly attractive in laser processing as such pulses could provide higher ablation efficiency and machining accuracy than a single one65,66. Specifically, the soliton pattern with different separations presents a viable option for non-reciprocal ultrafast laser writing67. The phase programming approach also provides a feasible avenue for data encoding and optical storage. For example, the information 'NPU' can be written into the cavity through tailoring quadruple soliton patterns (Supplementary Note 14).
The numerical simulation is based on the lumped propagation model, where each component is modelled by a transmission function45. After one circulation, the output pulse is utilised as the input for the subsequent roundtrip until the laser reaches a self-consistent state. During propagation in passive fibre and gain fibre, the pulse is governed by the generalised nonlinear Schrödinger equation incorporating gain, loss, dispersion, and Kerr nonlinearity19:
Here, u represents the slowly varying envelope of the pulse, t and z are the time and propagation distance, respectively. γ is the cubic refractive nonlinearity and β2 denotes the second-order dispersion coefficient of fibres. g, α, and Ωg represent the gain, loss, and gain bandwidth, respectively. For the erbium-doped fibre, g = g0exp(−Ep/Es), in which g0, Ep, and Es are the small-signal gain coefficient, pulse energy, and gain saturation energy, respectively. The transmittance function of the saturable absorber is TSA = 0.46 − T0/[1 + P(t)/Psat], where T0, P(t), and Psat denote the modulation depth, instantaneous pulse power, and saturable power, respectively. The typical split-step Fourier method is employed to solve this equation68.
The programmable pulse shaper imparts spectral phase and spectral filtering into the cavity, which is modelled by multiplying the optical field with the corresponding function in the frequency domain. The function of the periodic triangular phase is depicted in Eq. 1. The two parabolic phases exhibit identical profiles but differ in their central frequencies. Each parabolic phase is modelled by φP(ν) = A(ν − νc)2/4π2, where A and νc represent the group-delay dispersion and central frequency, respectively. The transmittance function of the filter is:
where B is the filtering bandwidth, ν0 and ν1 represent two central frequencies of double-channel band-pass spectral filter. The spacing between two passbands (i.e. ν0 − ν1) is the same as that of two parabolic phases.
The simulation parameters are set as follows to match the experiments: T0 = 0.08, Psat = 10 W. For the single-mode fibre, α = 4.6 × 10−5 m−1, β2 = −21.7 ps2 km−1, γ = 1.3 W−1 km−1. For the programmable pulse shaper, β2 = −120.3 ps2 km−1, γ = 0. For the erbium-doped fibre, g0 = 0.7 dB m−1, β2 = 21.3 ps2 km−1, γ = 3.9 W−1 km−1. For the double solitons in Fig. 3, Es = 165 pJ, the parameters of the triangular phase (?; τ; δν) is (0.056 THz; 0.5 ps; 0.006 THz). For the triple and quadruple solitons in Fig. 4, Es are 235 and 380 pJ, respectively. The other parameters are the same as that of double solitons. For the geometric sequence soliton pattern in Fig. 5, Es = 165 pJ. The imparted triangular phase contains three functions with parameters: (?; τ; δν) = (0.1, 0.033, 0.014 THz; 0.5, 1.5, 7.5 ps; 0.045, 0.014, 0.0085 THz). For the dual-colour soliton pattern in Fig. 6, Es = 350 pJ, A = −4.943 ps2, B = 0.201 THz, ν0 − ν1 = 0.641 THz, δν = 0.0025 THz, τ = 3 ps, ? = 0.02 THz.
In the context of a perturbed nonlinear Schrödinger equation, the interaction of slightly overlapping solitary pulses enables the formation of two- and multi-pulse bound states17. The effective potential can be calculated in terms of the integrals of overlap between separated solitons. For the two solitons separated by Δ, the effective potential U between them can be approximately expressed as (see details in Supplementary Note 7):
where u1(t) and u2(t) represent the amplitude functions of solitons. The local minima of the effective potential represent the potential wells for soliton trapping. Because the effective potential arises from the interaction of soliton tails, Eq. 5 is only valid for soliton patterns with separations larger than five times the soliton width.