{"id":68374,"date":"2025-08-15T07:34:27","date_gmt":"2025-08-15T07:34:27","guid":{"rendered":"https:\/\/www.newsbeep.com\/uk\/68374\/"},"modified":"2025-08-15T07:34:27","modified_gmt":"2025-08-15T07:34:27","slug":"programmable-wave-based-analog-computing-machine-a-metastructure-that-designs-metastructures","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/uk\/68374\/","title":{"rendered":"Programmable wave-based analog computing machine: a metastructure that designs metastructures"},"content":{"rendered":"<p>A conceptual representation of the main idea is pictorially summarized in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>A. The main property of our proof-of-concept system distinctively different from all previous metastructure approaches (e.g.,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"Mohammadi Estakhri, N., Edwards, B. &amp; Engheta, N. Inverse-designed metastructures that solve equations. Science 363, 1333&#x2013;1338 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR2\" id=\"ref-link-section-d256042643e510\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>) is its reconfigurability; the metastructure has the ability to rapidly take on different matrices (operators or kernels) K. To facilitate this, we employ a wave-based direct complex matrix (DCM) architecture, which offers an intuitive and simple implementation of any desired matrix<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Tzarouchis, D. C., Mencagli, M. J., Edwards, B. &amp; Engheta, N. Mathematical operations and equation solving with reconfigurable metadevices. Light Sci. Appl. 11, 263 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR33\" id=\"ref-link-section-d256042643e517\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a>. Using waves instead of currents and voltages, it is analogous to the crossbar architecture used in electronic analog computing systems<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Ielmini, D. &amp; Wong, H.-S. P. In-memory computing with resistive switching devices. Nat. Electron. 1, 333&#x2013;343 (2018).\" href=\"#ref-CR34\" id=\"ref-link-section-d256042643e521\">34<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Zidan, M. A. et al. A general memristor-based partial differential equation solver. Nat. Electron. 1, 411&#x2013;420 (2018).\" href=\"#ref-CR35\" id=\"ref-link-section-d256042643e521_1\">35<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Sun, Z. et al. Solving matrix equations in one step with cross-point resistive arrays. Proc. Natl Acad. Sci. USA 116, 4123&#x2013;4128 (2019).\" href=\"#ref-CR36\" id=\"ref-link-section-d256042643e521_2\">36<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 37\" title=\"Mourgias-Alexandris, G. et al. Noise-resilient and high-speed deep learning with coherent silicon photonics. Nat. Commun. 13, 5572 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR37\" id=\"ref-link-section-d256042643e524\" rel=\"nofollow noopener\" target=\"_blank\">37<\/a>, and it can be seen as a generalized phased array feed<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 10\" title=\"Sun, J., Timurdogan, E., Yaacobi, A., Hosseini, E. S. &amp; Watts, M. R. Large-scale nanophotonic phased array. Nature 493, 195&#x2013;199 (2013).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR10\" id=\"ref-link-section-d256042643e529\" rel=\"nofollow noopener\" target=\"_blank\">10<\/a>. In this device, a collection of n\u2009\u00d7\u2009n tunable phase shifting and amplifying elements (which can also act as attenuating elements) connect an input vector of n complex amplitudes on an array of transmission lines to a similar output vector through combiners. This architecture can be seen schematically in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>B and its corresponding experimental implementation in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>C.<\/p>\n<p>Fig. 1: A reconfigurable wave-based analog computing metastructure.<a class=\"c-article-section__figure-link\" data-test=\"img-link\" data-track=\"click\" data-track-label=\"image\" data-track-action=\"view figure\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-56019-1\/figures\/1\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" aria-describedby=\"Fig1\" src=\"https:\/\/www.newsbeep.com\/uk\/wp-content\/uploads\/2025\/08\/41467_2025_56019_Fig1_HTML.png\" alt=\"figure 1\" loading=\"lazy\" width=\"685\" height=\"429\"\/><\/a><\/p>\n<p>A A conceptual representation that describes the main objective, i.e., a reconfigurable device that can provide us with repeated matrix inversions of arbitrary matrices in order to achieve stationary and non-stationary algorithms. The device can implement any given kernel K\u2009=\u2009I\u2009\u2212\u2009A and give the \\({\\left(I-K\\right)}^{-1}={A}^{-1}\\). B The central component of the design consists of a direct complex matrix (DCM)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Tzarouchis, D. C., Mencagli, M. J., Edwards, B. &amp; Engheta, N. Mathematical operations and equation solving with reconfigurable metadevices. Light Sci. Appl. 11, 263 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR33\" id=\"ref-link-section-d256042643e634\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a> architecture of 5\u2009\u00d7\u20095 elements. C The experimental realization of this design for the 45 MHz operating frequency. D The essential element of the DCM is the multiplier module, consisting of both a phase shifting and an amplification part (which can also function as an attenuation part); controlled with an onboard microcontroller unit. Finally, E and F depict the performance of the DCM machine in the open-loop (matrix-vector multiplication) and the closed-loop (matrix inversion) setups. In both, we compare the experimentally obtained matrix to one computed conventionally. We\u00a0see good agreement.<\/p>\n<p>The key component of the metadevice is the multiplier module (Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>D) so named because given an input signal characterized by its complex amplitude at 45\u2009MHz, Vin, it will render a similar output Vout\u2009=\u2009zVin, where z is a complex multiplication factor. This module consists of two basic components: (a) a voltage-controlled phase shifter with over 360 degrees of potential phase rotation, and (b) a voltage-controlled amplifier with \u00a0\u224847\u2009dB of dynamic range (\u221230\u2009dB to +17\u2009dB). Each multiplier contains an embedded microcontroller unit (MCU), which allows each device to be controlled externally through a suitable communication network and a computer (see supplementary material). While the design frequency is 45\u2009MHz, the module could be implemented at RF (GHz) and photonic (THz) platforms, following the same principle of operation. The experimental DCM implementation consists of 25 multipliers to yield 5\u2009\u00d7\u20095 complex matrices. The ingress and egress stages<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Tzarouchis, D. C., Mencagli, M. J., Edwards, B. &amp; Engheta, N. Mathematical operations and equation solving with reconfigurable metadevices. Light Sci. Appl. 11, 263 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR33\" id=\"ref-link-section-d256042643e685\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a> are implemented with five 1-to-5 power splitters (ingress stage) and five 5-to-1 signal combiners (egress stage). The multipliers are clustered into five groups, one for each matrix row. In Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>B we depict the planar schematic of the DCM suitable for photonic implementation. However, for the RF implementation, we stacked and routed the components vertically (Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>C), making the device compact for our particular wavelength and platform choice. Different stacking or integrated circuitry approaches can potentially be used to further reduce its overall footprint.<\/p>\n<p>The metadevice can be operated in one of two configurations with dramatically different results. When the DCM is set in an open-loop configuration (Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>E inset), it can be used to rapidly calculate parallelized matrix-vector multiplication. However, a closed-loop configuration can be created by connecting the outputs and the inputs with a feedback loop using properly designed couplers (Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>F inset). When the DCM is in a closed-loop configuration, the metadevice can rapidly calculate parallelized matrix inversion (equation solving). This is a unique feature of metadevices\/metastructures<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"Mohammadi Estakhri, N., Edwards, B. &amp; Engheta, N. Inverse-designed metastructures that solve equations. Science 363, 1333&#x2013;1338 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR2\" id=\"ref-link-section-d256042643e704\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Tzarouchis, D. C., Mencagli, M. J., Edwards, B. &amp; Engheta, N. Mathematical operations and equation solving with reconfigurable metadevices. Light Sci. Appl. 11, 263 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR33\" id=\"ref-link-section-d256042643e707\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a> that incorporate feedback loops.<\/p>\n<p>Inverting stationary matrices<\/p>\n<p>First, we investigate the stationary analysis capabilities of our metadevice. For the assessment of the open- and closed-loop operation, we performed a series of randomized trials, one instance of which is presented in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>E, F. For each trial, a random passive matrix \\(A\\in {{\\mathbb{C}}}^{5\\times 5}\\) was chosen and applied to the metadevice in both configurations. Each measurement was performed by exciting each input port in turn with all other inputs appropriately terminated and then observing the complex amplitudes on each of the output ports. For the open-loop configuration, this corresponds to performing five matrix-vector multiplications, or as A \u22c5 I where each column of I is progressively applied (one column at a time) as separate vectors. The closed-loop configuration was measured similarly, but in this case, we are probing the steady state of the metadevice, which corresponds to (I\u2009\u2212\u2009K)\u22121 \u22c5 I\u2009=\u2009A\u22121 \u22c5 I. While this measurement technique fully characterizes both configurations, in practice dense complex vectors will be input and read to achieve parallelized results.<\/p>\n<p>The estimated relative error \u2225Aexact\u2009\u2212\u2009Ameas\u22252\/\u2225Aexact\u22252 for both cases (Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>E, F) revealed an error of about 0.001 and 0.005, respectively. Despite the component imperfections, misalignments, measurement noise, and other stochastic errors, the measured results are in excellent agreement with the theoretical values. The calibration procedure of the metadevice and the statistical analysis of the full trial set (100 values) are presented in the\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">Supplementary Material<\/a>.<\/p>\n<p>A single multiplier module has a rise time of approximately 80\u2009ns to achieve its desired complex value. This value is approximately 4T assuming one-period duration of T\u2009=\u20091\/45\u2009MHz \u2248 22.2\u2009ns. In the open-loop configuration, the total response requires approximately 5T, including signal delays in connections and splitters. The duration of the closed-loop case is affected by the platform and the condition number of the inverted matrix<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Tzarouchis, D. C., Mencagli, M. J., Edwards, B. &amp; Engheta, N. Mathematical operations and equation solving with reconfigurable metadevices. Light Sci. Appl. 11, 263 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR33\" id=\"ref-link-section-d256042643e826\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a>, but in principle is in the same order of magnitude. Possible photonic implementations may further reduce this time to the picosecond range<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 3\" title=\"Ashtiani, F., Geers, A. J. &amp; Aflatouni, F. An on-chip photonic deep neural network for image classification. Nature 606, 501&#x2013;506 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR3\" id=\"ref-link-section-d256042643e830\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a> and below<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 38\" title=\"Guo, Q. et al. Femtojoule femtosecond all-optical switching in lithium niobate nanophotonics. Nat. Photonics 16, 625&#x2013;631 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR38\" id=\"ref-link-section-d256042643e835\" rel=\"nofollow noopener\" target=\"_blank\">38<\/a>.<\/p>\n<p>Root finding with Newton\u2019s method<\/p>\n<p>We now apply the implemented metadevice to two characteristic non-stationary problems that highlight its mathematical abilities: (i) root finding of a system of five equations with five unknowns using Newton\u2019s iterative technique and (ii) implementing an inverse design problem using the Lagrangian multiplier formalism for constrained optimization. Both cases require that the kernel be reprogrammed in each iteration step. Note that our approach is not restricted to these two problems; instead, we choose these to highlight the potential of the introduced metadevice.<\/p>\n<p>For the first case, we construct a simple nonlinear toy problem, and we apply Newton\u2019s algorithm<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 39\" title=\"Bertsekas, D. P. Nonlinear Programming (Athena Scientific, Belmont, MA, 1995).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR39\" id=\"ref-link-section-d256042643e851\" rel=\"nofollow noopener\" target=\"_blank\">39<\/a> (Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig2\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>A) to find one possible root. The vector problem statement reads<\/p>\n<p>$${{\\bf{f}}}({{\\bf{z}}})={\\left[{f}_{1}({{\\bf{z}}}),{f}_{2}({{\\bf{z}}}),{f}_{3}({{\\bf{z}}}),{f}_{4}({{\\bf{z}}}),{f}_{5}({{\\bf{z}}})\\right]}^{T}={{\\bf{0}}}$$<\/p>\n<p>\n                    (1)\n                <\/p>\n<p>where \\({{\\bf{f}}}\\in {{\\mathbb{C}}}^{5\\times 1}\\), \\({{\\bf{z}}}={\\left[{z}_{1},{z}_{2},{z}_{3},{z}_{4},{z}_{5}\\right]}^{T}\\in {{\\mathbb{C}}}^{5\\times 1}\\), and 0 is the zero vector. We construct the vector function to have the following polynomial form<\/p>\n<p>$${f}_{1}({{\\bf{z}}})=({z}_{1}-{r}_{1})({z}_{2}-4.2i)({z}_{3}+2)({z}_{4}-5i)({z}_{5}-3.5)$$<\/p>\n<p>\n                    (2)\n                <\/p>\n<p>$${f}_{2}({{\\bf{z}}})=({z}_{1}-3.9)({z}_{2}-{r}_{2})({z}_{3}+2.5i)({z}_{4}-3.2i)({z}_{5}-4.2)$$<\/p>\n<p>\n                    (3)\n                <\/p>\n<p>$${f}_{3}({{\\bf{z}}})=({z}_{1}+5.2i)({z}_{2}-4)({z}_{3}-{r}_{3})({z}_{4}-4i)({z}_{5}-7.1)$$<\/p>\n<p>\n                    (4)\n                <\/p>\n<p>$${f}_{4}({{\\bf{z}}})=({z}_{1}-3)({z}_{2}-7i)({z}_{3}+4)({z}_{4}-{r}_{4})({z}_{5}-5i)$$<\/p>\n<p>\n                    (5)\n                <\/p>\n<p>$${f}_{5}({{\\bf{z}}})=({z}_{1}-5.2i)({z}_{2}-4)({z}_{3}+4.75i)({z}_{4}-8)({z}_{5}-{r}_{5})$$<\/p>\n<p>\n                    (6)\n                <\/p>\n<p>where \\({{\\bf{r}}}={\\left[{r}_{1},{r}_{2},{r}_{3},{r}_{4},{r}_{5}\\right]}^{T}\\) are the vertices of a regular pentagon with 1\/4 radius (see Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig2\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>B) and the other factors represent additional extraneous roots far from the starting point.<\/p>\n<p>Fig. 2: Experimental verification of Newton\u2019s root finding method with the proposed metadevice.<a class=\"c-article-section__figure-link\" data-test=\"img-link\" data-track=\"click\" data-track-label=\"image\" data-track-action=\"view figure\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-56019-1\/figures\/2\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" aria-describedby=\"Fig2\" src=\"https:\/\/www.newsbeep.com\/uk\/wp-content\/uploads\/2025\/08\/41467_2025_56019_Fig2_HTML.png\" alt=\"figure 2\" loading=\"lazy\" width=\"685\" height=\"433\"\/><\/a><\/p>\n<p>A A comparison between the experimental results and a numerical implementation of the algorithm. The faint solid lines are cases where additional stochastic noise has been added to the system. We observe that the experimental trajectory is well contained within these simulated noisy paths. B A comparison between the numerical (left column) and measured (right column) evaluation of the inverse Jacobian at different iterations.<\/p>\n<p>For the evaluation of Newton\u2019s method, we need to calculate the Jacobian matrix, i.e., \\({J}_{ij}=\\frac{\\partial {f}_{i}}{\\partial {z}_{j}}\\) or<\/p>\n<p>$${J}_{f}({{\\bf{z}}})=\\left(\\begin{array}{cccc}\\frac{\\partial {f}_{1}}{\\partial {z}_{1}}&amp;\\frac{\\partial {f}_{1}}{\\partial {z}_{2}}&amp;\\cdots \\,&amp;\\frac{\\partial {f}_{1}}{\\partial {z}_{5}}\\\\ \\frac{\\partial {f}_{2}}{\\partial {z}_{1}}&amp;\\frac{\\partial {f}_{2}}{\\partial {z}_{2}}&amp;\\cdots \\,&amp;\\frac{\\partial {f}_{2}}{\\partial {z}_{5}}\\\\ \\vdots &amp;\\vdots &amp;\\ddots &amp;\\vdots \\\\ \\frac{\\partial {f}_{5}}{\\partial {z}_{1}}&amp;\\frac{\\partial {f}_{5}}{\\partial {z}_{2}}&amp;\\cdots \\,&amp;\\frac{\\partial {f}_{5}}{\\partial {z}_{5}}\\end{array}\\right)$$<\/p>\n<p>\n                    (7)\n                <\/p>\n<p>therefore the root can be estimated by the following iterative process<\/p>\n<p>$${{{\\bf{z}}}}_{n+1}={{{\\bf{z}}}}_{n}-\\alpha {J}_{f}^{-1}({{{\\bf{z}}}}_{n}){{\\bf{f}}}({{{\\bf{z}}}}_{n})$$<\/p>\n<p>\n                    (8)\n                <\/p>\n<p>where \u03b1\u2009=\u20090.2 is a relaxation constant<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Tzarouchis, D. C., Mencagli, M. J., Edwards, B. &amp; Engheta, N. Mathematical operations and equation solving with reconfigurable metadevices. Light Sci. Appl. 11, 263 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR33\" id=\"ref-link-section-d256042643e3043\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a>.<\/p>\n<p>Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Tab1\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a> shows the required algorithm steps to implement the iterative scheme described by Eq. (8). Note that the Jacobian changes value in each iteration and that its inverse is required to be calculated anew. The results are then used to update the z. The method converges successfully after a few iterations.<\/p>\n<p>Table 1 Root finding with Newton\u2019s algorithm and DCM metadevice<\/p>\n<p>Matrix inversion represents a computationally intensive task, expedited by our metadevice. In Newton\u2019s method, matrix inversion stands as the primary complexity, with an \\({{\\mathcal{O}}}({n}^{3})\\) complexity assumption for an n\u2009\u00d7\u2009n matrix<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 40\" title=\"Bertsekas, D. Convex Optimization Theory, Vol. 1 (Athena Scientific, 2009).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR40\" id=\"ref-link-section-d256042643e3598\" rel=\"nofollow noopener\" target=\"_blank\">40<\/a>. On the other hand, evaluating the Jacobian typically demands \\({{\\mathcal{O}}}(n)\\) operations, facilitated by automatic differentiation techniques<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 29\" title=\"Hughes, T. W., Williamson, I. A. D., Minkov, M. &amp; Fan, S. Wave physics as an analog recurrent neural network. Sci. Adv. 5, eaay6946 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR29\" id=\"ref-link-section-d256042643e3633\" rel=\"nofollow noopener\" target=\"_blank\">29<\/a>. The efficient computation of the Jacobian at each step can be provided to the system either from a dedicated subsystem responsible for its calculation and feed into the main system.<\/p>\n<p>A numerical version (using MATLAB) is compared with the experimental results illustrated in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig2\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>B. We observe that for both MATLAB and the experiment, the estimation vector converges close to the exact roots. Furthermore, the estimated vector reaches a stationary point as the iteration count increases. After 15 iterations, the relative error is \u2225z\u2009\u2212\u2009r\u22252\/\u2225r\u22252\u2009\u2248\u20090.0023. This is similar to the accuracy achieved for stationary trials, thus representing the accuracy floor of our system. A similar picture is also visible by comparing three specific iterations, as illustrated in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig2\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>C, where a comparison of the full Jacobian is presented.<\/p>\n<p>The experimental results do not precisely follow the paths indicated by the numerical implementation realized using MATLAB. This can be explained by adding random noise to the Jacobian on each iteration step. The added noise \\(N\\in {{\\mathbb{C}}}^{5\\times 5}\\) is a random complex matrix that follows a normal distribution inside a disk with radius \\({r}_{N}=0.01{\\lambda }_{\\max }\\), where \\({\\lambda }_{\\max }\\) is the maximum eigenvalue of the Jacobian. The noise creates many possible paths, all of which successfully converge, and we observe that our measured results comfortably lie within these families of curves. Note that some solution branches are more susceptible to this noise than others (e.g., r1 (blue) and r3 (red) curves in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig2\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>B) and this is due to the details of the toy problem solved.<\/p>\n<p>Generally, the device\u2019s numerical accuracy has a threshold that depends both on the implementation and on the measuring apparatus (vector network analyzer (VNA)). In our case, the closed-loop operation was on the order of a few microvolts, approaching the sensitivity floor of the VNA utilized (refer to <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">Supplementary Material<\/a> for details). Additionally, the implementation would influence the scalability of systems handling matrices with tens or hundreds of inputs. Thoughtful RF\/Photonic IC designs might pave the way for incorporating larger kernels, albeit requiring more sensitive VNAs. It is crucial to emphasize phase and amplitude stability, as highlighted in ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Tzarouchis, D. C., Mencagli, M. J., Edwards, B. &amp; Engheta, N. Mathematical operations and equation solving with reconfigurable metadevices. Light Sci. Appl. 11, 263 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR33\" id=\"ref-link-section-d256042643e3794\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a>.<\/p>\n<p>When higher-precision computations are required, this device can be a part of a mixed-precision computing system. In these systems, part of the calculations are done in a fast, low-precision estimation stage and then fed and further refined at a higher-precision stage, similar to the in-memory mixed-precision approaches in electronic platforms<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 41\" title=\"Le Gallo, M. et al. Mixed-precision in-memory computing. Nat. Electron. 1, 246&#x2013;253 (2018).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR41\" id=\"ref-link-section-d256042643e3801\" rel=\"nofollow noopener\" target=\"_blank\">41<\/a>.<\/p>\n<p>Inverse design of a metastructure<\/p>\n<p>For the second example, we chose the case of an inverse design problem (Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>A). We assume that our design consists of a collection of m\u2009=\u20095 two-dimensional (2D) scatterers with circular cross-section at fixed known locations r\u2009=\u2009[r1,\u00a0\u2026,\u00a0r5], each with an unknown bounded permittivity \\({{\\mathbf{\\varepsilon }}}=[{\\varepsilon }_{1},\\ldots,{\\varepsilon }_{5}]\\in {{\\mathbb{C}}}^{5\\times 1}\\). The goal is to achieve a specific user-defined scattered field measured at a series of n\u2009=\u20094 detection (objective) points, o\u2009=\u2009[o1,\u00a0\u2026,\u00a0o4]. Note that in our case we assume a collection of cylindrical circular scatterers (2D) excited with a monochromatic incident field of \u03bbw wavelength. The x-propagating incident field (kx) is polarized in the z-direction (TE wave\u2009-\u2009Ez) with the ej\u03c9t convention.<\/p>\n<p>Fig. 3: A metastructure that designs a metastructure: numerical and experimental results.<a class=\"c-article-section__figure-link\" data-test=\"img-link\" data-track=\"click\" data-track-label=\"image\" data-track-action=\"view figure\" href=\"https:\/\/www.nature.com\/articles\/s41467-025-56019-1\/figures\/3\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" aria-describedby=\"Fig3\" src=\"https:\/\/www.newsbeep.com\/uk\/wp-content\/uploads\/2025\/08\/41467_2025_56019_Fig3_HTML.png\" alt=\"figure 3\" loading=\"lazy\" width=\"685\" height=\"482\"\/><\/a><\/p>\n<p>A Schematic of the numerical test case. A set of five two-dimensional (2D) scatterers with unknown permittivities, to be determined via our analog metadevice, \\(\\varepsilon=\\left[{\\varepsilon }_{1},\\ldots,{\\varepsilon }_{5}\\right]\\) subject to a plane wave excitation. Pictured is the complex-valued scattered field. The scattered fields at the observation points [o1,\u00a0\u2026,\u00a0o4] are used as the benchmark values of this problem in which the objective fields are shown as the color in each torus. The algorithm tunes each permittivity in order to match the scattered field (center of each torus) to the objective fields. B The relative error \\({{\\mathcal{E}}}\\) for the algorithm computed both numerically, and experimentally using the metadevice, under various noise and filtering scenarios. The experimental device gives a minimum relative error of 0.00172 at 87 iterations. C Objective permittivities (black rings) compared to those computed numerically (blue cross) and experimentally via the metadevice (yellow rhombus) using the described algorithm at iteration 87. D Evolution of scattered field vector up to iteration 87 in comparison to objective fields for experiment and simulation under various noise and filtering scenarios.<\/p>\n<p>The scatterers are coupled, making this a nonlinear problem modeled using the Lippmann\u2013Schwinger<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 42\" title=\"Pham, T.-A. et al. Three-dimensional optical diffraction tomography with Lippmann-Schwinger model. IEEE Trans. Comput. Imaging 6, 727&#x2013;738 (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR42\" id=\"ref-link-section-d256042643e4079\" rel=\"nofollow noopener\" target=\"_blank\">42<\/a> scheme, solved with a standard discrete dipole approximation (DDA) methodology<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 43\" title=\"Yurkin, M. A. &amp; Hoekstra, A. G. The discrete dipole approximation: an overview and recent developments. J. Quant. Spectrosc. Radiat. Transf. 106, 558&#x2013;589 (2007).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR43\" id=\"ref-link-section-d256042643e4083\" rel=\"nofollow noopener\" target=\"_blank\">43<\/a>. Each scatterer will respond to the local (self-excluded) electric field, which consists of the known incident electric field, \\({e}_{{{\\rm{inc}}}}\\in \\,{{\\mathbb{C}}}^{5\\times 1}\\), and the scattered field from all other scatterers, \\({e}_{{{\\rm{sca}}}}\\in \\,{{\\mathbb{C}}}^{5\\times 1}\\). The scatterers exhibit a complex polarization vector \\(p=A({e}_{{{\\rm{inc}}}}+{e}_{{{\\rm{sca}}}})\\in \\,{{\\mathbb{C}}}^{5\\times 1}\\) where A is the normalized polarizability diagonal matrix, i.e., A\u2009=\u2009diag(\u03b5\u2009\u2212\u2009\u03b5background). The field interaction between the scatterers is expressed via the Green matrix \\(G\\in \\,{{\\mathbb{C}}}^{5\\times 5}\\) (hollow symmetric matrix) such that esca\u2009=\u2009Gp. We may express the polarization vector p\u2009=\u2009A(einc\u2009+\u2009Gp), which indicates the mutual dependence of p. Therefore, the polarization vector can be calculated as \\(p={({A}^{-1}-G)}^{-1}{e}_{{{\\rm{inc}}}}\\). Finally, we use the four objective points o to measure the scattered field vector \\({e}_{{{\\rm{meas}}}}={G}_{{{\\rm{pr}}}}p\\in \\,{{\\mathbb{C}}}^{4\\times 1}\\) where \\({G}_{{{\\rm{pr}}}}\\in {{\\mathbb{C}}}^{4\\times 5}\\) is the propagator Green function. The measured field is then compared to a (user-defined) objective \\({e}_{{{\\rm{obj}}}}\\in \\,{{\\mathbb{C}}}^{4\\times 1}\\).<\/p>\n<p>A typical constrained minimization problem (primal) can be written as<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 39\" title=\"Bertsekas, D. P. Nonlinear Programming (Athena Scientific, Belmont, MA, 1995).\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#ref-CR39\" id=\"ref-link-section-d256042643e4626\" rel=\"nofollow noopener\" target=\"_blank\">39<\/a><\/p>\n<p>$$\\begin{array}{rcl}&amp;&amp;{\\min }_{\\begin{array}{c}x,y\\end{array}} \\; \\; f(x,y)\\\\ &amp;&amp;{{\\rm{s.t.}}} \\quad g(x,y)\\le 0\\end{array}$$<\/p>\n<p>\n                    (9)\n                <\/p>\n<p>where f(x,\u00a0y) are the objectives and g(x,\u00a0y) are the constraints. For such problems, the Lagrangian (dual) problem is expressed as<\/p>\n<p>$${\\max }_{\\lambda }{\\min }_{\\begin{array}{c}x,y\\end{array}}\\quad {{\\mathcal{L}}}(x,y,\\lambda )=f(x,y)+\\lambda g(x,y)$$<\/p>\n<p>\n                    (10)\n                <\/p>\n<p>Note that x and y may be subject to further requirements such as domains and bounds.<\/p>\n<p>For our particular example, we have that x\u2009=\u2009p, y\u2009=\u2009\u03b5, and f(p,\u00a0\u03b5)\u2009=\u20091\/2\u2225Gprp\u2009\u2212\u2009eobj\u22252 and g(p,\u00a0\u03b5)\u2009=\u20091\/2\u2225(A(\u03b5)\u22121\u2009\u2212\u2009G)p\u2009\u2212\u2009einc\u22252. In our formulation, the objective is the scattered field at the observation points. The constraints comprise the self-consistency of the polarization vector (physics). Also, the permittivity vector is subject to specific bounds, i.e., \\(\\varepsilon \\in {\\mathbb{R}}\\) and \u03b5 \u2208 [1, 5]. Note that g(p,\u00a0\u03b5) is nonlinear with respect to p and \u03b5 and therefore requires a non-stationary approach.<\/p>\n<p>Following an initialization, our numerical evaluation of the above is implemented by a non-stationary algorithm that requires repeated application of the following three steps. First, we minimize with respect to \u03b5 by examining \\({\\nabla }_{\\varepsilon }{{\\mathcal{L}}}(p,\\varepsilon,\\lambda )=0\\). At this step, we project the resulting permittivity vector to the desired domain and bounds. Second, we minimize with respect to p by examining \\({\\nabla }_{p}{{\\mathcal{L}}}(p,\\varepsilon,\\lambda )=0\\). At this stage, the required stationary matrix inversion is performed with our metadevice. Finally, we maximize for \u03bb by using \\({\\nabla }_{\\lambda }{{\\mathcal{L}}}(p,\\varepsilon,\\lambda )=0\\). These steps are repeated until convergence is achieved, i.e.,<\/p>\n<p>$${{\\mathcal{E}}}=\\parallel \\!\\!{e}_{{{\\rm{obj}}}}-{e}_{{{\\rm{meas}}}}{\\parallel }^{2}\/\\parallel \\!\\!{e}_{{{\\rm{obj}}}}{\\parallel }^{2} &lt; \\delta$$<\/p>\n<p>\n                    (11)\n                <\/p>\n<p>(for more information, see SM).<\/p>\n<p>As a numerical test case, the scatterers are assumed to be lossless with permittivity of \\(\\varepsilon=\\left[{\\varepsilon }_{1},{\\varepsilon }_{2},{\\varepsilon }_{3},{\\varepsilon }_{4},{\\varepsilon }_{5}\\right]=[3.5,\\,1.5,\\,1.5,\\,3.5,\\,1.5]\\). The objective scattered field at the detection points o, as depicted in (Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>A), is eobj\u2009=\u2009[\u22120.0086\u2009\u2212\u20090.0078j,\u00a00.0089\u2009\u2212\u20090.0132j,\u22120.0066\u2009\u2212\u20090.0120j,\u00a00.0043\u2009\u2212\u20090.0004j]. The values were extracted from the DDA method and verified with a full-wave COMSOL simulation. Note that Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>A depicts the complex (hue\/saturation) of the electric scattered field (Ez), i.e., the difference between the total field and the incident excitation.<\/p>\n<p>Figure\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>B depicts a set of four cases for the same algorithm. In the first case (black line), the idealized (noiseless, no filtering) computer evaluation of the algorithm is given &#8211; we observe that after only 20 iterations the error drops below 10\u22123. The experimental results are presented in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>B as red dots. The measured results exhibit an optimal point (minimum error) after 87 iterations, with an error of 0.00172. As an analog device, there is an additional systematic\/stochastic\/experimental noise to the system which affects the fidelity of the matrix inversion. We apply a simple averaging filtering scheme on the polarization estimation, i.e., pnew\u2009=\u2009(1\u2009\u2212\u2009\u03b1F)p\u2009+\u2009\u03b1Fpprevious, with \u03b1F\u2009=\u20090.25, as a way to partially mitigate this noise. The filter affects the convergence speed by increasing the iteration count but also significantly improves the accuracy\/fidelity of the matrix inversion, hence the metadevice\u2019s performance. This feature is illustrated in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>B, where the retrieved experimental results are compared to the idealized computer evaluation with the applied filter (blue line). We also performed a series of 100 randomized cases of the idealized filtered computer evaluation with added noise to the estimated\/measured polarization vector (faint blue lines in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>B). The noise profile is similar to the one used in the first example (Newton\u2019s method). The measured results are well contained within these error bounds. Note that iteration count is not equivalent to time. For a traditional computer evaluation, each iteration (with its required matrix inversion) could ultimately be slower than the convergence time of an optimized hardware implementation of the metadevice.<\/p>\n<p>Due to systematic\/measurement noise, the error begins to grow after the experimental accuracy floor is obtained &#8211; an indication that a termination criterion could be applied at this point. This result also agrees with the maximum accuracy we obtained in the previous non-stationary example. More sophisticated error-correcting and filtering schemes can push the accuracy below this threshold. For instance, \u03b1F could be adaptively tuned during the non-stationary evaluation to realize a mixed-precision computing system.<\/p>\n<p>At the minimum error point (iteration 87), the extracted permittivity estimation is illustrated in (Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>C). Notice that the values are very close to the numerical test case objectives and permittivities. Finally, Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"http:\/\/www.nature.com\/articles\/s41467-025-56019-1#Fig3\" rel=\"nofollow noopener\" target=\"_blank\">3<\/a>D illustrates the path of the scattering vector, emeas, for these 87 iterations. Similar to the above example, the faint paths represent the added noise effects on the numerical evaluation.<\/p>\n","protected":false},"excerpt":{"rendered":"A conceptual representation of the main idea is pictorially summarized in Fig.\u00a01A. The main property of our proof-of-concept&hellip;\n","protected":false},"author":2,"featured_media":68375,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[4323,22611,4230,20753,4231,20754,23691,90,86,56,54,55],"class_list":["post-68374","post","type-post","status-publish","format-standard","has-post-thumbnail","category-computing","tag-computing","tag-electrical-and-electronic-engineering","tag-humanities-and-social-sciences","tag-metamaterials","tag-multidisciplinary","tag-nanophotonics-and-plasmonics","tag-photonic-devices","tag-science","tag-technology","tag-uk","tag-united-kingdom","tag-unitedkingdom"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/68374","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/comments?post=68374"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/68374\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media\/68375"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media?parent=68374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/categories?post=68374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/tags?post=68374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}