Manuscript Offprint
arXiv:2610.34111Functional Superoscillations in a Wave Processor
Abstract
Physical wave processors are constrained by diffraction, but the bandwidth of the mathematical functions they implement need not be set by it. Here, we demonstrate continuous and multiplexed optical processing of superoscillatory functions, in which a scalar argument is encoded onto a wavefront and a fixed diffractive wave processor synthesizes optical responses that approximate the corresponding function outputs in parallel. Unlike conventional superoscillatory optics that generates predetermined fields, superoscillation here is expressed in the input-output dependence on the encoded argument. Its frequencies are therefore distinct from the transverse spatial frequencies of propagating light and are not subject to the same diffraction-imposed cutoff. We demonstrate complex-valued superoscillatory function synthesis and introduce a multiplexed architecture that simultaneously evaluates distinct target superoscillatory functions whose harmonic content exceeds that of the optical input encoding. Visible-light experiments further validate this beyond-encoding superoscillatory regime. Together, these results establish functional superoscillation as a design principle for wave-based computation and show how interference, diffractive depth and spatial channel allocation extend the functional reach of passive wave processors. More broadly, these analyses establish a separation between functional bandwidth and physical wave bandwidth in analog optical computation.
Introduction
Superoscillation describes a phenomenon in which a band-limited function locally oscillates faster than its highest constituent Fourier component(1–7). Rather than introducing higher spatial or temporal frequencies, superoscillatory behavior arises from precisely structured interference among lower-frequency components. This property has attracted substantial interest in optics because it enables sub-diffraction focusing and imaging using only propagating waves, without relying on evanescent fields (8–14). Related concepts have also been explored in optical metrology(15), spectroscopy(9), particle manipulation(16, 17), and signal processing(18). However, superoscillation carries a fundamental trade-off: faster local oscillations generally require increasingly large and finely balanced expansion coefficients, producing high-amplitude sidelobes and concentrating only a small fraction of the available energy within the superoscillatory region. These requirements create severe dynamic-range and sensitivity constraints, making strong superoscillatory functions difficult to synthesize accurately in physical systems(17, 19–21).
Most optical implementations of superoscillations have focused on generating a predetermined spatial field, such as a sub-diffraction focal spot, through optimized masks, lenses, and metasurfaces(22–32). In these systems, a fixed optical element transforms an incident wave into a desired spatial intensity distribution, which is static. Superoscillatory function approximation, the topic of this work, presents a related but distinct problem. Instead of generating a single, static spatial pattern, we consider wave processors that receive a continuously varying query variable t and return the corresponding value of a target superoscillatory function while faithfully reproducing the rapid variations that define their superoscillatory behavior. This task of achieving functional superoscillations becomes particularly challenging when the target contains frequencies beyond the maximum frequency represented in the input encoding. Phase-encoded diffractive wave processors provide a platform for parallel function approximation through passive wave propagation and optical readout(33). However, functional superoscillations introduce a distinct, challenging question: how can a wave processor reproduce rapid local input–output variations without supplying corresponding high-frequency components in its native encoding? Addressing this question requires control over both the interference among the available harmonics and the allocation of optical degrees of freedom across the function domain. It connects the physics of superoscillations to the design of computational representation of a wave processor.
Here, we implement superoscillatory functions as dynamic optical input–output mappings: a continuously variable argument is encoded onto a wavefront, and a fixed wave processor returns the corresponding value of the target function. The superoscillatory frequencies in this problem are therefore frequencies with respect to the mathematical input argument, rather than spatial frequencies of propagating optical waves. Consequently, the wave processor remains fully governed by linear diffraction, while the function that it implements can exhibit nonlinear variations faster than the frequencies directly represented in its input encoding. Stated differently, this work establishes a distinct regime of superoscillations in which the superoscillation phenomenon resides in the functional dependence of the output on an abstract input argument, rather than in the spatial-frequency content of propagating waves.
We demonstrate this principle using multi-layer optical processors based on coherent wave propagation and intensity detection. First, we simultaneously approximate the real and imaginary parts of multiple complex-valued Berry–Popescu superoscillatory functions, whose constituent harmonics remain within the encoded frequency band while their local oscillation rates exceed this bandlimit, and show that increasing diffractive depth of the optical processor substantially improves the function approximation accuracy as the superoscillation strength increases. We then introduce a spatially multiplexed architecture that partitions the function domain among multiple output channels, enabling accurate evaluation of functions whose target harmonic content extends beyond that represented in the optical input encoding. In this architecture, each output channel is responsible for approximating the target over only a restricted sub-interval of the input domain, converting the global superoscillation encoding problem into a set of locally tractable mappings. We experimentally validate this approach using a visible-light set-up with a phase-only spatial light modulator (SLM) and in situ learning, recovering the target superoscillation function over a continuous input domain using an encoder containing fewer harmonics than the target. These results establish diffractive wave processing as a physical framework for continuous evaluation and synthesis of superoscillatory functions, distinct from the generation of static superoscillatory fields, and illustrate that functional bandwidth in a wave-based computing system need not be identified with the spatial-frequency bandwidth of the propagating waves that implement it.
Figure 1B shows how this superoscillatory target function can be synthesized through a wave processor. We denote the number of harmonics available at the input encoder by and define the target-to-encoding harmonic ratio as:
In our analysis, we first consider , where the target function and input encoding share the same harmonic basis, while the case of is addressed later through piecewise optical synthesis of superoscillations beyond the encoding basis, detailed in the next sub-section. The scalar input is mapped onto the optical encoder phase profile , in which each of the input pixels carries a phase . Under uniform coherent illumination, the corresponding input field can be expressed as:
where refers to the input plane coordinates, and is a unit-valued aperture function over the spatial extent of the -th encoder pixel at the input plane and zero elsewhere, and the complete input field therefore contains the same harmonic dependence used to construct . The wave processor can be described by a spatially varying complex impulse response , relating an input coordinate to an output coordinate . The output field can therefore be expressed as:
Here, represents the complex-valued transfer function from the -th encoded input region to the output coordinate and denotes the input plane of the wave processor. Therefore, a passive wave processor forms, at each output position, a distinct coherent superposition of the encoded harmonic components. The output field is subsequently converted into measurable intensity signals through square-law detection. For a detector occupying the region ,
where . For the complex-valued superoscillatory target functions, , considered here, two sets of differential detector pairs are used to recover the real (Re) and imaginary (Im) components through the wave processor (see Fig. 1B), giving:
where . Thus, the superoscillatory function approximation problem can be viewed physically as finding a realizable complex impulse response whose spatially varying weights, , produce the required coherent interference among the encoded harmonics over the region of interest. We solve this inverse-design problem end-to-end by embedding the input encoding, free-space propagation, trainable phase-only diffractive layers, and intensity readout within a differentiable optical forward model(34). The diffractive phase profiles are optimized over batches of continuously sampled input arguments to minimize the discrepancy between the measured detector responses and the corresponding target superoscillatory function values, thereby learning the coherent complex-valued weights of the encoded harmonics required for superoscillatory function approximation, i.e., ; see the Methods for details. By optimizing the detected response directly over the evaluation interval, this formulation makes local functional behavior the object of optical function synthesis. The learned interference pattern can therefore reproduce the required superoscillatory response without a coefficient-by-coefficient reproduction of the target functions' global Fourier expansion. In fact, as we detail later in the next sub-section, this framework can also be applied to where target superoscillatory functions contain more harmonics than the native encoder (i.e., ), achieving optical synthesis of superoscillations beyond the encoding basis.
We first demonstrate the approximation of Berry–Popescu (BP) superoscillatory functions(14) using a multi-layer diffractive wave processor (with optimized phase-only layers). The system architecture and target functions are illustrated in Fig. 2A. For this BP demonstration, the number of target harmonics matches that of the input encoding, i.e., , corresponding to . The target functions are denoted by , with , where is the number of distinct superoscillatory functions implemented in parallel and is the superoscillation parameter of function that determines the local oscillation frequency relative to the maximum constituent harmonic frequency. The underlying BP generating function is expressed as where denotes the analytical BP expansion coefficient associated with the constituent harmonic ; its closed-form expression is given in Methods. In this notation, constituent wavenumbers satisfy , and is therefore band-limited to . Within the input argument region of interest , oscillates locally at the frequency near , exceeding its highest constituent harmonic by a superoscillation factor of . The target function is defined by restricting to this region, with unless otherwise mentioned.
In our initial design, the multi-layer wave processor is optimized to simultaneously implement target complex-valued superoscillatory functions (parameterized by ), recovering both the real and imaginary components via two sets of differential detector pairs, and (see Eq. (5) and Methods). Figure 2B displays representative wave processor outputs overlaid with the target Berry–Popescu functions for several values of . For low superoscillation strength (e.g., ), the wave processor outputs closely track the ground truth across the entire input argument domain . As increases, the wave processor’s approximation remains faithful near the origin, where the local superoscillation rate is highest, while deviations become more pronounced away from the center, where the target amplitude increases. To further quantify the reproduced superoscillatory behavior, Fig. 2C compares the local oscillation rate calculated from the reconstructed optical outputs with those of the analytical BP functions for , and 3.5. The reconstructed local oscillation rates closely follow the analytical values across the region of interest, reaching approximately near the origin, well beyond the constituent harmonic bandlimit . These results confirm that the diffractive wave processor reproduces not only the target functional profiles but also their characteristic locally superoscillatory behavior. To shed more light on these results, Fig. 2D contrasts the analytical structure of the target expansion with the spectral content of the diffractive output for superoscillation factors of , 2.5 and 3.5. The first column shows the exact expansion coefficients on the encoded harmonic grid , giving the ground-truth weights of the bandlimited basis. Their vertical scales, spanning several orders of magnitude across the three rows, illustrate the rapid growth of the BP expansion coefficient magnitudes with increasing , reflecting the strong cancellation required for superoscillations.
The intensity readout introduces an additional frequency scale that is useful for interpreting these results. As detailed above (Eq. (4)), square-law detection produces pairwise difference-frequency terms . Since all encoded harmonics satisfy , these quadratic cross-terms are globally restricted to
The three examples in Fig. 2D therefore fall into two distinct regimes. For , the local oscillation rate exceeds the constituent and input-encoding bandlimit , but remains within the maximum difference-frequency range permitted by square-law detection. In contrast, for and 3.5, the local oscillation rate exceeds not only the original constituent bandlimit but also the largest Fourier frequency that can arise from any individual quadratic cross-term, . These stronger superoscillatory cases of in Fig. 2D, therefore, cannot be interpreted simply as the generation of a Fourier component at through intensity mixing; rather, they require a locally superoscillatory response formed by interference among lower-frequency terms.
The remaining columns in Fig. 2D compare the absolute value of the DFT of the target functions' real and imaginary components, i.e., , , with those of the corresponding differential outputs and , all evaluated over . Because these spectra are evaluated over the restricted superoscillatory interval, they characterize the local oscillatory behavior rather than the global Fourier support of the underlying BP generating function or of the detected optical response. As increases from 1.5 to 3.5, the dominant spectral weight shifts progressively toward (blue dashed lines), beyond the constituent bandlimit of (red dashed lines). For and 3.5, these local spectral features also lie beyond the quadratic difference-frequency bound . Their appearance in the finite-window spectrum should therefore be understood as a signature of the rapid local variation within the restricted interval. The last column reports the DFT magnitude of the residual error, , which remains substantially below the signal spectrum at all three superoscillation strengths. Consistent with the increasing difficulty of achieving stronger superoscillations, the residual grows with .
Having established the wave processing mechanism underlying superoscillatory function synthesis, we next quantify how the approximation fidelity scales with the two principal architectural resources of a diffractive wave processor: the number of trainable diffractive layers L, and the degrees of freedom (DOF) available per output channel, quantified by the ratio , where represents the independent encoding pixels at the input plane, represents the independent pixels at the output plane (i.e., and for each superoscillatory function) and N denotes the total number of optimizable phase features spread across all L diffractive layers, with the diffractive features evenly distributed across the L diffractive layers(35). Figure 3A reports the median MSE across the ensemble of distinct complex-valued superoscillatory target functions as a function of r for L = 2, 4 and 8. Architectural depth emerges as the dominant resource: at a fixed feature ratio r, increasing L from 2 to 8 reduces the median MSE by approximately an order of magnitude, a gain obtained purely by redistributing the same total trainable features (N) across more layers. Increasing r at fixed depth, by contrast, yields comparatively modest gains that saturate beyond : for the deeper designs, the error falls steeply at small r and thereafter shows little additional improvement up to the largest ratio examined, while for L = 2 it is essentially independent of r across the entire range. This asymmetry indicates that deeper diffractive architectures achieve systematically lower errors. This behavior identifies diffractive depth as a resource for realizing demanding interference patterns within an unchanged native harmonic representation. Additional modulation–propagation stages improve approximation fidelity at matched total parameter count without introducing new argument-domain frequencies. The observed saturation with increasing lateral feature count therefore points to a practical allocation strategy: once additional lateral features provide diminishing gains, depth can be used to improve the accurate synthesis of strongly superoscillatory functions.
We further note that the shaded intervals in Fig. 3A remain broad at all depths, reflecting the heterogeneity of the target function ensemble rather than run-to-run optimization variance - a dependence resolved explicitly in Fig. 3B, which presents the per-function MSE as a function of the superoscillation parameter for each depth and . Across all configurations, the error generally increases with , confirming that stronger superoscillations are systematically harder to synthesize. Critically, the architectural configuration matters only in the demanding regime: for weakly superoscillatory targets ( ) all configurations generally achieve low approximation errors, whereas at the configurations separate by more than an order of magnitude, from to . For , larger values shift the curves downward, consistent with the trend of Fig. 3A. Beyond approximation fidelity, Fig. 3C further examines the reconstructed local oscillation rate at for and . The reconstructed local oscillation rates closely follow the analytical relation across the target ensemble, with increasing deviations at larger , where stronger superoscillations demand more precise interference among the encoded harmonics. Stated differently, at larger values, the deeper architectures (e.g., ) more faithfully reproduce the target local oscillation rates and this behavior identifies local-phase-rate fidelity as an additional measure of the architectural demands of strongly superoscillatory function synthesis. These results further confirm the ability of the diffractive processors to reproduce local oscillation rates beyond the constituent harmonic bandlimit, . Representative best-, median- and worst-case approximations at are shown in Fig. 3D for each depth. The examples selected as best cases correspond to and those selected as worst cases to at every depth, consistent with the increased approximation difficulty at larger . For the selected examples, the MSE ratios between and are for the best cases and for the worst cases. Since these examples correspond to different target functions, these ratios represent illustrative comparisons rather than paired improvements for identical targets.
Piecewise optical synthesis of superoscillations beyond the encoding basis
The preceding BP results consider superoscillatory functions whose constituent harmonics remain within the input encoding band (i.e., ), although their local oscillation rates can exceed that bandlimit; see e.g., results in Fig. 2C. We next introduce spatial multiplexing of the functional representation, where different output channels are assigned to different portions of a target superoscillatory function, allowing spatial parallelism to resolve functional complexity. We demonstrate this architecture using targets whose harmonic content exceeds that of the native encoder, i.e., or . In the architecture shown in Fig. 4A (with optimized phase-only layers), the target domain is partitioned into sub-intervals, each assigned to a dedicated output channel. Each sub-interval is expanded onto the full native encoding range, so that the wave processor learns a set of local responses that collectively represent the complete superoscillatory function. Spatial channel allocation thereby becomes a resource for superoscillatory functional complexity, reducing the portion of the target that each optical response must reproduce. For the -th target function , the complete reconstruction is assembled over the target domain by combining the interval-specific detector responses evaluated at their corresponding native encoding coordinates. Specifically, for a sub-interval of width and center , the target argument is mapped to the native encoding coordinate, .
The corresponding local target is given as: . A target harmonic with wavenumber therefore has wavenumber in the native encoding coordinate. Narrower intervals present slower functional variation to each optical channel, while the optical synthesis of channel-specific responses in parallel retains the structure of the complete target. For each query, the prescribed interval map determines the encoding coordinate and the detector used to obtain the corresponding response.
These intervals need not share a common width: each output channel is assigned its own local target, while the shared diffractive parameters are jointly optimized across channels, and non-uniform partitions can in principle allocate narrower tiles to regions where the target oscillates most aggressively. The results that we present below demonstrate the architecture using uniform tiling, which isolates the effect of the decomposition itself from that of the partition; the non-uniform case is examined separately later in Fig. 6. Figure 4B shows representative best, median, and worst-case approximation results for distinct superoscillatory functions (simultaneously evaluated) with and , partitioned into intervals of equal width. Even the worst-case function achieves MSE on the order of . The per-interval MSE distribution (Fig. 4C) reveals uniform approximation quality across all intervals, confirming that the shift-variant point spread function of the diffractive wave processor enables independent, high-fidelity approximation at each spatial tile without significant degradation across the output channels.
To further quantify the synthesized superoscillatory behavior, we calculate the absolute local oscillation rate using , where denotes the analytic signal obtained from the Hilbert transform of the real-valued function; see the Methods section for details. As shown in Fig. 5, all ten randomly generated target nonlinear functions exhibit genuine superoscillatory behavior, with exceeding the target constituent bandlimit , reaching peak values of 520~849. The wave processor's approximations, computed via the Hilbert transform of the stitched output, faithfully reproduce the broad local oscillation-rate structure of the target functions, including the locations and relative magnitudes of superoscillatory peaks that far exceed . Deviations between the target and approximated local oscillation rates are primarily confined to narrow zones around the zero amplitude regions, where diverges; these regions are inherently sensitive to small approximation errors. Notably, the native encoder employs only harmonics with a bandwidth of , yet the optically synthesized superoscillatory functions routinely achieve local oscillation rates exceeding , more than six times the encoder bandwidth. These results confirm the capability of the presented piecewise optical function synthesis architecture to approximate superoscillatory target functions with low MSE despite employing a native encoder bandwidth that is much smaller than the target constituent bandlimit .
Relaxing the equal-width constraint preserves the same behavior. In Fig. 6A, the domain is partitioned into intervals of unequal width, and the piecewise synthesis remains accurate across the ensemble, with the simultaneously synthesized superoscillatory reconstructions (through an optimized diffractive wave processor with L = 5) closely tracking the target across the subintervals despite their varying widths. These results reveal that wider tiles are systematically, though only modestly, harder to approximate, consistent with the increased effective target bandwidth with respect to the rescaled encoding coordinate, as wider intervals require each detector to reproduce a larger portion of the target function over the same encoding domain (Fig. 6B). The per-interval error map across all superoscillatory functions and tiles shows no systematic dependence on tile position, with the residual variation instead reflecting the local structure of each individual target function (shown in Fig. 6C). The absolute local oscillation rates of the target functions and the diffractive wave processor outputs are also reported in Supplementary Fig. S1, showing results similar to those obtained with uniform partitioning in Fig. 5. These results indicate that the piecewise decomposition is robust to the choice of partition, leaving room for adaptive, target-specific tiling strategies.
Beyond the geometry of the partition, the fidelity of the piecewise synthesis also depends on how the input variable is mapped into optical phase within each interval. This mapping is controlled by the encoding scaling factor (R), which globally scales the wavenumbers assigned to the optical encoder pixels according to . Accordingly, the phase encoded by the j-th pixel varies as , and its total phase excursion is . Thus, at fixed , does not change the number of encoded harmonic components; rather, it controls how rapidly the encoder phase varies with the native encoding coordinate , and therefore the phase diversity available within each sub-domain. Figure 4D investigates the relationship between and the achievable MSE for varying numbers of target harmonics, ; this analysis was conducted under the uniform-interval condition. For each , there exists an optimal range that balances two competing effects: too small of an limits the phase diversity available to the optical encoder. For larger , the increased phase excursion can introduce ambiguity in the encoded inputs. At , achieves a mean MSE below . As increases to 25, 36, 49 and 64, the optimal MSE degrades progressively, reflecting the growing difficulty of synthesizing higher-bandwidth content from a fixed input encoding. The lower-error range shifts toward larger for higher-harmonic targets, consistent with the benefit of greater native phase variation.
In addition to the encoding scale , the number of sub-intervals provides another key degree of freedom in the piecewise architecture. Increasing narrows the target domain assigned to each detector, thereby reducing the local synthesis difficulty, but this simultaneously increases the number of output channels/detectors that must share the same trainable feature budget. Figure 4E explores the mean MSE as a function of at a fixed trainable feature budget and . The error exhibits a minimum at , rising by orders of magnitude on either side. The two branches originate from opposing constraints. For small , each detector is responsible for approximating the target function over a relatively wide sub-domain. The piecewise decomposition therefore provides only limited simplification of the original approximation task, and the system retains much of the difficulty associated with approximating the full superoscillatory target function set. For large , the increasing number of detector channels must share the same fixed trainable feature budget, limiting the available resources relative to the number of output channels; furthermore, the closer detector spacing additionally approaches the spatial resolution limit of the diffractive wave processor. The optimum therefore reflects a balance between the per-interval synthesis difficulty and the degrees of freedom available to the wave processor.
Experimental validation
We experimentally validate the spatially multiplexed superoscillation architecture using a visible-light phase-modulation set-up (Fig. 7A,B). A coherent laser at nm illuminates a phase-only SLM, and the modulated field is relayed through a 4f system to a CMOS image sensor. The experimental configuration uses target function, input harmonics, target harmonics, and sub-intervals with and .
Figure 7C shows the optimized phase pattern displayed on the SLM when (for visualization without loss of generality), comprising the phase summation of the input-dependent encoder (dashed green box outlined) embedded within the input-independent decoder . The encoder and decoder are co-located on the same SLM plane. The encoder provides fixed argument-dependent phase modulation, while the trainable decoder contributes an input-independent phase profile across the SLM, including the overlapping encoder pixels. Their phase contributions are summed to form the final SLM pattern. The illuminated decoder region outside the encoder also contributes an input-independent reference field, which coherently interferes with the encoded components at the detector. This introduces a zero-frequency component, extending the maximum intensity difference frequency to .
The experimental optimization was performed in two stages. First, the phase profile was numerically optimized using a differentiable wave-optical model based on the angular spectrum method (ASM), providing an initial design for experimental implementation. This optimized phase profile was then transferred to the physical SLM and further refined in situ using model-free proximal policy optimization (PPO)(36). Unlike simulation-based optimization, the experimental refinement relied directly on measured optical responses without requiring gradients to be computed through the physical system. The convergence of the experimental PPO refinement is presented in Fig. 7D. Starting from the simulation-optimized phase profile, the MSE decreases over ~580 epochs of in situ refinement, reaching a final value on the order of . Three representative epochs (marked on the curve) are highlighted, with their corresponding function reconstructions shown in Fig. 7E. At epoch 0 (early training), the optical output captures the coarse envelope of the target function. By epoch 300, the reconstruction tracks the target with substantially improved fidelity, and at epoch 580, the measured output closely follows the ground-truth superoscillatory function across all 9 intervals of the input domain , with the corresponding absolute local oscillation rate comparison shown in Fig. 7F. The alternating shaded bands in Fig. 7E delineate the sub-intervals, showing that the concatenated sensor readouts closely approximate the target across the full domain. Similar experimental results using input harmonics to approximate a superoscillatory function with and are reported in Supplementary Fig. S2. These experiments demonstrate/validate the use of spatial optical channels to represent different portions of a superoscillatory function, translating the local-representation architecture into a programmable wave processor.
Figure 7F further compares the absolute local oscillation rates of the target function and the experimentally measured wave processor output at epoch 580. The target exhibits locally superoscillatory behavior, reaching a peak absolute local oscillation rate of ~226, well beyond its own constituent bandlimit of . The wave processor’s measured output reproduces the broad local oscillation-rate structure, including regions beyond the target bandlimit, , although deviations occur near sharp peaks and regions of low analytic signal amplitude. Similar behavior is observed in the four-interval experiment (Supplementary Fig. S2D), where the measured local oscillation rate reaches ~75, nearly twice the corresponding target constituent bandlimit of . Importantly, these superoscillatory functions are synthesized using a native encoder with only harmonics and a bandwidth of before the interval rescaling. Together, these results experimentally demonstrate the synthesis of superoscillatory behavior and the ability of the spatially multiplexed diffractive wave processor to synthesize nonlinear functions beyond the native encoding bandwidth.
Discussion
This work connects superoscillatory wave interference with the architecture of optical computation. The BP results demonstrate the simultaneous approximation of a set of rapidly varying, complex-valued superoscillatory functions within the fixed spectral support of the optical readout, including targets whose local oscillation rates exceed those of every available detector harmonic. The spatially multiplexed architecture extends the superoscillatory functional representation by assigning locally rescaled portions of the target to different output channels. Together, these approaches connect the quantities that are often considered separately: the spectrum of the encoding, the local variation of the function, and the spatial resources of the wave processor.
In our analyses and results, propagation and phase modulation remain linear in the optical field, whereas the encoded field depends nonlinearly on the function argument. Intensity detection produces argument-domain difference frequencies, , defining the global Fourier support of each detector response. Local variations beyond this support arise through superoscillatory interference over a restricted argument interval, rather than through the generation of a corresponding global Fourier component.
The DOF scaling analysis (Fig. 3) reveals two design principles for practical implementation. First, optical depth of the wave processor matters: increasing L from 2 to 8 layers at fixed DOF ratio yields an order-of-magnitude reduction in MSE, indicating that the iterative application of mask modulation and free-space propagation provides qualitatively different wavefront shaping capabilities beyond mere parameter count. Second, the existence of a saturation point ( ) implies a practical design rule: in the tested architectures, increasing r beyond offers diminishing returns, allowing the system designer to allocate resources toward architectural depth of the wave processor rather than lateral resolution.
The encoding scale and interval allocation jointly determine the local computational representation. Increasing R increases the native encoder's phase variation, while reducing an interval's width reduces the target's variation with respect to the rescaled encoding coordinate. The finite optima in Fig. 4D,E show that these resources must be coordinated with the available diffractive features and output channels. Superoscillation functional complexity can therefore be addressed through the joint design of the encoding, the domain partition and the physical wave processor.
The visible-light experiments (e.g., Fig. 7) translate this representation into a compact optical implementation and confirm that the spatially multiplexed superoscillation architecture is physically realizable. Using an 8-bit phase-only SLM at visible wavelengths, the system successfully reconstructs a harmonic target superoscillatory function from only input encoding harmonics, i.e., a target-to-encoding harmonic-count ratio of . The convergence behavior during in situ optimization reveals that the coarse function envelope is captured early, while fine superoscillatory structure requires extended training;
as expected, the precise destructive interference required for superoscillation is harder to establish than gross amplitude modulation.
The presented architecture provides several directions for extending superoscillatory functional wave computation. Our results demonstrate multiple functions and prescribed nonuniform partitions. Adaptive partition selection could allocate narrower intervals and additional optical resources to regions with more demanding local structure. Extension to multidimensional arguments would allow detector channels to represent local regions of a higher-dimensional function domain, while wavelength-dependent channel allocation could provide an additional multiplexing dimension. Scaling these representations will require coordinated design of the encoder area, diffractive features and detector layout. These directions point toward optical computing systems whose physical resources are organized around the local structure of the functions they evaluate.
The broader significance of these results lies in a distinct route to beyond-bandwidth function approximation. Rather than enlarging the encoded Fourier-feature set through nonlinear frequency mixing at the detector, the present framework exploits the local nature of superoscillations: a restricted region of a target function can exhibit variations faster than the highest frequency available in the input encoding while remaining accurately approximated through coherent interference among the encoded components. By further partitioning the target domain into multiple sub-intervals, the spatially multiplexed architecture extends this principle to functions whose global spectral content exceeds the input-encoding bandwidth, with each detector responsible for a locally tractable approximation task. Intensity detection provides the optical readout, but the key mechanism enabling the beyond-bandwidth approximation is the restriction of the approximation domain rather than the generation of additional Fourier components through square-law mixing. This approach therefore enables superoscillatory function synthesis without explicit calculation of the ill-conditioned expansion coefficients associated with conventional superoscillation design or high-intensity nonlinear optical interactions.
This work addresses a fundamentally different problem from conventional optical superoscillation studies. Rather than designing an optical element to generate a predetermined superoscillatory spatial field or intensity pattern, we implement a superoscillatory function as a physical input–output mapping: a continuously variable argument is encoded optically, and the same fixed diffractive wave processor produces an optical response that approximates the target function after normalization, including the real and imaginary components of complex-valued superoscillatory functions. Crucially, the frequencies that characterize these functions are frequencies with respect to the abstract input coordinate and should not be confused with the transverse spatial frequencies of the propagating optical field. The optical waves inside the processor remain fully governed by diffraction and contain only physically allowed propagating modes; the rapid variations arise instead in the dependence of the measured output on the queried function argument. This separation between physical spatial bandwidth and functional bandwidth allows a diffraction-limited optical system to realize input–output responses that locally vary faster than the frequencies represented in the input encoding, and, through spatial multiplexing, to evaluate targets whose harmonic content extends beyond that encoding bandwidth. The advance is therefore not the creation of another static superoscillatory optical waveform, but the physical realization of superoscillation as a dynamically queried computational function over a continuous input domain, which constitutes a distinct use of superoscillation that extends optical function evaluation beyond the bandwidth of its encoded representation.
In conclusion, we realize superoscillation as a computational input–output relation of a wave processor and demonstrate a spatially multiplexed architecture for extending optical function evaluation beyond an individual encoder’s native harmonic content. Learned coherent interference enables approximation of rapid local variations, including the real and imaginary components of complex-valued superoscillatory functions. Local coordinate expansion and spatial channel allocation provide a distributed representation of the complete target, validated through visible-light experiments. These results establish functional superoscillation as a principle for designing analog optical processors and connect the spectral structure of mathematical functions to the physical organization of wave-based computation.
Methods
Physical forward model and wave processor architecture
The wave processor consists of trainable phase-only diffractive layers separated by free-space propagation regions of distance . An initial free-space propagation precedes the first diffractive layer, yielding a total of propagation segments and trainable layers. For the numerical studies presented in Figs. 2–6, simulations are performed at a pixel pitch of nm and an operating wavelength of nm. The inter-layer propagation distance is fixed at m unless otherwise mentioned.
Free-space propagation between successive diffractive layers is modeled using the angular spectrum method (ASM). For a monochromatic optical field propagating a distance dz, the free-space transfer function at spatial frequency is defined as,
where is the illumination wavelength. For propagating waves within the non-evanescent spatial-frequency band , the transfer function satisfies . The output field after propagation is computed as using two-dimensional fast Fourier transforms.
Each diffractive layer maintains a trainable phase-only modulation profile of dimension pixels (pixel size 300 nm). The physical phase is parameterized through a latent real-valued variable via:
which maps any to with bounded gradients. The resulting mask transmission function is , satisfying and ensuring physical realizability with phase-only SLMs or fabricated diffractive elements.
Superoscillatory target function generation
For the Berry–Popescu superoscillatory functions, the target ensemble consists of functions (variable with respect to ), each parameterized by a distinct superoscillation strength :
where indexes the target function and indexes the phase encoding pixel on the input SLM. The wavenumbers assigned to each pixel are:
with , yielding frequencies uniformly spaced across . The corresponding Fourier coefficients are given by:
The super-oscillation parameter is sampled uniformly from . The superoscillatory functions occur within the central region of interest bounded by , given by:
(12) where is the unit step function. Despite all constituent frequencies lying within , the BP function has a local oscillation rate of , yielding . Thus, the function locally oscillates faster than its highest constituent harmonic by a superoscillation factor of . We are only concerned with the approximation within a region of interest , where for BP superoscillatory functions unless otherwise mentioned. The ground-truth values are computed in float64 precision because at high the coefficients span many orders of magnitude. In the results reported in Fig. 2 and Fig. 3, and unless otherwise mentioned.
For the piecewise beyond-bandwidth superoscillation synthesis, independent target functions are generated as:
where , denotes the target harmonic wavenumbers, distinct from the input encoding wavenumbers defined in Eq. (15), and are complex-valued random weights drawn from a fixed random seed to ensure reproducibility. The number of target harmonics deliberately exceeds the number of input encoding harmonics (i.e., ), requiring the system to synthesize spectral content beyond its native input bandwidth. Each target function is approximated within a region of interest , where unless otherwise mentioned. In the results reported in Fig. 4, and unless otherwise mentioned. The target function domain was then partitioned into non-overlapping function-dependent sub-intervals with width , where .
Supplementary Information includes:
• Supplementary Figs. S1-S2
• Methods on:
○ Input phase encoding of superoscillatory function input arguments
○ Optical readout of the superoscillatory function approximation
○ Loss function and training procedure
○ Experimental set-up
References
-
A. Kempf, Four aspects of superoscillations. Quantum Studies: Mathematics and Foundations 5, 477–484 (2018).
-
M. Berry, N. Zheludev, Y. Aharonov, F. Colombo, I. Sabadini, D. C. Struppa, J. Tollaksen, E. T. F. Rogers, F. Qin, M. Hong, X. Luo, R. Remez, A. Arie, J. B. Götte, M. R. Dennis, A. M. H. Wong, G. V. Eleftheriades, Y. Eliezer, A. Bahabad, G. Chen, Z. Wen, G. Liang, C. Hao, C.-W. Qiu, A. Kempf, E. Katzav, M. Schwartz, Roadmap on superoscillations. Journal of Optics 21, 053002 (2019).
-
P. J. S. G. Ferreira, A. Kempf, Superoscillations: Faster Than the Nyquist Rate. IEEE Transactions on Signal Processing 54, 3732–3740 (2006).
-
Y. Aharonov, F. Colombo, I. Sabadini, D. C. Struppa, J. Tollaksen, The Mathematics of Superoscillations (American Mathematical Society, 2017).
-
Y. Shen, N. Papasimakis, N. I. Zheludev, Space-time superoscillations. Nature Communications 17, 2053 (2026).
-
K. S. Rogers, E. T. F. Rogers, Realising superoscillations: A review of mathematical tools and their application. Journal of Physics: Photonics 2, 042004 (2020).
-
M. V. Berry, M. R. Dennis, Natural superoscillations in monochromatic waves in D dimensions. Journal of Physics A: Mathematical and Theoretical 42, 022003 (2009).
-
G. Gbur, Using superoscillations for superresolved imaging and subwavelength focusing. Nanophotonics 8, 205–225 (2019).
-
G. McCaul, P. Peng, M. O. Martinez, D. R. Lindberg, D. Talbayev, D. I. Bondar, Superoscillations Deliver Superspectroscopy. Phys. Rev. Lett. 131, 153803 (2023).
-
A. N. Jordan, J. C. Howell, N. Vamivakas, E. Karimi, “Superoscillations and Physical Applications” in Operator Theory (Springer Basel, 2025; http://dx.doi.org/10.1007/978-3-0348-0692-3_101-1), pp. 1–33.
-
G. Chen, Z.-Q. Wen, C.-W. Qiu, Superoscillation: from physics to optical applications. Light: Science & Applications 8, 56 (2019).
-
M. R. Dennis, A. C. Hamilton, J. Courtial, Superoscillation in speckle patterns. Opt. Lett. 33, 2976–2978 (2008).
-
N. I. Zheludev, G. Yuan, Optical superoscillation technologies beyond the diffraction limit. Nature Reviews Physics 4, 16–32 (2022).
-
M. V. Berry, S. Popescu, Evolution of quantum superoscillations and optical superresolution without evanescent waves. Journal of Physics A: Mathematical and General 39, 6965 (2006).
-
Y. Wang, E. A. Chan, C. Rendón-Barraza, Y. Shen, E. Plum, J.-Y. Ou, 2D Super-Resolution Metrology Based on Superoscillatory Light. Advanced Science 11, 2404607 (2024).
-
B. K. Singh, H. Nagar, Y. Roichman, A. Arie, Particle manipulation beyond the diffraction limit using structured super-oscillating light beams. Light: Science & Applications 6, e17050 (2017).
-
C. Song, J. He, X. Xie, Q. Wang, Y. Shen, F. Sun, G. Yuan, Extreme Energy Concentration of Band-Limited Superoscillatory Vortices for Efficient Optical Micromanipulation (2026). https://arxiv.org/abs/2605.26618.
-
E. Tang, L. Garg, A. Kempf, Scaling properties of superoscillations and the extension to periodic signals. Journal of Physics A: Mathematical and Theoretical 49, 335202 (2016).
-
A. M. H. Wong, G. V. Eleftheriades, Adaptation of Schelkunoff's Superdirective Antenna Theory for the Realization of Superoscillatory Antenna Arrays. IEEE Antennas and Wireless Propagation Letters 9, 315–318 (2010).
-
A. M. H. Wong, G. V. Eleftheriades, Sub-Wavelength Focusing at the Multi-Wavelength Range Using Superoscillations: An Experimental Demonstration. IEEE Transactions on Antennas and Propagation 59, 4766–4776 (2011).
-
Y. Eliezer, L. Hareli, L. Lobachinsky, S. Froim, A. Bahabad, Breaking the Temporal Resolution Limit by Superoscillating Optical Beats. Phys. Rev. Lett. 119, 043903 (2017).
-
F. M. Huang, N. I. Zheludev, Super-Resolution without Evanescent Waves. Nano Letters 9, 1249–1254 (2009).
-
E. T. F. Rogers, J. Lindberg, T. Roy, S. Savo, J. E. Chad, M. R. Dennis, N. I. Zheludev, A super-oscillatory lens optical microscope for subwavelength imaging. Nature Materials 11, 432–435 (2012).
-
T. Roy, E. T. F. Rogers, N. I. Zheludev, Sub-wavelength focusing meta-lens. Optics Express 21, 7577 (2013).
-
Y. Kozawa, D. Matsunaga, S. Sato, Superresolution imaging via superoscillation focusing of a radially polarized beam. Optica 5, 86–92 (2018).
-
X. H. Dong, A. M. H. Wong, M. Kim, G. V. Eleftheriades, Superresolution far-field imaging of complex objects using reduced superoscillating ripples. Optica 4, 1126–1133 (2017).
-
Z. Li, T. Zhang, Y. Wang, W. Kong, J. Zhang, Y. Huang, C. Wang, X. Li, M. Pu, X. Luo, Achromatic Broadband Super-Resolution Imaging by Super-Oscillatory Metasurface. Laser & Photonics Reviews 12, 1800064 (2018).
-
W. Li, P. He, D. Lei, Y. Fan, Y. Du, B. Gao, Z. Chu, L. Li, K. Liu, C. An, W. Yuan, Y. Yu, Super-resolution multicolor fluorescence microscopy enabled by an apochromatic superoscillatory lens with extended depth-of-focus. Nature Communications 14, 5107 (2023).
-
Z. Wu, F. Dong, S. Zhang, S. Yan, G. Liang, Z. Zhang, Z. Wen, G. Chen, L. Dai, W. Chu, Broadband Dielectric Metalens for Polarization Manipulating and Superoscillation Focusing of Visible Light. ACS Photonics 7, 180–189 (2020).
-
R. Qi, G. J. Gbur, Simplified superoscillatory lenses for super-resolution imaging. J. Opt. Soc. Am. A 39, C116–C125 (2022).
-
Q. Xie, Y. Jiang, J. Liang, E. Qu, L. Ren, Hybrid phase-amplitude superoscillation element for nonscanning optical superresolution imaging. J. Opt. Soc. Am. A 36, 196–201 (2019).
-
S. W. D. Lim, J.-S. Park, M. L. Meretska, A. H. Dorrah, F. Capasso, Engineering phase and polarization singularity sheets. Nature Communications 12, 4190 (2021).
-
M. S. S. Rahman, Y. Li, X. Yang, S. Chen, A. Ozcan, Massively parallel and universal approximation of nonlinear functions using diffractive processors. eLight 5, 32 (2025).
-
X. Lin, Y. Rivenson, N. T. Yardimci, M. Veli, Y. Luo, M. Jarrahi, A. Ozcan, All-optical machine learning using diffractive deep neural networks. Science 361, 1004–1008 (2018).
-
J. Li, T. Gan, B. Bai, Y. Luo, M. Jarrahi, A. Ozcan, Massively parallel universal linear transformations using a wavelength-multiplexed diffractive optical network. Advanced Photonics 5, 016003 (2023).
-
Y. Li, S. Chen, T. Gong, A. Ozcan, Model-free optical processors using in situ reinforcement learning with proximal policy optimization. Light: Science & Applications 15, 32 (2026).
-
A. Savitzky, M. J. E. Golay, Smoothing and Differentiation of Data by Simplified Least Squares Procedures. Analytical Chemistry 36, 1627–1639 (1964).
Figures
A
Harmonic bases
--- Band-limited complex function
Region of interest
(local oscillation rates )
Band-limited complex
function (real parts shown)
Super-oscillatory function
(real parts shown)
B
Coherent illumination
Phase encoding
Passive wave processor
Super-oscillatory function
Optical approximation
Fig. 1. Superoscillatory function approximation using a passive wave processor. A Synthesis of superoscillatory functions. A set of harmonic basis functions, with , is combined with weights to form the band-limited function . The weights are selected such that, within the region of interest (shaded), the local oscillation frequency of reaches , i.e., the function locally oscillates faster than the bandlimit set by its own highest constituent harmonic. The target superoscillatory function is obtained by restricting to this region, i.e., . B Optical approximation of the target superoscillatory function. Under coherent illumination, the scalar input is mapped onto the encoder phase profile , in which each of the input pixels carries a phase proportional to its assigned wavenumber, so that the input plane encodes the input harmonic basis functions. The resulting wavefront propagates through a passive diffractive wave processor, which synthesizes the output field . The real (Re) and imaginary (Im) components of the complex-valued superoscillatory target function are recovered using two sets of differential intensity detectors. Dashed curves denote the ground-truth superoscillatory function (Re and Im parts) and solid curves denote the optical approximation.
Coherent illumination

Phase encoding
Passive
wave processor
Superoscillatory function formulation

Intensity readout
Imaginary
B
--- Bandlimit (k=1)
--- Optical output ( )
--- Optical output ( )
--- Optical output ( )
--- Optical output ( )
--- Optical output ( )
--- Optical output ( )
C
Target ( )
Target ( )
Target ( )
Optical ( )
Optical ( )
Optical ( )

D
DFT
Bandlimit ( )
----

-1.5-10 11.5
-1.5-10 11.5
-1.5-10 11.5
-1.5-10 11.5
-1.5-10 11.5
-2.5 -10 12.5
-2.5 -10 12.5
-2.5 -10 12.5
-2.5 -10 12.5
-2.5 -10 12.5
k
k
k
k
k
Fig. 2. Approximation of Berry–Popescu (BP) superoscillatory functions using a diffractive wave processor. A Schematic of the architecture and target function formulation. The scalar input t is encoded as the phase profile with wavenumbers spanning , where . The Berry–Popescu generating function is band-limited to yet oscillates locally at frequency near ; the target is . The output plane is partitioned into four detector regions ( , , , ), recovering the signed real and imaginary parts of the superoscillatory function, and , from intensity-only measurements. B The outputs of a diffractive wave processor with diffractive layers (coloured dashed curves) overlaid with the targets (black solid curves) for and 3.5. Grey dashed curves indicate the highest frequency accessible within the bandlimit ( ). C Local oscillation rate for , and 3.5, calculated from the target functions analytically using (solid curves) and the corresponding reconstructed optical outputs (dashed curves). The grey dashed line marks the constituent harmonic bandlimit , highlighting the locally superoscillatory behavior beyond the encoded harmonic range. D Spectral analysis at . The first column shows the exact expansion coefficients , illustrating the rapid growth of the expansion coefficient magnitudes with increasing . The next four columns compare the DFT magnitudes of the target real and imaginary parts with those of the diffractive processor outputs, evaluated over ; the last column shows the DFT magnitude of the residual . Red dashed lines mark the bandlimit and blue dashed lines mark the local super-oscillation frequency . Results use target functions with sampled uniformly from [1, 5].

B
C
D
MSE = MSE = MSE =

MSE = MSE = MSE =
MSE = MSE = MSE =
MSE = MSE = MSE =

MSE = MSE = MSE =
MSE = MSE = MSE =
MSE = MSE = MSE =
MSE = MSE = MSE =
MSE = MSE = MSE =
Fig. 3. Scaling of the superoscillatory function approximation fidelity as a function of the trainable feature budget and the number of diffractive layers. A Median MSE across the ensemble of Berry–Popescu target functions as a function of , for , 4 and 8 diffractive layers. is the total number of trainable phase features summed over all layers. Shaded bands indicate the spread across the target function ensemble ( ). B Per-function MSE as a function of the super-oscillation parameter , shown for each depth and for , 1, 2, 4 and 6. Shaded bands indicate the spread across independently trained models. C Reconstructed local oscillation rate resulting from the diffractive wave processor output as a function of the superoscillation parameter for and 8 diffractive layers with . The black solid line denotes the target local oscillation rate , while the colored markers represent the corresponding optical approximations. The grey dashed line indicates the constituent harmonic bandlimit . D Representative best-, median- and worst-case approximations at for each depth ( ), showing the real (blue) and imaginary (red) parts of the diffractive output as dashed curves overlaid with the target functions (black solid curves). The corresponding and MSE values are indicated above each panel.
Coherent illumination

Phase encoding
Passive
wave processor
Output plane
Rescaled responses
B
Ground truth --- Optical output

C
D
E

Encoding scaling (R)
Number of intervals ( )
Fig. 4. Piecewise optical synthesis of beyond-bandwidth superoscillatory functions. A Schematic of the architecture. The native encoding coordinate is encoded as the phase profile with , where denotes the encoding scaling factor. The target domain is partitioned into sub-intervals, each assigned to a dedicated output detector, and the concatenated readouts reconstruct the full function as
, where is the centre of interval . The target harmonic count exceeds the number of encoded harmonics , so that the synthesis extends beyond the native input bandwidth. B Best, median and worst approximation results of an optimized diffractive wave processor ( ) for target superoscillatory functions using with , and . Black solid curves denote the ground truth and blue dashed curves the optical output; alternating shaded bands delineate the sub-intervals. C Per-interval MSE distribution across the target ensemble, shown alongside the overall MSE. D Approximation MSE as a function of the encoding scaling for target harmonic counts , 25, 36, 49 and 64, at fixed , which correspond to target-to-encoding harmonic ratios of , and 7.11, respectively. E Approximation MSE as a function of the number of intervals at a fixed trainable feature budget .
—— Ground truth ---
--- Optical output ---









t

t
Fig. 5. Absolute local oscillation rates of the target superoscillatory functions and the diffractive wave processor results. Black solid and red dashed lines indicate the absolute local oscillation rates of the target functions and the diffractive wave processor results shown in Fig. 4B, respectively. The blue dashed line marks the target constituent bandlimit , while the green dashed line indicates the native encoding bandwidth of the wave processor, i.e., , before the interval rescaling. Local oscillation rates are evaluated with respect to the target argument . Also see Supplementary Fig. S1 for the non-uniform domain partitioning results.



C
B

Interval width ( )

Function argument (t)
Fig. 6. Piecewise optical synthesis of beyond-bandwidth superoscillatory functions with non-uniform domain partitioning. A Representative best, median and worst approximation results of an optimized diffractive wave processor (L = 5) among target functions partitioned into sub-intervals of unequal width with , , and R = 0.6. Black solid curves denote the ground truth and blue dashed curves denote the optical approximation; alternating shaded bands delineate the sub-intervals. B Per-interval MSE versus sub-interval width, pooled across all functions and sub-intervals, with each color denoting one target function; the dashed line is a least-squares fit ( ). C Per-interval MSE across all target functions under nonuniform domain partitioning. Each cell represents a sub-interval, with its horizontal extent proportional to the interval width and its color indicating the corresponding MSE.
B

C
Input dependent
encoder
Input independent
decoder
SLM phase
Encoder

D
Phase (rad)
500λ
0
Train
Eval
E
Epoch 0, MSE=7.17e-2
Target
Measured
①

Epoch 300, MSE=7.46e-3
②
Epoch 580, MSE=1.91e-3
③
F
Fig. 7. Experimental demonstration of the optical synthesis of beyond-bandwidth superoscillatory functions. A,B Schematic and photo of the optical set-up. A laser beam at
520 nm is redirected by a beam splitter (BS) and modulated by a phase-only SLM; the reflected field propagates through a 4f system acting as a relay and is captured by a CMOS camera. C Phase distributions implemented on the SLM for the nine processor units arranged in a mosaic, shown at for visualization. From left to right, the panels show the argument-dependent encoder phase , the input-independent decoder phase and the resulting SLM phase . The encoder and decoder are co-located on the same SLM plane: within the encoder regions (green dashed boxes), the same physical SLM pixels simultaneously carry the argument-dependent encoding and the decoder phase modulation, whereas outside these regions only the decoder phase is applied. D Training and evaluation MSE during model-free in situ optimization over 600 epochs. E Measured optical outputs (red dashed curves) overlaid with the target superoscillatory function (black solid curve) at epochs 0, 300 and 580, showing the progressive improvement enabled by in situ training. Alternating shaded bands delineate the sub-intervals, each read out by a dedicated detector region on the CMOS sensor. F Absolute local oscillation rate of the target function (black solid curve) and experimentally measured optical output at epoch 580 (red dashed curve), calculated from their respective analytic signals. The blue dashed line marks the target constituent bandlimit , while the green dashed line indicates the native encoding bandwidth of the wave processor, i.e., , before the interval rescaling. Local oscillation rates are evaluated with respect to the target argument . The experimental configuration uses target function, , input harmonics, target harmonics (i.e., a target-to-encoding harmonic ratio of ) and with ; see Methods for details.