ArticlePDF Available

A metalens-based analog computing system for ultrasonic Fourier transform calculations

Springer Nature
Scientific Reports
Authors:

Abstract and Figures

Wave-based analog computing is a new computing paradigm heralded as a potentially superior alternative to existing digital computers. Currently, there are optical and low-frequency acoustic analog Fourier transformers. However, the former suffers from phase retrieval issues, and the latter is too physically bulky for integration into CMOS-compatible chips. This paper presents a solution to these problems: the Ultrasonic Fourier Transform Analog Computing System (UFT-ACS), a metalens-based analog computer that utilizes ultrasonic waves to perform Fourier transform calculations. Through wave propagation simulations on MATLAB, the UFT-ACS has been shown to calculate the Fourier transform of various input functions with a high degree of accuracy. Moreover, the optimal selection of parameters through sufficient zero padding and appropriate truncation and bandlimiting to minimize errors is also discussed.
This content is subject to copyright. Terms and conditions apply.
1
Vol.:(0123456789)
Scientic Reports | (2022) 12:17124 | https://doi.org/10.1038/s41598-022-21753-9
www.nature.com/scientificreports
A metalens‑based analog
computing system for ultrasonic
Fourier transform calculations
Robert Frederik Uy1* & Viet Phuong Bui2
Wave‑based analog computing is a new computing paradigm heralded as a potentially superior
alternative to existing digital computers. Currently, there are optical and low‑frequency acoustic
analog Fourier transformers. However, the former suers from phase retrieval issues, and the latter
is too physically bulky for integration into CMOS‑compatible chips. This paper presents a solution to
these problems: the Ultrasonic Fourier Transform Analog Computing System (UFT‑ACS), a metalens‑
based analog computer that utilizes ultrasonic waves to perform Fourier transform calculations.
Through wave propagation simulations on MATLAB, the UFT‑ACS has been shown to calculate the
Fourier transform of various input functions with a high degree of accuracy. Moreover, the optimal
selection of parameters through sucient zero padding and appropriate truncation and bandlimiting
to minimize errors is also discussed.
e rst known analog computer is the Antikythera mechanism, invented by the ancient Greeks1. Since then,
many other mechanical and electronic analog computers have been devised to perform mathematical operations
more eciently13. Subsequently, with the development of semiconductor technology and integrated circuits,
the sheer speed and reliability of digital computers eventually led to a tectonic shi in the twentieth century2,3.
When performing complex computational tasks, however, digital computers are computationally inecient
and consume a lot of energy2. Unfortunately, there is little opportunity for further improvements as Moore’s
law approaches its physical limits2,4,5. With the rising demand for ever-increasing computational capacity and
eciency6,7 and the recent breakthroughs in the eld of metamaterials3,8, a new computing paradigm with very
promising prospects has emerged: wave-based analog computing.
Wave-based analog computing leverages waves to perform analog computing. It has been heralded as a
potential future of computing because of its high computational eciency, low crosstalk, and powerful paral-
lel processing1,8,9. Silva etal.’s seminal paper10 on computational metamaterials laid the foundation for other
researchers to conduct studies into both optical and acoustic analog computing systems performing mathematical
operations14,635, with some making use of the Fourier transform to do so3,6,9,10,2628.
The Fourier transform (FT) is a mathematical operation that maps a function in one variable to the
spectral space of its conjugate variable14,3638. It is a powerful tool with wide-ranging applications in myriad
disciplines4,2224,3643. Currently, the two-dimensional Fast Fourier Transform (FFT) algorithm has a computa-
tional complexity of
O
(
N2logN)
, which is not ecient enough for certain applications, such as real-time image
processing in autonomous systems4,2224.
Capitalizing on the Fourier transforming property of thin lenses36, researchers have developed a new, analog
method of performing FT calculations: the optical Fourier transform (OFT)35,36. e OFT, which has an apparent
computational complexity of only
O(N)
, is signicantly faster than the electronic FFT algorithm22,35. However,
due to the limitations of phase modulation and phase retrieval methods22, it would be impractical to capture
phase data when performing the OFT. Researchers thus turned to acoustic waves. Although this method is
comparatively slower than the OFT, it is nevertheless faster than the FFT, and it allows for the retrieval of phase
information, unlike the OFT.
Aiming to replicate the success of optical analog computing systems in acoustics, Zuo etal. developed an
acoustic analog computing (AAC) system that performs FT-based spatial dierentiation, integration, and
convolution26. Several other studies on AAC systems have been conducted, but they all have an operating fre-
quency in the kilohertz range3,9,2628.
Unfortunately, performing acoustic FT at such low frequencies requires a physically bulky computing system
even with the use of thin, planar metasurfaces. erefore, researchers have sought to use ultrasonic waves instead
OPEN
1Hwa Chong Institution, Singapore 269734, Singapore. 2Electronics and Photonics Department, A*STAR Institute
of High Performance Computing, Singapore 138632, Singapore. *email: robertfrederikduy@gmail.com
Content courtesy of Springer Nature, terms of use apply. Rights reserved
2
Vol:.(1234567890)
Scientic Reports | (2022) 12:17124 | https://doi.org/10.1038/s41598-022-21753-9
www.nature.com/scientificreports/
to perform ultrasonic Fourier transform (UFT). e shorter wavelength of ultrasonic waves allows for a more
compact analog computing system that is easily integrable into CMOS-compatible chips. Liu etal. developed an
ultrasonic FT system without any lens22. is, however, would require a relatively large system as, in the absence
of a lens, the UFT will only be achieved in the far eld. Subsequently, Hwang, Kuo, and Lal worked on realizing
the UFT with an acoustic Fresnel lens23, aer which they used a metalens to allow for a more compact UFT
computing system24. Besides compactness, other reasons for using a metalens include the CMOS-compatibility
of materials used and ease of fabrication.
Despite the considerable work that has been done on the UFT2224, there has yet to be a comprehensive
study on the accuracy of the Ultrasonic Fourier Transform Analog Computing System (UFT-ACS). us, this
study aims to ll this gap in the existing literature. Firstly, this study aims to determine how accurate the UFT’s
magnitude and phase are compared with those of the analytical FT for all three types of functions, specied in
Sec. 4. Unlike previous studies2224, this study also takes into account the UFT’s phase, not just its magnitude.
Secondly, this study also seeks to determine how to optimize the UFT calculation for space-limited functions by
examining how the accuracy is aected by the level of zero padding. irdly, another objective of this study is to
investigate the eects of truncation and bandlimiting of functions that are not space-limited and/or bandlimited
on the UFT-ACS’ accuracy to allow for the optimal selection of parameters.
Results
The Ultrasonic Fourier Transform Analog Computing System (UFT‑ACS). Referring to Fig.1, the
Ultrasonic Fourier Transform Analog Computing System (UFT-ACS) consists of ve main parts: the source
plane, a substrate layer, the ultrasonic metalens, another substrate layer, and the observation plane. e entire
UFT-ACS has a square cross-section with side length
L
. e focal length of the metalens is
f
, which is also the
thickness of both substrate layers—this is a key condition for obtaining the UFT expression. e thickness of
the metalens is
tm
.
Using concepts in acoustic wave propagation—in particular, Fresnel diraction and lenses’ Fourier transform-
ing property—and some approximations (see Table1), it can be shown that the output
Po(u,v)
is proportional
to the Fourier transform of the input
Ps(ξ,η)
:
where the operator
denotes the FT,
j=1
,
k
is the wavenumber, and
is the wavelength. Hence, multiply-
ing the pressure eld at the observation plane by the correction factor
(1)
P
O(u,v)
=
jexp
(
2jkf
)
f
F
{
PS(ξ,η)
},
(2)
α=−
jfexp
2jkf
Figure1. Schematic of the UFT-ACS. e gure shows a schematic of the UFT-ACS, which consists of ve
main parts: the input pressure eld
Ps,η)
at the source plane, a substrate layer (light blue), the ultrasonic
metalens (dark blue), another substrate layer (light blue), and the output pressure eld
Po(u,v)
at the
observation plane.
Table 1. Summary of the approximations required to derive the UFT expression.
No Approximation Validity
1
|
rr0|f
1+1
2
xξ
f
2
+1
2
yη
f
2
Fresnel
2
|rr
0
|f
Paraxial
3
cos(n,rr0)1
Paraxial
4
1
|
r
r
0|
+jk
jk
Distances much larger than
Content courtesy of Springer Nature, terms of use apply. Rights reserved
3
Vol.:(0123456789)
Scientic Reports | (2022) 12:17124 | https://doi.org/10.1038/s41598-022-21753-9
www.nature.com/scientificreports/
theoretically yields the exact FT of the pressure eld at the source plane. Hereinaer, the corrected output pres-
sure eld will be referred to as the UFT of the input.
Design of the UFT‑ACS. e operating frequency of the UFT-ACS was chosen as
fwave =1.7
GHz, a high
ultrasonic frequency that allows for a more compact system that would be easier to integrate into CMOS-compati-
ble chips. Both substrate layers, made of fused silica due to the material’s isotropy, have a thickness of
f
=
1.0886
mm. e speed of ultrasonic waves is
vwave =5880
m s−1 in fused silica, which implies
=vwave/fwave =3.46
µm.
e metalens, shown in Fig.2a, consists of many unit cells with a square cross-section of side length 3µm
(a subwavelength feature) and a thickness of
tm=16
µm. In Fig.2b, each unit cell consists of a cylindrical post
made of SiO2 embedded in Si. eoretically, the ultrasonic metalens should have a paraboloidal phase prole
to obtain the UFT. However, discretization is needed as there is a limited number of distinct unit cells. us, the
metalens’ unit cells should be arranged such that the unit cell at each point has a cylindrical post with a radius
corresponding to that point’s interpolated phase shi. Aer interpolation, the ideal phase map becomes the
discretized phase map, shown in Fig.2c.
UFT of various input functions. A space-limited function is one whose non-zero values are contained in
a nite region in the space domain, while a bandlimited function has a nite spectral width containing all spatial
frequency components with non-zero magnitude values. In the context of the FT, there are three main types of
functions: space-limited but not bandlimited (Type I), bandlimited but not space-limited (Type II) and neither
space-limited nor bandlimited (Type III). A function cannot be both space-limited and bandlimited39. A square
input, dened by
f(ξ,η)=rect(ξ/w)rect(η/w)
with
w=135
, was used as a sample Type I input. For Type II
functions, a two-dimensional sinc function, specically
f(ξ,η)=sinc(ξ/12)sinc(η/12)
, was used as a sample
input. Lastly, the two-dimensional Gaussian f(ξ,η)
=
exp
π
(ξ )
2+
(η/γ )
2
with
γ=30
was used as
a sample Type III input. Referring to Fig.3, the simulation results demonstrate that the UFT-ACS is indeed an
accurate Fourier transformer.
For the sample square input, the root-mean-squared error (RMSE) aer normalization is 0.9%. e UFT’s
magnitude prole is in excellent agreement with the analytical FT’s magnitude prole (Fig.3a), with only minor
deviations towards the edges since the UFT expression is derived only aer Fresnel and paraxial approximations
are made (see Table1). us, they are expected to only agree in the central region. e phase proles (Fig.3b)
of the UFT and analytical FT only match well at the center for the same reason. Aberration due to the metalens’
discretized phase prole also contributes to the observed discrepancies in both the magnitude and phase proles.
Moreover, there is some aliasing due to bandlimiting as the square’s FT is not bandlimited.
For the sample sinc input, the RMSE aer normalization is 4.6%. Figure3c shows that there is a somewhat
good agreement between the magnitude proles of the UFT and the analytical FT. As explained by Gibbs’
phenomenon49 (see Supplementary Information), ripple artifacts can be observed in the UFT’s magnitude prole
as a result of truncating the input sinc function—an inevitable consequence of the UFT-ACS’ nite size. Aber-
ration due to the discretized phase prole of the metalens exacerbated the ripples and caused small lobes to be
observed at the sides (see Supplementary Information). Nonetheless, the overall shape of the UFT’s magnitude
prole still resembles that of the analytical FT. Figure3d shows that the phase of the UFT and the analytical FT
(3)
φ
ideal
x,y
=
k
x
2
+y
2
2f
Figure2. Ultrasonic metalens. (a) Top view of the ultrasonic metalens. (b) Unit cell made up of a SiO2
cylindrical post (light blue) embedded in a Si square cuboid (dark blue). (c) Discretized phase map of the
metalens.
Content courtesy of Springer Nature, terms of use apply. Rights reserved
4
Vol:.(1234567890)
Scientic Reports | (2022) 12:17124 | https://doi.org/10.1038/s41598-022-21753-9
www.nature.com/scientificreports/
only match at the center, where the magnitude is signicant. is can be attributed to the fact that the UFT is
only achieved in the paraxial region and to the fact that the magnitude is supposedly zero but there are ripple
artifacts due to truncation. e latter implies that a small error in the real and imaginary parts of the complex
pressure eld results in non-negligible error in the phase. Metalens aberration further contributes to the error.
For the sample Gaussian input, the RMSE aer normalization is 0.4%. It is evident from Fig.3e that the mag-
nitude proles of the UFT and the analytical FT agree well with each other. Granted, there are some small lobes
towards the edges of the magnitude prole, which can be attributed to aberration due to the discretized phase
prole of the metalens (see Supplementary Information). Be that as it may, the signicant magnitude values are
accurate, and the overall shape is preserved. Moreover, it is also evident from Fig.3f that the phase prole of the
UFT coincides with that of the analytical FT only at the center. is is because of the approximations required
to obtain the UFT expression and aberration due to the discretized phase prole of the metalens.
Overall, for all three types of input functions, the UFT satisfactorily matches the analytical FT in both mag-
nitude and phase (see Table2 for summary of RMSEs). e UFT’s magnitude prole has somewhat noticeable
errors towards the edges, and the UFT’s phase prole, as can be observed from Fig.3, matches the analytical
Figure3. Ultrasonic Fourier Transform (UFT) Simulations. (a) Square: Magnitude proles of the UFT and
the analytical FT. (b) Square: Phase proles of the UFT and the analytical FT. (c) Sinc: Magnitude proles of the
UFT and the analytical FT. (d) Sinc: Phase proles of the UFT and the analytical FT. (e) Gaussian: Magnitude
proles of the UFT and the analytical FT. (f) Gaussian: Phase proles of the UFT and the analytical FT.
Content courtesy of Springer Nature, terms of use apply. Rights reserved
5
Vol.:(0123456789)
Scientic Reports | (2022) 12:17124 | https://doi.org/10.1038/s41598-022-21753-9
www.nature.com/scientificreports/
FT’s phase prole at the center and when the magnitude is signicant. is is acceptable as, in general, only the
signicant magnitude values and their corresponding phase values are of interest in FT applications. Further-
more, the overall shapes of the UFT and analytical FT’s magnitude proles resemble each other well, which is
usually sucient for applications.
Optimization of accuracy. Having examined the accuracy of the UFT for all three types of inputs, this
section explores how the accuracy can be optimized through appropriate zero padding, truncation, and ban-
dlimiting.
Zero padding. Besides the zero padding done to the pressure eld array at the source plane to avoid circular
convolution errors associated with FFT-based convolution4648, space-limited functions must also be zero-pad-
ded within the sampled array bounds
ξ,η [−(L�)/2, (L�)/2]
.
To study the eect of zero padding on the UFT-ACS’ accuracy, MATLAB was used to simulate the UFT calcu-
lation for numerous square input functions of dierent side lengths. e side length
w
was varied incrementally
from 3 to 765, inclusive. Both the UFT and the analytical FT were normalized with the maximum value of the
analytical FT as 1. is is done so that a fair comparison of the errors can be made. Aer normalization, the
root-mean-squared error (RMSE) between the magnitude pattern of the UFT and that of the analytical FT was
calculated, using MATLAB’s mse and sqrt functions, for all
w
.
Figure4a shows how the RMSE varies with the side length
w
of the input square function, which is inversely
related to the amount of zero padding. It can be observed that the error initially decreases as the width
w
increases
or as the amount of zero padding decreases. is occurs because as
w
increases, the eective bandwidth of the
input function decreases, resulting in a decrease in error due to reduced aliasing in the spatial frequency domain.
e error eventually starts to increase as
w
continues increasing. is can be attributed to the fact that the UFT
is only achieved in the paraxial region. Refer to Supplementary Information for additional explanatory diagrams
supporting the above analysis.
us, a moderate number of zeros—neither too little nor too much—must be used to pad space-limited input
functions in order to accurately calculate the FT.
Table 2. RMSE for sample input functions.
Type of Input RMSE (%)
I 0.9
II 4.6
III 0.4
Figure4. Accuracy optimization: zero padding, truncation, and bandlimiting. (a) e graph shows the
dependence of the RMSE on the side length
w
of the input square, which is inversely related to the amount of
zero padding. (b) e graph shows the dependence of the RMSE on
γ
. e blue dots represent the RMSE of the
simulations involving an ideal metalens. e orange vertical line indicates the value of
γ
corresponding to the
case wherein the sampled array just contains 98% of the total spectral power.
Content courtesy of Springer Nature, terms of use apply. Rights reserved
6
Vol:.(1234567890)
Scientic Reports | (2022) 12:17124 | https://doi.org/10.1038/s41598-022-21753-9
www.nature.com/scientificreports/
Truncation and bandlimiting. Truncation, otherwise known as windowing, refers to limiting the spatial extent
of a function that is not space-limited. Analogously, bandlimiting refers to limiting the bandwidth of a function
that is not bandlimited.
To study their impact on accuracy, UFT-ACS simulations were carried out for Gaussians with
γ
(the param-
eter aecting a Gaussian’s width) varied incrementally from 4 to 640, inclusive. Both the UFT (when using an
ideal metalens) and the analytical FT were normalized. Aer normalization, the RMSE was calculated for the
results of each value of
γ
. e UFT with an ideal metalens was used for comparison with the analytical FT so as
to eliminate the errors caused by aberration due to the discretized phase prole of the metalens and, therefore,
ascertain that the error is indeed ascribed to truncation and bandlimiting.
Figure4b shows how the RMSE varies with
γ
. Initially, the RMSE decreases as
γ
increases. Notably, referring
to the inset in Fig.4b, the initial decrease is very steep until the orange line, which corresponds to the value of
γ
for which the eective bandwidth is just contained within the sampled array bounds. However, this decreasing
trend is only observed until a certain critical point, beyond which the RMSE starts to increase again.
e initial decrease occurs because as
γ
increases, the eective bandwidth of the input function decreases,
resulting in a greater percentage of the total spectral power being captured within the sampled array bounds.
erefore, there is a decrease in error due to reduced aliasing in the spatial frequency domain. Moreover, the
paraxial approximations become more valid as
γ
initially increases because if
γ
is too small, the energy, which is
initially highly concentrated at the centre of the space domain, becomes very spread out in the spatial frequency
domain. Eventually, the RMSE stops decreasing and starts rising as
γ
increases further. ere are two reasons
for this. Firstly, for a higher
γ
, the energy is spread out more in the space domain, resulting in more signicant
magnitudes lying outside the sampled array bounds. us, there is an increase in error due to undersampling
in the space domain, outweighing the decrease in error due to reduced aliasing in the spatial frequency domain
associated with a higher
γ
. Secondly, the approximations are less valid when
γ
is too large because the energy,
initially spread out in the space domain, becomes highly concentrated at the center of the spatial frequency
domain. Supplementary Information provides additional graphs supporting the above reasoning.
Hence, to optimize the accuracy of the UFT, the parameter
γ
should be neither too small nor too large such
that the input function and its FT are both of moderate width and the approximations are more valid.
Discussion
In summary, this paper presents the Ultrasonic Fourier Transform Analog Computing System (UFT-ACS), which
has been demonstrated to perform FT calculations for all three types of functions to a relatively high degree of
accuracy. e simulations in this study have shown the true capabilities, appropriately qualied by the limita-
tions, of the UFT-ACS—addressing this knowledge gap in the existing literature. Optimizing the UFT’s accuracy
was also explored and better understood by studying the eect of zero padding, truncation and bandlimiting.
is study’s ndings are of considerable signicance. Performing FT calculations faster than the electronic
FFT algorithm, the UFT-ACS satises the growing demand for such capabilities in some applications like real-
time image processing in autonomous vehicles. Existing analog computing systems also make use of the FT to
perform mathematical operations, such as spatial dierentiation, integration, and convolution. us, the UFT-
ACS can also impact the broader eld of wave-based analog computing. It can improve the prospects of wave-
based analog computers as potential supercomputers in the future, possibly surpassing the current limitations
of today’s electronic computers.
Methods
Ultrasonic metalens designing process. Referring to Supplementary Fig.S3, designing the metalens
involves a few simple steps. Firstly, carry out unit cell simulations in order to obtain a relationship between the
phase shi due to a particular unit cell and the radius of that unit cell’s cylindrical post. Secondly, obtain an array
of the ideal phase map consisting of phase values at sampled points following the theoretical paraboloidal phase
prole
required to obtain the UFT expression. irdly, perform interpolation to the nearest available phase value from
the unit cell simulations using the MATLAB function interp1. us, at this juncture, we have obtained the
discretized phase map consisting of phase values which have a corresponding radius from the unit cell simula-
tions. Subsequently, use the phase-to-radius mapping to obtain a radius map—an array of radius values at each
sampled point. Finally, using the MATLAB function viscircles, generate a gure of the metalens comprising
unit cells whose cylindrical posts have a radius corresponding to the radius at that point as per the radius map
previously obtained.
Wave propagation simulations. Exact solutions—that is, before Fresnel and paraxial approximations
were applied—of the Kirchho-Helmholtz Integral were used to numerically simulate the propagation of ultra-
sonic waves through the UFT-ACS, and the results were compared with the analytical FT. e code was imple-
mented using MATLAB.
As opposed to Finite Element Method (FEM), this semi-analytical approach is much less computationally
costly and, therefore, allows for simulations involving considerably larger arrays—key to understanding the
UFT-ACS’ true capabilities.
e pressure eld
PM
(
x,y)
right in front of the metalens can be obtained by using an FFT-based convolution
approach to convolve the zero-padded input pressure eld array
PS,η)
with the convolution kernel
(4)
φ
ideal
x,y
=
k
x
2
+y
2
2f
Content courtesy of Springer Nature, terms of use apply. Rights reserved
7
Vol.:(0123456789)
Scientic Reports | (2022) 12:17124 | https://doi.org/10.1038/s41598-022-21753-9
www.nature.com/scientificreports/
Note that the
N×N
array
PS,η)
must be padded by at least
N1
zeros to avoid circular convolution
errors47. By convention, the convolution kernel array is the same size as the zero-padded pressure eld array47.
PM(x,y)
is then the
N×N
subarray at the center of the larger array produced by FFT-based convolution. e
second part of the simulation involves applying the phase shi due to the discretized metalens to obtain the
N×N
pressure eld
PM+(x,y)
right behind the metalens. It can be obtained by the element-wise multiplication
of the
N×N
array
PM
x,y
and the
N×N
array
exp
iφ
discretized
, where
φdiscretized
is the discretized phase
prole of the metalens aer interpolating each phase shi value to the closest available phase data from the unit
cell simulations. Subsequently, the
N×N
output pressure eld array
PO(u,v)
is obtained by using FFT-based
convolution to convolve the zero-padded array
PM+(x,y)
with the convolution kernel
Finally, the UFT result is obtained by multiplying the
N×N
pressure eld array
Po(u,v)
at the observation
plane by the correction factor
α=−
jfexp
2jkf
.
See Supplementary Information for the full derivation, which is partly the independent work of the authors.
Simulation parameters. Choosing the appropriate values of the simulation parameters is important as
this aects the accuracy of the UFT as well as the design of the physical system to be fabricated.
e selection of simulation parameters is a three-step process. Firstly, as required by convolution47, the spac-
ing
between the sampled points of the pressure elds in the source, metalens and observation planes must be
the same as the spacing between adjacent metalens unit cells. Secondly, depending on the specic application
for which the UFT-ACS is being used, an appropriate length
L
for the source, metalens and observation planes
must be chosen. Zero padding must be moderate; truncation and bandlimiting must be done appropriately such
that the signicant space and spatial frequency components are within the sampled array bounds. irdly, the
focal length
f
must satisfy
which is derived from a consideration of the sampling requirements of the convolution kernels’ exponential
phase term36,4448. A detailed explanation for each step is oered in the Supplementary Information. Table3
summarizes the values of the simulations’ parameters.
Data availability
e datasets generated during and/or analyzed during the current study are available from the corresponding
author on reasonable request.
Received: 18 June 2022; Accepted: 30 September 2022
References
1. Zangeneh-Nejad, F., Sounas, D. L., Alù, A. & Fleury, R. Analogue computing with metamaterials. Nat. Rev. Mater. 6, 207–225
(2020).
2. Cheng, K. et al. Optical realization of wave-based analog computing with metamaterials. Appl. Sci. 11, 141 (2020).
3. Zangeneh-Nejad, F. & Fleury, R. Performing mathematical operations using high-index acoustic metamaterials. New J. Phys. 20,
073001 (2018).
4. Hwang, J., Davaji, B., Kuo, J. & Lal, A. Focusing proles of planar Si-SiO2 metamaterial ghz frequency ultrasonic lens. In 2021
IEEE International Ultrasonics Symposium (IUS) 1–4 (IEEE, 2021). https:// doi. org/ 10. 1109/ IUS52 206. 2021. 95935 77.
5. MacLennan, B. J. e promise of analog computation. Int. J. Gen Syst 43, 682–696 (2014).
6. Cordaro, A. et al. High-index dielectric metasurfaces performing mathematical operations. Nano Lett. 19, 8418–8423 (2019).
7. Abdollahramezani, S., Chizari, A., Dorche, A. E., Jamali, M. V. & Salehi, J. A. Dielectric metasurfaces solve dierential and integro-
dierential equations. Opt. Lett. 42, 1197 (2017).
8. Rajabalipanah, H., Momeni, A., Rahmanzadeh, M., Abdolali, A. & Fleury, R. A single metagrating metastructure for wave-based
parallel analog computing. arXiv: 2110. 07473 [physics] (2021).
(5)
h
1(ξ,η)
=
jexp
jk
f2+ξ2+η2
f2
+
ξ2
+
η2
.
(6)
h
2
x,y
=
1
f2
+
x2
+
y2
+
jk
fexp
jk
f2+x2+y2
2π(f2
+
x2
+
y2)
.
(7)
f
2(L)
2
(L
)2
,
Table 3. Summary of parameter values.
Parameter Val u e
3µm
L
771µm
fwave
1.7GHz
vwave
5880m s-1
f
1088.6µm
Content courtesy of Springer Nature, terms of use apply. Rights reserved
8
Vol:.(1234567890)
Scientic Reports | (2022) 12:17124 | https://doi.org/10.1038/s41598-022-21753-9
www.nature.com/scientificreports/
9. Zuo, S., Wei, Q., Tian, Y., Cheng, Y. & Liu, X. Acoustic analog computing system based on labyrinthine metasurfaces. Sci. Rep. 8,
1 (2018).
10. Silva, A. et al. Performing mathematical operations with metamaterials. Science 343, 160–163 (2014).
11. Yousse, A., Zangeneh-Nejad, F., Abdollahramezani, S. & Khavasi, A. Analog computing by Brewster eect. Opt. Lett. 41, 3467
(2016).
12. Barrios, G. A., Retamal, J. C., Solano, E. & Sanz, M. Analog simulator of integro-dierential equations with classical memristors.
Sci. Rep. 9, 1 (2019).
13. AbdollahRamezani, S., Arik, K., Khavasi, A. & Kavehvash, Z. Analog computing using graphene-based metalines. Opt. Lett. 40,
5239 (2015).
14. Sihvola, A. Enabling optical analog computing with metamaterials. Science 343, 144–145 (2014).
15. Zhou, Y. et al. Analog optical spatial dierentiators based on dielectric metasurfaces. Adv. Opt. Mater. 8, 1901523 (2019).
16. Kou, S. S. et al. On-chip photonic Fourier transform with surface plasmon polaritons. Light Sci. Appl. 5, 16034 (2016).
17. Cauleld, H. J. & Dolev, S. Why future supercomputing requires optics. Nat. Photon. 4, 261–263 (2010).
18. Zhou, Y., Zheng, H., Kravchenko, I. I. & Valentine, J. Flat optics for image dierentiation. Nat. Photon. 14, 316–323 (2020).
19. Bykov, D. A., Doskolovich, L. L., Bezus, E. A. & Soifer, V. A. Optical computation of the Laplace operator using phase-shied Bragg
grating. Opt. Express 22, 25084 (2014).
20. Karimi, P., Khavasi, A. & Mousavi Khaleghi, S. S. Fundamental limit for gain and resolution in analog optical edge detection. Opt.
Express 28, 898 (2020).
21. Lv, Z., Ding, Y. & Pei, Y. Acoustic computational metamaterials for dispersion Fourier transform in time domain. J. Appl. Phys.
127, 123101 (2020).
22. Liu, Y., Kuo, J., Abdelmejeed, M. & Lal, A. Optical measurement of ultrasonic fourier transforms. In 2018 IEEE International
Ultrasonics Symposium (IUS) 1–9 (2018). https:// doi. org/ 10. 1109/ ULTSYM. 2018. 85799 38.
23. Hwang, J., Kuo, J. & Lal, A. Planar GHz ultrasonic lens for fourier ultrasonics. In 2019 IEEE International Ultrasonics Symposium
(IUS) 1735–1738 (2019). https:// doi. org/ 10. 1109/ ULTSYM. 2019. 89256 62.
24. Hwang, J., Davaji, B., Kuo, J. & Lal, A. Planar lens for GHz fourier ultrasonics. In 2020 IEEE International Ultrasonics Symposium
(IUS) 1–4 (2020). https:// doi. org/ 10. 1109/ IUS46 767. 2020. 92516 14.
25. Kwon, H., Sounas, D., Cordaro, A., Polman, A. & Alù, A. Nonlocal metasurfaces for optical signal processing. Phys. Rev. Lett. 121,
173004 (2018).
26. Zuo, S.-Y., Wei, Q., Cheng, Y. & Liu, X.-J. Mathematical operations for acoustic signals based on layered labyrinthine metasurfaces.
Appl. Phys. Lett. 110, 011904 (2017).
27. Zuo, S.-Y., Tian, Y., Wei, Q., Cheng, Y. & Liu, X.-J. Acoustic analog computing based on a reective metasurface with decoupled
modulation of phase and amplitude. J. Appl. Phys. 123, 091704 (2018).
28. Lv, Z., Liu, P., Ding, Y., Li, H. & Pei, Y. Implementing fractional Fourier transform and solving partial dierential equations using
acoustic computational metamaterials in space domain. Acta. Mech. Sin. https:// doi. org/ 10. 1007/ s10409- 021- 01139-2 (2021).
29. MohammadiEstakhri, N., Edwards, B. & Engheta, N. Inverse-designed metastructures that solve equations. Science 363, 1333–1338
(2019).
30. Zhu, T. et al. Plasmonic computing of spatial dierentiation. Nature Commun. 8, 1 (2017).
31. Zangeneh-Nejad, F. & Fleur y, R. Topological analog signal processing. Nature Commun. 10, 1 (2019).
32. Abdollahramezani, S., Hemmatyar, O. & Adibi, A. Meta-optics for spatial optical analog computing. Nanophotonics 9, 4075–4095
(2020).
33. Solli, D. R. & Jalali, B. Analog optical computing. Nat. Photon. 9, 704–706 (2015).
34. Guo, C., Xiao, M., Minkov, M., Shi, Y. & Fan, S. Photonic crystal slab Laplace operator for image dierentiation. Optica 5, 251
(2018).
35. Macfaden, A. J., Gordon, G. S. D. & Wilkinson, T. D. An optical Fourier transform coprocessor with direct phase determination.
Sci. Rep. 7, 1 (2017).
36. Goodman, J. W. Introduction to Fourier Optics (W. H. Freeman and Company, Hoboken, 2017).
37. James, J. F. A Student’s Guide to Fourier Transforms: With Applications in Physics and Engineering (Cambridge University Press,
Cambridge, 2015).
38. Oran Brigham, E. e Fast Fourier Transform and its Applications (Prentice Hall, Hoboken, 1988).
39. Stark, H. Applications of Optical Fourier Transforms (Academic Press, Cambridge, 1982).
40. Juvells, I., Vallmitjana, S., Carnicer, A. & Campos, J. e role of amplitude and phase of the Fourier transform in the digital image
processing. Am. J. Phys. 59, 744–748 (1991).
41. Gonzalez, R. C. & Woods, R. E. Digital Image Processing (Pearson, London, 2018).
42. Dueux, P. M. e Fourier Transform and its Applications to Optics (Wiley, Hoboken, 1983).
43. Beekes, M., Lasch, P. & Naumann, D. Analytical applications of Fourier transform-infrared (FT-IR) spectroscopy in microbiology
and prion research. Vet. Microbiol. 123, 305–319 (2007).
44. Voelz, D. G. Computational Fourier Optics: A MATLAB Tutorial (Spie Press, Bellingham, 2010).
45. Voelz, D. G. & Roggemann, M. C. Digital simulation of scalar optical diraction: Revisiting chirp function sampling criteria and
consequences. Appl. Opt. 48, 6132 (2009).
46. Zhang, H., Zhang, W. & Jin, G. Adaptive-sampling angular spectrum method with full utilization of space-bandwidth product.
Opt. Lett. 45, 4416–4419 (2020).
47. Zhang, W., Zhang, H., Sheppard, C. J. R. & Jin, G. Analysis of numerical diraction calculation methods: From the perspective of
phase space optics and the sampling theorem. J. Opt. Soc. Am. A 37, 1748 (2020).
48. Zhang, W., Zhang, H. & Jin, G. Frequency sampling strategy for numerical diraction calculations. Opt. Express 28, 39916 (2020).
49. Riley, K. F. & Hobson, M. P. Mathematical Methods for Physics and Engineering: A Comprehensive Guide (Cambridge University
Press, Cambridge, 2008).
Author contributions
R.F.U. planned the research project, mathematically modeled the ultrasonic Fourier transform, carried out the
simulations, and analyzed the data. B.V.P. initiated the project and supervised R.F.U. Both authors reviewed the
manuscript.
Competing interests
e authors declare no competing interests.
Additional information
Supplementary Information e online version contains supplementary material available at https:// doi. org/
10. 1038/ s41598- 022- 21753-9.
Content courtesy of Springer Nature, terms of use apply. Rights reserved
9
Vol.:(0123456789)
Scientic Reports | (2022) 12:17124 | https://doi.org/10.1038/s41598-022-21753-9
www.nature.com/scientificreports/
Correspondence and requests for materials should be addressed to R.F.U.
Reprints and permissions information is available at www.nature.com/reprints.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and
institutional aliations.
Open Access is article is licensed under a Creative Commons Attribution 4.0 International
License, which permits use, sharing, adaptation, distribution and reproduction in any medium or
format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the
Creative Commons licence, and indicate if changes were made. e images or other third party material in this
article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the
material. If material is not included in the article’s Creative Commons licence and your intended use is not
permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from
the copyright holder. To view a copy of this licence, visit http:// creat iveco mmons. org/ licen ses/ by/4. 0/.
© e Author(s) 2022
Content courtesy of Springer Nature, terms of use apply. Rights reserved
1.
2.
3.
4.
5.
6.
Terms and Conditions
Springer Nature journal content, brought to you courtesy of Springer Nature Customer Service Center GmbH (“Springer Nature”).
Springer Nature supports a reasonable amount of sharing of research papers by authors, subscribers and authorised users (“Users”), for small-
scale personal, non-commercial use provided that all copyright, trade and service marks and other proprietary notices are maintained. By
accessing, sharing, receiving or otherwise using the Springer Nature journal content you agree to these terms of use (“Terms”). For these
purposes, Springer Nature considers academic use (by researchers and students) to be non-commercial.
These Terms are supplementary and will apply in addition to any applicable website terms and conditions, a relevant site licence or a personal
subscription. These Terms will prevail over any conflict or ambiguity with regards to the relevant terms, a site licence or a personal subscription
(to the extent of the conflict or ambiguity only). For Creative Commons-licensed articles, the terms of the Creative Commons license used will
apply.
We collect and use personal data to provide access to the Springer Nature journal content. We may also use these personal data internally within
ResearchGate and Springer Nature and as agreed share it, in an anonymised way, for purposes of tracking, analysis and reporting. We will not
otherwise disclose your personal data outside the ResearchGate or the Springer Nature group of companies unless we have your permission as
detailed in the Privacy Policy.
While Users may use the Springer Nature journal content for small scale, personal non-commercial use, it is important to note that Users may
not:
use such content for the purpose of providing other users with access on a regular or large scale basis or as a means to circumvent access
control;
use such content where to do so would be considered a criminal or statutory offence in any jurisdiction, or gives rise to civil liability, or is
otherwise unlawful;
falsely or misleadingly imply or suggest endorsement, approval , sponsorship, or association unless explicitly agreed to by Springer Nature in
writing;
use bots or other automated methods to access the content or redirect messages
override any security feature or exclusionary protocol; or
share the content in order to create substitute for Springer Nature products or services or a systematic database of Springer Nature journal
content.
In line with the restriction against commercial use, Springer Nature does not permit the creation of a product or service that creates revenue,
royalties, rent or income from our content or its inclusion as part of a paid for service or for other commercial gain. Springer Nature journal
content cannot be used for inter-library loans and librarians may not upload Springer Nature journal content on a large scale into their, or any
other, institutional repository.
These terms of use are reviewed regularly and may be amended at any time. Springer Nature is not obligated to publish any information or
content on this website and may remove it or features or functionality at our sole discretion, at any time with or without notice. Springer Nature
may revoke this licence to you at any time and remove access to any copies of the Springer Nature journal content which have been saved.
To the fullest extent permitted by law, Springer Nature makes no warranties, representations or guarantees to Users, either express or implied
with respect to the Springer nature journal content and all parties disclaim and waive any implied warranties or warranties imposed by law,
including merchantability or fitness for any particular purpose.
Please note that these rights do not automatically extend to content, data or other material published by Springer Nature that may be licensed
from third parties.
If you would like to use or distribute our Springer Nature journal content to a wider audience or on a regular basis or in any other manner not
expressly permitted by these Terms, please contact Springer Nature at
onlineservice@springernature.com
... Due to their powerful parallel processing, high computational efficiency, and minimal crosstalk, wave-based analog computing systems have been hailed as a potential future of computing 1,8,9 . It was the pioneering work of Silva et al. 10 on computational metamaterials that set the stage for subsequent research into analog computing systems that perform mathematical operations and solve equations [1][2][3][4]37 , with a subset of these focusing on the use of the Fourier transform (FT) to do so 3,6,9,10,[26][27][28]37 . More recently, Zangeneh-Nejad et al. provided a well-written, comprehensive overview of recent developments in this field as a whole 1 . ...
... Due to their powerful parallel processing, high computational efficiency, and minimal crosstalk, wave-based analog computing systems have been hailed as a potential future of computing 1,8,9 . It was the pioneering work of Silva et al. 10 on computational metamaterials that set the stage for subsequent research into analog computing systems that perform mathematical operations and solve equations [1][2][3][4]37 , with a subset of these focusing on the use of the Fourier transform (FT) to do so 3,6,9,10,[26][27][28]37 . More recently, Zangeneh-Nejad et al. provided a well-written, comprehensive overview of recent developments in this field as a whole 1 . ...
... The side length of the entire ACS' square cross-section is L. Referring to Fig. 1b, each UFT block consists of three main parts: a fused silica substrate layer, the ultrasonic metalens, followed by another fused silica substrate layer. If the input pressure field of the ultrasonic wave that is made to pass through the UFT block is P , the output pressure field obtained at the other end of the UFT block is P FT , which has been shown to be proportional to P 's Fourier transform 37 . A key condition for obtaining the UFT through this block is that both the thickness of the substrate layers and the focal length of the metalens must be f 37 . ...
Article
Full-text available
Wave-based analog computing has recently emerged as a promising computing paradigm due to its potential for high computational efficiency and minimal crosstalk. Although low-frequency acoustic analog computing systems exist, their bulky size makes it difficult to integrate them into chips that are compatible with complementary metal-oxide semiconductors (CMOS). This research paper addresses this issue by introducing a compact analog computing system (ACS) that leverages the interactions between ultrasonic waves and metasurfaces to solve ordinary and partial differential equations. The results of our wave propagation simulations, conducted using MATLAB, demonstrate the high accuracy of the ACS in solving such differential equations. Our proposed device has the potential to enhance the prospects of wave-based analog computing systems as the supercomputers of tomorrow.
... To date, the ultrasonic WFC has been investigated only for the FFT of 2D data for image processing, however, 1-D FFT for signal processing is important and how to use such a WFC system for signal processing remains unknown. On the other hand, the WFC system using GHz ultrasonic waves 11,13,14 passing through a flat lens 15,16 will be finally packaged into a chip by semiconductor technologies. Before fabrication and measurement, it is important to validate the idea, investigate the main factors that which cause errors, and optimize the system design. ...
... After phase transformation by the lens, the pressure field needs to be propagated again using Fresnel diffraction to the receivers' pixels (also called the output plane in Fig. 1a). From equations (5)(6)(7)(8)(9)(10)(11)(12)(13)(14)(15)(16)(17)(18)(19) in Joseph Goodman's textbook 9 which are used to perform Fresnel diffraction propagation via computing the Fourier transform, for the special case where d = f, where d is the distance from the object plane to the lens, and f is the focal length, then the equation reduces an exact Fourier transform: ...
Article
Full-text available
The recent emerging alternative to classic numerical Fast Fourier transform (FFT) computation, based on GHz ultrasonic waves generated from and detected by piezoelectric transducers for wavefront computing (WFC), is more efficient and energy-saving. In this paper, we present comprehensive studies on the modeling and simulation methods for ultrasonic WFC computation. We validate the design of the WFC system using ray-tracing, Fresnel diffraction (FD), and the full-wave finite element method (FEM). To effectively simulate the WFC system for inputs of 1-D signals and 2-D images, we verified the design parameters and focal length of an ideal plano-concave lens using the ray-tracing method. We also compared the analytical FFT solution with our Fourier transform (FT) results from 3-D and 2-D FD and novel 2-D full wave FEM simulations of a multi-level Fresnel lens with 1-D signals and 2-D images as inputs. Unlike the previously reported WFC system which catered only for 2-D images, our proposed method also can solve the 1-D FFT effectively. We validate our proposed 2-D full wave FEM simulation method by comparing our results with the theoretical FFT and Fresnel diffraction method. The FFT results from FD and FEM agree well with the digitally computed FFT, with computational complexity reduced from O(N2logN)O(N2logN)O(N^2 logN) to O(N) for 2-D FFT, and from O(NlogN) to O(N) for 1-D FFT with a large number of signal sampling points N.
Article
Full-text available
Wave-based signal processing has witnessed a significant expansion of interest in a variety of science and engineering disciplines, as it provides new opportunities for achieving high-speed and low-power operations. Although flat optics desires integrable components to perform multiple missions, yet, the current wave-based computational metasurfaces can engineer only the spatial content of the input signal where the processed signal obeys the traditional version of Snell’s law. In this paper, we propose a multi-functional metagrating to modulate both spatial and angular properties of the input signal whereby both symmetric and asymmetric optical transfer functions are realized using high-order space harmonics. The performance of the designed compound metallic grating is validated through several investigations where closed-form expressions are suggested to extract the phase and amplitude information of the diffractive modes. Several illustrative examples are demonstrated to show that the proposed metagrating allows for simultaneous parallel analog computing tasks such as first- and second-order spatial differentiation through a single multichannel structured surface. It is anticipated that the designed platform brings a new twist to the field of optical signal processing and opens up large perspectives for simple integrated image processing systems.
Article
Full-text available
Metamaterials can control incident waves in the sub-wavelength range through the design of artificial structures, and realize the functions that natural materials cannot achieve. The study of metamaterials has important theoretical value and application prospects. In recent years, the proposal of computational metamaterials has opened up a brand-new direction for analog computing, providing high-throughput, energy-free computing methods for special computing tasks. However, the development of acoustic computing metamaterials is relatively preliminary, and it is necessary to develop design theories. There is no work to solve partial differential equations and realize fractional Fourier transform in spatial domain acoustic computing metamaterials. In this paper, the acoustic wave computational metamaterial is designed, and the simulation realizes the spatial domain fractional Fourier transform and partial differential equation calculation. It is expected that acoustic computational metamaterials will enable new capabilities in signal acquisition and processing, network computing, and drive new applications of sound wave.Graphic abstract
Article
Full-text available
Recently, the study of analog optical computing raised renewed interest due to its natural advantages of parallel, high speed and low energy consumption over conventional digital counterpart, particularly in applications of big data and high-throughput image processing. The emergence of metamaterials or metasurfaces in the last decades offered unprecedented opportunities to arbitrarily manipulate the light waves within subwavelength scale. Metamaterials and metasurfaces with freely controlled optical properties have accelerated the progress of wave-based analog computing and are emerging as a practical, easy-integration platform for optical analog computing. In this review, the recent progress of metamaterial-based spatial analog optical computing is briefly reviewed. We first survey the implementation of classical mathematical operations followed by two fundamental approaches (metasurface approach and Green’s function approach). Then, we discuss recent developments based on different physical mechanisms and the classical optical simulating of quantum algorithms are investigated, which may lead to a new way for high-efficiency signal processing by exploiting quantum behaviors. The challenges and future opportunities in the booming research field are discussed.
Article
Full-text available
Diffraction calculations play an essential role in Fourier optics and computational imaging. Conventional methods only consider the calculation from the perspective of discrete computation which would either cause error or sacrifice efficiency. In this work, we provide a unified frequency response analysis from the joint physics-mathematics perspective and propose corresponding adaptive frequency sampling strategies for five popular diffraction calculation methods. With the proposed strategies, the calculation correctness is guaranteed and the calculation efficiency is improved. Such an idea of unified frequency response study would help researchers make a do-it-yourself analysis for various diffraction calculation tasks and choose or develop a method for accurate and efficient computations of the diffraction fields.
Article
Full-text available
Rapidly growing demands for high-performance computing, powerful data processing, and big data necessitate the advent of novel optical devices to perform demanding computing processes effectively. Due to its unprecedented growth in the past two decades, the field of meta-optics offers a viable solution for spatially, spectrally, and/or even temporally sculpting amplitude, phase, polarization, and/or dispersion of optical wavefronts. In this review, we discuss state-of-the-art developments, as well as emerging trends, in computational metastructures as disruptive platforms for spatial optical analog computation. Two fundamental approaches based on general concepts of spatial Fourier transformation and Green’s function (GF) are discussed in detail. Moreover, numerical investigations and experimental demonstrations of computational optical surfaces and metastructures for solving a diverse set of mathematical problems (e.g., integrodifferentiation and convolution equations) necessary for on-demand information processing (e.g., edge detection) are reviewed. Finally, we explore the current challenges and the potential resolutions in computational meta-optics followed by our perspective on future research directions and possible developments in this promising area.
Article
Full-text available
Diffraction calculations are widely used in applications that require numerical simulation of optical wave propagation. Different numerical diffraction calculation methods have their own transform and sampling properties. In this study, we provide a unified analysis where five popular fast diffraction calculation methods are analyzed from the perspective of phase space optics and the sampling theorem: single fast Fourier transform-based Fresnel transform, Fresnel transfer function approach, Fresnel impulse response approach, angular spectrum method, and Rayleigh–Sommerfeld convolution. The evolutions of an input signal’s space-bandwidth product (SBP) during wave propagation are illustrated with the help of a phase space diagram (PSD) and an ABCD matrix. It is demonstrated that all of the above methods cannot make full use of the SBP of the input signal after diffraction; and some transform properties have been ignored. Each method has its own restrictions and applicable range. The reason why different methods have different applicable ranges is explained with physical models. After comprehensively studying and comparing the effect on the SBP and sampling properties of these methods, suggestions are given for choosing the proper method for different applications and overcoming the restrictions of corresponding methods. The PSD and ABCD matrix are used to illustrate the properties of these methods intuitively. Numerical results are presented to verify the analysis, and potential ways to develop new diffraction calculation methods are also discussed.
Article
Full-text available
As convolution-based diffraction calculation methods, Rayleigh–Sommerfeld convolution and the angular spectrum method (ASM) usually require zero padding to avoid circular convolution errors. This greatly increases the computational complexity and wastes a large amount of the sampling points. In this Letter, based on the analysis of sampling properties in the convolution process, we propose an adaptive-sampling ASM, which can adjust the sampling parameters according to the propagation distance to avoid circular convolution errors without zero padding. The sampling condition of the transfer function can be adaptively satisfied by rearranging the sampling points in the spatial frequency domain. Therefore, the computational complexity is significantly reduced, and all the sampling points are effectively used, which leads to a full utilization of the space-bandwidth product.
Article
Despite their widespread use for performing advanced computational tasks, digital signal processors suffer from several restrictions, including low speed, high power consumption and complexity, caused by costly analogue-to-digital converters. For this reason, there has recently been a surge of interest in performing wave-based analogue computations that avoid analogue-to-digital conversion and allow massively parallel operation. In particular, novel schemes for wave-based analogue computing have been proposed based on artificially engineered photonic structures, that is, metamaterials. Such kinds of computing systems, referred to as computational metamaterials, can be as fast as the speed of light and as small as its wavelength, yet, impart complex mathematical operations on an incoming wave packet or even provide solutions to integro-differential equations. These much-sought features promise to enable a new generation of ultra-fast, compact and efficient processing and computing hardware based on light-wave propagation. In this Review, we discuss recent advances in the field of computational metamaterials, surveying the state-of-the-art metastructures proposed to perform analogue computation. We further describe some of the most exciting applications suggested for these computing systems, including image processing, edge detection, equation solving and machine learning. Finally, we provide an outlook for the possible directions and the key problems for future research.