Fabrication of the silicon master
The grating and waveguide nanostructures and microstructures were fabricated on 25 × 25 mm Si(100) substrates using EBL (RAITH Voyager) followed by reactive ion etching. The grating pattern was defined using a 130-nm-thick poly(methyl methacrylate) (PMMA) electron-beam resist layer spin-coated onto the silicon substrate and exposed by EBL at a dose of 580 μC cm−2. The exposed resist was developed in a MIBK:IPA (1:3) solution. A 40-nm-thick chromium film, serving as an etch hard mask, was subsequently deposited by electron-beam evaporation, and the remaining resist was removed in acetone. The pattern was transferred for 50 nm into the silicon substrate using fluorine-based reactive ion etching (CF4, CHF3, O2, Ar). The chromium mask was then removed by wet chemical etching. An analogous process was used for the fabrication of the waveguide structures, with optimized parameters as follows: PMMA resist thickness of 360 nm, EBL exposure dose of 280 μC cm−2, chromium mask thickness of 60 nm and reactive ion etching etching depth of 250 nm. Following chromium mask removal, the silicon master was cleaned in a piranha solution for 15 min to eliminate any residual organic contamination. The final silicon master featured microwire waveguides and interferometer-like geometries with lateral dimensions from 2 µm to 30 µm, and a height of 250 nm. Each waveguide incorporated nanometre-scale grating arrays covering areas of roughly 10 × 10 µm2, with a height of 50 nm, pitches between 240 nm and 300 nm and varying filling factors, directly etched onto the surface. The aspect ratios (height/width) of the patterned structures, including both the waveguides and the gratings, ranged from approximately 0.01 to 0.60. The grating width was intentionally designed to be smaller than the waveguide width (Supplementary Figs. 3 and 4), so that the grating lines remain confined within the inner region of the waveguide and do not overlap with the waveguide borders in the etch mask, thereby avoiding local sidewall indentations during the two-step dry-etching process and preserving a more uniform waveguide geometry for crystal growth. For the interferometer, the structure includes a sequence of lateral modulations before the Y-splitter, efficiently redistributing the guided mode into the two branches (Supplementary Fig. 4).
Fabrication of multiscale CsPbBr3 perovskite waveguides
Perovskite devices were fabricated using a modified soft-lithography approach that combined surface-tension-driven lithography with microfluidic processing of a liquid precursor solution, using PDMS replicas moulded from silicon masters with predefined multiscale geometries. A mixture of PDMS prepolymer and curing agent (10:1, Sylgard 184, Dow Corning) was cast onto the Si master and cured at 140 °C for 10 min. The polymerized PDMS layer was then carefully detached from the master before the use. A 0.42 M precursor solution was prepared by dissolving 106 mg of CsBr and 183.5 mg of PbBr2 (1:1 molar ratio) in 1.2 ml of dimethylsulfoxide. The mixture was stirred at 80 °C on a hotplate inside a nitrogen-filled glove box for 2 h, yielding a clear solution. Immediately before use, the precursor solution was diluted to concentrations in the range 0.05–0.1 M for the CsPbBr3 crystal growth. The precursor solution was deposited in contact with the patterned PDMS replica until the capillary pressure required for complete imbibition of the microstructures and nanostructures was reached. Once nucleation began, with the liquid meniscus pinned to the sidewalls of the nanoscale features, the PDMS replica was placed in conformal contact with a glass substrate to seal the microwire waveguides26,27. At this stage, capillary forces and surface interactions guided the solution through the microfluidic channels. Within the confined geometry, the reduced precursor volume and the progressively increasing concentration and viscosity gradients promoted perovskite nucleation through surface-tension-driven self-assembly precisely at the elastomer–air interface of each microstructure and nanostructure28,49,50,51. Crystallization inside the microchannels was optimized by imposing controlled temperature ramps (from 4 °C to room temperature) and by maintaining controlled vapour saturation and a pressure of 0.02 N cm−2 (refs. 52,53). After complete solvent evaporation, the PDMS replica was removed, yielding CsPbBr3 positive structures directly on the glass substrate that faithfully reproduced the microscale and nanoscale features of the original Si master. To assess fabrication reproducibility, we report in Supplementary Fig. 23 a set of nominally identical microwire arrays fabricated under the same conditions. The samples showed a consistent optical response, with only minor detuning variations. It is important to note that the grating width was intentionally designed to be smaller than the waveguide width, see Supplementary Figs. 3 and 4, to preserve continuous sidewalls in the elastomeric microchannels used for soft-lithography growth, ensuring uniform capillary filling and crystallization conditions while avoiding sidewall discontinuities that could introduce structural defects or make the crystal more fragile during replica peeling. The accessible limits of the proposed fabrication approach were determined by the fidelity of pattern transfer from the master mould to the elastomeric replica and subsequently to the perovskite crystal. On the basis of the aspect ratios demonstrated here (0.01–0.6), we anticipate that perovskite waveguides with thicknesses of roughly 100–150 nm and lateral dimensions of roughly 250–400 nm should be feasible. For periodic nanostructures, we note that some of the geometries investigated in this work (Supplementary Fig. 2) already contain lateral features as small as 50–80 nm, approaching the practical resolution limit of standard PDMS-based replication. Further reduction of the feature size would probably require optimization of the elastomeric replica itself.
Confocal microscopy
Confocal images were acquired using a Zeiss LSM 980 confocal microscope in high-resolution mode (1,024 × 1,024 pixel). Samples were prepared on microscope slides and characterized using a 488-nm excitation laser and a main beam splitter (MBS 488/639-nm) with appropriate photomultiplier tube (PMT) and gallium arsenide phosphide (GaAsP) detectors. All samples were imaged at various magnifications using Plan-Apochromat objectives of ×10 with a numerical aperture of NA = 0.45, ×20 NA = 0.8 and ×40 NA = 0.95. Three-dimensional images were obtained using the Z-stack scanning mode, which generated optical slices at various depths. Image analysis across different acquisition channels, tomographic reconstructions, spectral profiles and three-dimensional rendering were performed using the dedicated ZEN BLUE software.
AFM and SEM
AFM measurements were performed with a Dimension Icon (Bruker AXS) instrument, equipped with the Nanoscope V controller. Images were acquired in air, at room temperature, in Tapping Mode to protect the samples from damage. A rotated tapping etched silicon probe (Bruker) with a nominal radius of curvature R ≤ 8 nm was used. The morphology of the Si masters was investigated using a Sigma 300 (Zeiss) field emission SEM operated at an acceleration voltage of 5 kV and with an in-lens detector.
Optical measurements
All the optical measurements were performed by using microscope objectives at ×100 magnification and a numerical aperture of 0.9 (Zeiss) in a reflection configuration. The pumping lasers were taken from a pulsed source (Pharos, Light Conversion) with a tunable repetition rate and a pulse duration of <290 fs, which drove two computer-controlled optical parametric amplifier (OPA) stages (Orpheus OPA, Light Conversion). The OPA outputs were independently tunable in wavelength and, depending on the specific measurement (single-beam or double-beam excitation), were used either simultaneously or individually. In all the experiments, the repetition rate was set to 10 kHz. Energy-resolved momentum-space maps were collected by imaging the back focal plane of the objective onto the entrance of a spectrometer (Andor, Kymera 328i Spectrograph), equipped with three gratings (150 lines per mm, 300 lines per mm, 600 lines per mm) and coupled to a two-dimensional charge-coupled device (CCD camera, Andor, iStar 334T). For photoluminescence off the resonance pump, the laser was set to 480 nm and the emitted photoluminescence signal was filtered using an edgepass filter (Thorlabs, FELH0500) to suppress the residual excitation laser and isolate the emission. TE and TM polarizations were defined with the waveguide axis aligned to the entrance slits of the spectrometer, such that the electric field was parallel (TE) or perpendicular (TM) to the grating periodicity. The two polarizations were selectively monitored by using a half-wave plate (AHWP10M-600) and a linear polarizer (GTH10M-A) along the detection line. The laser pumping power was controlled by using a variable neutral-density wheel filter. For double-beam experiments, the two OPA outputs were temporally matched by using a delay line (Newport, M-ILS 150CC DC Servo Linear Stage). Reflectivity measurements shown in Supplementary Fig. 5 were performed by using a broadband white-light illumination in a reflection configuration, with a spot diameter of roughly 10 μm on the grating coupler. For the photoluminescence measurements shown in Supplementary Fig. 7, the waveguide was excited between two gratings whereas for Supplementary Fig. 6 the emission from a single grating was spatially selected. With reference to Fig. 3b, the temporal profiles were obtained by subtracting the residual photoluminescence signal generated by the amplifier alone, which remained constant across all temporal scans. The amplifier-only signal was collected separately using the same exposure time and then subtracted from the measurements in which both beams were simultaneously present. The same procedure was applied to the measurements in Fig. 4c,d, for which the signal obtained with the phase shifter alone was recorded under identical conditions and subtracted from the corresponding datasets. For the amplification measurements, Δt = 0 ps is defined as the relative amplifier-signal delay that maximizes the amplified signal intensity at the pumped region. This delay was experimentally optimized at each amplifier power, thereby inherently accounting for the relaxation dynamics leading to the population responsible for amplification and their possible dependence on the amplifier power.
Theoretical part
Infinitely periodic dispersions have been calculated taking into account fully dispersive experimental literature values for the real and imaginary parts of the refractive index54. To quantitatively relate the measured phase difference to a microscopic excitonic energy shift, we consider two waveguides governed by the same light–matter coupled dispersion, with one of them subjected to a small blueshift of the exciton resonance. To relate to this experiment, this blueshift came from the interaction between the signal and the reservoir created by the non-resonant pump. The system was probed at a fixed frequency (ω), such that the effect of the perturbation would not change the frequency of the mode, but rather modify its propagation constant. The observable phase difference after a propagation length L therefore directly reflected the difference in wavevectors between the two configurations, (Δɸ = ΔkL). We consider the propagation of a waveguided mode in the strong-coupling regime described by the lower polariton dispersion relation. For a reference waveguide, the dispersion reads:
$$\omega (k)=\frac{({ck}+{\omega }_{x})}{2}-\frac{1}{2}\sqrt{[{({ck}-{\omega }_{x})}^{2}+{\varOmega }^{2}]}$$
Here k denotes the in-plane wavevector (propagation constant) of the guided mode and c represents the slope of the bare photonic dispersion, such that \({E}_{{\rm{ph}}}(k)\approx {ck}\). The parameter Ω corresponds to the Rabi splitting energy whereas ωx is the exciton resonance energy. The non-resonant pump on the second waveguide creates an exciton reservoir inducing a blueshift of the exciton, therefore the dispersion of the waveguide under the non-resonant pump reads:
$$\omega (k+\Delta k)=\frac{c(k+\Delta k)+{\omega }_{x}+\Delta \omega }{2}-\frac{1}{2}\sqrt{{[c(k+\Delta k)-{\omega }_{x}-\Delta \omega ]}^{2}+{(\varOmega -{g}_{{\rm{sat}}})}^{2}}$$
where gsat accounts phenomenologically for a possible saturation-induced reduction of the light–matter coupling strength and is included for completeness. However, in the following, we set gsat = 0 for simplicity, as the overall trend of the shift is captured. Because ω is fixed between the two waveguides, the phase difference reduces to:
$$\Delta \phi =\Delta kL$$
Substituting Δk yields:
$$\Delta \phi =\left(\frac{\Delta \omega }{c}\right)\frac{\sqrt{{(ck-{\omega }_{x})}^{2}+{\varOmega }^{2}}+(ck-{\omega }_{x})}{\sqrt{{(ck-{\omega }_{x})}^{2}+{\varOmega }^{2}}-ck+{\omega }_{x}+2\Delta \omega }L$$