Introduction

The use of retarders in optics is not new, with waveplates cut from birefringent crystals becoming commercially available as early as the mid-20th century. These homogeneous retarders found use in many optical experiments and soon developed tunability through a variety of different electrically and mechanically driven phenomena. Such components, including photoelastic modulators and liquid crystal devices, are commonplace in optical labs today. In modern nomenclature, retarders are named according to the shape of their fast and slow axes, with linear retarders being a special case of the more general elliptical (arbitrary) case1,2. In this work we ask the question: is it possible to construct arbitrary retarder devices that are tuneable, thereby creating a reconfigurable form of structured matter?

We find that tuneable linear retarder arrays, such as spatial light modulators (SLMs), have a long history, the earliest of which can be traced back to Hamamatsu in the 1980s. There are many ways of realising beam modulators based on tuneable linear retarder arrays3,4,5,6,7,8,9,10, with the dynamic control of metasurfaces11 being a particularly promising one. This nascent field has already found use in a large range of applications including nanophotonics12, holography13 and ultracompact polarimetry14, with the potential for on-chip integration. In parallel, advancements in fabrication techniques such as photolithography have enabled the construction of passive arbitrary retarder arrays, with each point on the array having a designed axis geometry and retardance value (see Ref. 1 for a mathematical description of these parameters). Some techniques that achieve this include the spatial patterning of birefringent substrates15, selective polymerisation of liquid crystals16, and more recently, through metasurfaces13,17,18.

While the linear retarder based devices offer tunability for phase and polarisation control, their use of linear retardation limits the controllable degrees of freedom for manipulating light3,4,5,6,7,8,9,10, elliptical retarder devices can do arbitrary retardation, but suffer from lack of tuneability. A tuneable arbitrary retarder array could address both challenges simultaneously and has been proposed theoretically19,20,21. However, to date, no experimental realization has been reported.

Here, for the first time, we experimentally realise a tuneable arbitrary retarder array (see Fig. 1a) via virtual pixels with full control over all degrees of freedom by cascading a series of low functionality devices (see Fig. 1b), implemented in our experiments as three SLMs and a deformable mirror (DM). We show that a cascade of elements with judicious encoding can mimic a pixel-controllable arbitrary retarder of any axis geometry, retardance value, and induced phase, simultaneously. This allows us to demonstrate three key applications of this new virtual device (see Fig. 1c). First, we show its power as a reconfigurable, sophisticated beam generator to create complex structured light, including for the first time realising a paraxial optical skyrmion bag, with a random input field. Second, we demonstrate the capability of this modulator as a novel tuneable beam analyser by virtue of its ability to analyse polarisation states simultaneously and provide complete analysing channels, achieving flexible sensing of polarisation sensitive samples. This includes archaeological details which have not been revealed before. Lastly, using the array’s direct polarisation aberration compensation capability as a vectorial adaptive corrector, we dynamically correct spatially varying arbitrary retardance aberrations. This approach, employing novel adaptive optics methods, is validated through focus correction in a complex aberrated system.

Fig. 1: Tuneable arbitrary retarder array and the applications.
figure 1

a A schematic of a tuneable elliptical (arbitrary) retarder array. The shape and colour of each pillar indicate different retarder axis geometries, while the pillar height corresponds to its retardance value. A vector representation (like the Stokes vector using S1, S2, and S3) is used to describe the axis geometry. For visualization, we use hue to represent the azimuthal angle \(\tan \theta=\frac{{S}_{2}}{{S}_{1}}\) and lightness to indicate the magnitude of \({S}_{3}\), similar to ref. 22,23. b A tuneable arbitrary retarder array-based device can be formed via reconfigurable pixels, allowing control over axis geometry \(\alpha\), orientation \(\beta\), retardance value \(\gamma\), and induced phase \(\delta\), allowing its functionality to be switched on demand. However, these devices do not physically exist. Through this work, the construction of the device is achieved by four cascading low-functionality devices such as SLMs and DM (see Supplementary Method 1), hence forming virtual pixels that together act as a synthetic form of reconfigurable structured matter. Note that for all applications conducted in this paper, a precise calibration of such an array must first be performed (see Supplementary Method 2 and Supplementary Note 1, which includes device performance assessment) to achieve accurate pixelated control of arbitrary-to-arbitrary SoP and phase conversion. c Three functions that the arbitrary retarder array can perform: a novel beam generator, beam analyser, and beam corrector. The polarisation ellipses are plotted and coloured according to the magnitude of the last component of the Stokes vector to illustrate the transition from left circular polarisation (LCP) to right circular polarisation (RCP).

Results

Concept

At the heart of our approach is the notion of virtual pixels through a cascade of lower functionality devices (such as four commercially available, tuneable devices in this work; see Supplementary Method 1) that are used as a tuneable arbitrary retarder array prototype (see Fig. 1b). Note that for all retarders, if and only if such an arbitrary retarder device is mimicked, arbitrary-to-arbitrary state of polarisation (SoP) and phase conversion can be achieved through two conjugated planes in a pixelated manner. This distinguishes our solution from existing cascaded SLM-based methods3,4,5,6,7,8,9,10, which cannot do arbitrary-to-arbitrary conversion. Importantly, the applications demonstrated in this paper are not limited to our proposed SLM- and DM-based devices; they can be implemented with any device capable of functioning as a tuneable arbitrary retarder array.

Application 1: Beam generator. To demonstrate the broad scope of methodologies and applications that the tuneable arbitrary retarder array can enable, we first utilise it as a new skyrmionic beam generator. Optical skyrmions are topologically protected quasiparticles that have been recently introduced to the field of structured light23,24. However, methods of generating optical skyrmions are still in their infancy, with the common amplitude and phase paradigm achieving low fidelity and being unable to synthesize complex optical skyrmions. Moreover, the limitation of a fixed input uniform SoP restricts flexibility. To address these challenges, we demonstrate a new light manipulation paradigm using our proposed array, based on a light-matter interaction involving arbitrary retarder. This enables, for the first time, the generation of paraxial beams with complex topologies such as optical skyrmion lattices and bag.

The procedure of beam generation is as follows: First, an arbitrary field with known polarisation and phase is incident upon the array (here we use a beam with circular polarisation and a flat phase for simplicity). Second, we determine the expected output fields. Third, we calculate the corresponding spatial retarder distributions and encode them into the retarder array sequentially (see Supplementary Method 1 and 2). Fourth, we use a Stokes polarimeter to record the beam profiles25. We then verified the feasibility of generating complex beams. As shown in Fig. 2a, the theoretical and experimental results of six representative profiles confirm that the complex skyrmionic beams generated by our array well-matched their corresponding ground truths. We also show two examples of the measured Mueller matrices (see Fig. 2b) of the array, obtained using the conventional dual rotating waveplate polarimetry technique26, alongside the corresponding theoretical profiles, to demonstrate their consistency with our expectations in the object’s point of view. We then further tested a random non-uniform input field (see Fig. 2c) through the same procedure as before, and found that the device is able to convert the field into optical skyrmion bag, thereby validating that it circumvents the need to pre-determine the input SoP and phase. Two examples are shown in Fig. 2d to illustrate the wrapped relationship between these complex optical fields (unit skyrmion and bag) and the 2-spheres, representing a form of stereographic projection.

Fig. 2: Tuneable arbitrary retarder array as a new beam generator.
figure 2

a Six generated complex skyrmionic beams with both simulated and experimental results, including: individual optical skyrmions, optical skyrmion lattices, meron lattices, high-order optical skyrmions with azimuthal and radial variations, and skyrmion bag. b Theory and experimental results of the Mueller matrices of the two high-order optical skyrmion generators. c The optical skyrmion bag generated with a non-uniform input beam. The skyrmion number, as well as the unit skyrmion inside the bag has been demonstrated. d Visualization of optical skyrmion and skyrmion bag mapped onto the Poincaré and Bloch spheres, illustrating their topological properties. The vectorial arrows in space (as well as the Stokes ellipses in space representing SoP), which can be stereographically mapped from a Bloch sphere (as well as Poincaré sphere) that holds the skyrmionic state.

Note any paraxial topological structured field that exists in the plane perpendicular to the direction of propagation can theoretically be realised by our array through the same process. This potentially includes exotic states that have both non-trivial orbital angular momentum and non-trivial skyrmion number. Furthermore, the utility of such tuneable retarder arrays for dynamic beam generation allows us to easily investigate the properties of different topologically structured fields under the same platform and experimental condition. As an example, we show topological protection for two beams through uniform isotropic and anisotropic perturbations (see Supplementary Method 3 and Supplementary Note 2).

Application 2: Beam analyser. The arbitrary retarder array can serve as tuneable polarisation analysis channels. Full Poincaré units (FPU)27, taking advantage of their unique properties in the analysis of all SoPs simultaneously, have been used to achieve high-precision polarisation measurement through physical inference, circumventing the error accumulation problem of traditional measurement processes27. However, the realisation of tuneable polarisation imaging using FPUs is limited by existing devices, as they are not optimised for retarder distribution or passivity27. Consequently, they cannot meet the requirements of applications that demand distinct optimisation strategies for SoP sensing. Our array overcomes these limitations by enabling the formation of different FPUs with optimised states (for circular SoPs or linear SoPs) through controllable retarder distributions.

The procedure proceeded as follows: first, to realise optimised FPUs that are designed for circular SoPs (new method 1) or linear SoPs (new method 2) optimisation, we encode target spatially varying linear retarder distributions into the array (details in Supplementary Method 4). We then measured the Mueller matrices of the matter in both configurations to ensure they are of expected formation (see Supplementary Note 3); second, to validate the feasibility of the FPU device, a polarisation scanning system was adopted, where the polarisation state analyser is formed by the array and a fixed polariser. This configuration enables proof-of-concept experiments on the characterisation of target samples via an optimised FPU array imaging system (see Supplementary Note 3); third, we used a circular SoP illumination and acquired polarimetric images of an archaeological and a biomedical sample. We affirm that samples were collected in a responsible manner and in accordance with relevant permits and local laws. The archaeological sample is a red pigment originating from cinnabar mines in China during the Qin and Han dynasties, where the fine birefringent microstructure of cinnabar is crucial for research into tracing the mineral’s provenance. The biomedical sample is a bone marrow trephine from a myelofibrosis case, where spatial retardance reveals the accumulation of fibrotic structures—critical for pathological analysis, subsequent clinical staging, and precise treatment planning. In both applications, our approach adds tremendous value as an analyser, with the results shown in Fig. 3a, b. Both figures share a similar format, including a real-world sample, a traditional intensity image, a decomposed polarimetric image28, as well as a quantitative data comparison of two selected zones (Z1 and Z2). It shows that compared with traditional method, our new methods 1 and 2 are both capable of distinguishing information within the samples, while maintaining a high level of agreement with the ground truth. See Supplementary Note 3 for more details.

Fig. 3: Tuneable arbitrary retarder array as a new beam analyser.
figure 3

a An archaeological sample exhibiting intrinsic birefringence. The real-world picture of the slice, its intensity image under a traditional microscope, and the corresponding polarimetric image are given. Zones Z1 and Z2 represent two small chosen regions for quantitative analysis. The statistical comparison of normalized values of the intensity, decomposed polarimetric parameter, and ground truth taken by traditional polarisation microscope are given, with data obtained from Z1 and Z2. In the HSL colour map used, the hue (H) represents the fast axis orientation; the lightness (L) reflects the retardance of the measured area; and the saturation (S) is the constant 1. b A biomedical sample featuring fibrosis properties. The real-world picture of the slice, its intensity image under a traditional microscope, and the corresponding polarimetric image are given. A similar statistical analysis has been also conducted to form the bar chart.

Note that this is the first time a tuneable FPU-based imaging platform has been realized, paving the way for future dynamic sensing and tailored optimization strategies across a wide range of target objects.

Application 3: Beam corrector. Besides being a novel beam generator and beam analyser, arbitrary retarder arrays can act as a novel dynamic aberration corrector for adaptive optics (AO). To meet the high demand of rapidly developing vectorial optics and photonics, AO techniques that address both polarisation and phase aberration correction have been recently introduced—named vectorial adaptive optics29. However, latest methods still cannot perform arbitrary SoP and phase conversion, which is essential for key applications such as aberration correction in the detection pathway29,30,31. Additionally, they are unable to eliminate the complex field conversion process required for sensorless correction procedures29. One possible approach is to develop an arbitrary SoP and phase converter, making the vectorial AO corrector universal and suitable for any location within the optical system, while effectively circumventing the need for field conversion. However, to the best of our knowledge, this is not readily achievable using existing devices. Theoretical work has just been recently proposed29,30,31. In this work, for the first time, we realise a new vectorial AO corrector using our array by harnessing its arbitrary SoP and phase conversion capabilities. This approach introduces two new AO methodologies—sensor-based and sensorless AO—by effectively performing retarder compensation from the object’s perspective, hence termed object-wise AO (O-AO). As a proof of concept, we demonstrate the feasibility of both methods for correction in the detection path of a focusing system (see Supplementary Note 4).

Experimental procedures for validation of sensor-based O-AO are as follows: First, an external polarisation aberration was introduced into the system (a tilted waveplate array29). Second, a Mueller matrix polarimeter was used to measure the existing aberration. Third, a calculated compensation retarder was formed using the corrector to finish the compensation. Detailed procedures are described in Supplementary Method 5 and Supplementary Note 4. Fourth, we ran sensorless phase AO correction to compensate for the residual phase errors. The measured Mueller matrix for aberration, the compensation pattens on four devices (i.e., the corrector), as well as a cross-section comparison of the focal spots (O-AO off vs. on) are shown in Fig. 4a to validate the improvement.

Fig. 4: Tuneable arbitrary retarder array as a new beam corrector.
figure 4

a Results for sensor-based O-AO off vs. on. Measured Mueller matrix of the aberration, phase patterns on all four devices after O-AO correction, foci profiles as well as sampled focal spot cross-sections (white line on the focal spot image) before and after correction are presented. The vectorial aberration is a tilted waveplate array29. Y-axis in the line chart represents the normalized intensity value and x-axis represents the distance of the sampled curve on the focal spot. b Results for sensorless O-AO off vs. on for the same retardance aberration in (a). A fitted curve for retardance piston mode is given as an example for aberration estimation. Phase patterns on all four devices after O-AO correction, foci profiles as well as sampled focal spot cross-sections before and after correction are also presented like (a).

Validation of sensorless O-AO (without a Mueller matrix sensor) was also conducted, by optimising the focus intensity to find the best compensation. Note we employ a newly defined set of object-specific modes, similar to Zernike modes, which we call retardance modes (see Supplementary Method 5) to estimate polarisation aberration. Experimental procedures for validation of its effectiveness are as follows: First, we applied different retardance modes on our array. These modes were used to manipulate the retardance distribution on the array in a pixelated manner with varying parameters, and focal spot images were recorded sequentially (see details in Supplementary Method 5 and the flowchart in Supplementary Note 4). Second, the recorded images provided information that allowed for the estimation of retardance aberrations. Third, the estimated aberrations were used to drive the array to correct the aberration (see Supplementary Method 5). Figure 4b presents phase pattern and focal spot analyses akin to those described in the sensor-based section, with the addition of a fitted curve for a retardance mode—piston, which is usually neglected in traditional AO. Note in this case, the piston mode represents the object’s retardance value, which alters the overall retarder performance and, in turn, affects the focal spot. It is evident that our O-AO successfully recovered the focal spot.

To the best of our knowledge, this is the first experimental demonstration of a universal vectorial AO corrector enabled by array driven arbitrary vectorial field conversion, achieving capabilities unattainable by previous devices. This advance has great potential to benefit applications from materials characterization to clinical diagnostics.

Discussion

Our results show that a tuneable arbitrary retarder array can enable the realisation of various downstream optical techniques and applications. Proof-of-concept demonstrations in this work validate how the array can be effectively used as a beam generator, analyser, and corrector.

We note again that while cascaded SLMs have indeed been utilised previously3,4,5,6,7,8,9,10, none of them possess the capability to construct a reconfigurable arbitrary elliptical retarder array. It is only through the realisation of the proposed array, with simultaneous control over its axis geometry, orientation, retardance value, and induced phase (note this phase reflects the properties of the object—such as its refractive index or geometric structure—rather than the phase of the light itself), can arbitrarily SoP and phase conversions be enabled. This advancement unlocks a range of new possibilities, as discussed earlier and later in the text.

As we mentioned before, for all three applications, we conduct a systematic calibration of the four devices, bringing them to an optimised status for subsequent beam control (see Supplementary Methods 1 and 2, and Supplementary Note 1). Once the devices are ready, the SLM and DM patterns are calculated by solving the inverse problem between the known input states and the target vectorial beams. The corresponding phase distributions for the four devices are derived and encoded using a calibration-based look-up table, as explained in Supplementary Method 2. This optimisation framework ensures that the array functions across different applications with high precision and flexibility. Generator: utilising our array with a pixel-by-pixel plane mapping mechanism, complex skyrmionic beams with arbitrarily intricate topologies can be generated in a pixelated, tuneable manner, without being restricted by input states. This modulator offers high flexibility for structured light generation in practical applications and opens new avenues for research in next-generation dynamic optical communication. Analyser: the array provides flexible analysis channels, tailored to specific applications. This flexibility paves the way for novel optimisation geometries, such as elliptical SoP configurations or hybrid states customised for individual needs. Corrector: the array (i.e., the new AO corrector) expands the modern vectorial AO toolbox, enabling the correction of polarisation aberrations that previous devices could not address. Future research could explore more advanced vectorial modes, such as axis geometry manipulation. These implementations may benefit research areas beyond those discussed in this paper, including direct laser writing and lithography technology.

Our proposed implementation of a tuneable arbitrary retarder array does, however, have drawbacks related to the use of cascaded devices (SLMs and DM), such as the modulation efficiency, mass and size, alignment and resolution. However, these don’t penalise the general applicability of tuneable arbitrary elliptical retarder arrays but are rather considerations due to the limitations in current technology. In the future, we expect these drawbacks to be overcome by next generation devices such as those made by liquid crystal based metasurfaces and metamaterials11, or phase-changing materials12,32—as theoretically there are numerous ways to realize such arbitrary retarder arrays. While this work has focused on three new applications of the compound modulator in the format of arbitrary retarder arrays, there exists other complex structured matter such as tuneable diattenuator arrays or depolariser arrays (see Supplementary Methods 6, 7, 8, and Supplementary Note 5; can also be compounded by cascading devices in a synthetic manner), which further offer pixelated control of intensity and degree of polarisation33, to open various new opportunities.

Overall, we expect arbitrary and tuneable retarder arrays to play an important role in the modern optics community, especially in the fields of dynamic and vectorial optics and photonics. We believe that this development can address recent demands and open the door to more widespread applications of such tuneable arrays, and in fields ranging from beam steering34 to optical communications35, polarimetry25 to sensing36, adaptive optics21, optical skyrmions, and beyond.