Function Differentiation#
The approximation of differential operators is key to efficiently solve partial differential equations.
Finite Differences#
The second-order finite difference method approximates the first and second derivatives of f(x) as
This is translated into the quantum register representation using the displacement operator
leading to
This approximation is improved with a smoother formula to avoid noise resilience following Holoborodko.
An example on how to use these functions is shown in Differentiation.ipynb.
|
Finite differences operator with noise resilience. |
Hermite Distributed Approximate Functionals (HDAF)#
Fourier approximation#
Ref. García-Ripoll [GR21] shows that the quantum Fourier transform \(\mathcal{F}\) can be used to construct as differential operator as
This can be obtained combining the seemps.analysis.operators.p_to_n_mpo()
function with SeeMPS’s QFT seemps.qft.qft()
.
However, the QFT is not yet optimally implemented for this task, since the bond dimension scales linearly with the number of sites.