WorksPhysics and Astronomy
Quantum simulation of classical RCL circuits via complexification and Schrödingerization
Abstract
The decomplexification procedure establishes a mathematical equivalence between finite dimensional quantum dynamics and classical dynamics by mapping the complex quantum domain onto the real classical one. Its inverse process, complexification — which lifts a classical dynamics to an equivalent quantum formulation — is of great interest, particularly because it enables the quantum simulation of equations that are of classical relevance. In this way, one can prepare the solution of classical differential equations to be implemented using quantum computation tools. In the present work, we recall the decomplexification procedure and also discuss several distinct strategies for performing the complexification of classical equations, so as to obtain the corresponding quantum-equivalent dynamics.
Introduction
The simulation of dynamical processes is central to science and, in particular, to physics as it allows for a better understanding of the laws governing those processes. The development of quantum computers promises a revolution in this field. On the one hand, quantum computers, as anticipated by Yuri Manin [1] and shortly after by Richard Feynman [2] offer the possibility of surpassing the inherent difficulty to simulate quantum systems as the size of the system grows [3, 4, 5]. On the other hand, quantum computers are also candidates to boost up, in an unprecedented way, calculations that are nowadays performed by classical computers [6, 7].
A crucial ingredient behind both topics is understanding the relationship between quantum and classical dynamics. The proof of the mathematical equivalence between quantum and classical dynamics of systems of finite dimension [8] is based upon the decomplexification procedure [9, 10]. By means of this technique, one solves the difficulty in comparing both dynamics due to the fact that Quantum Mechanics is defined in a complex space, while Classical Mechanics lives in a real space. The decomplexification procedure of a complex vector space is valid because any complex vector space can be rewritten as a real vector space [11]. In doing this, one has to omit the multiplication of a vector by a complex number because only the product by real numbers is allowed.
The decomplexification procedure, as well as its inverse one, complexification, has a precise mathematical meaning. Both procedures are briefly presented in the next section and related to the problem of equivalence between their corresponding dynamics.
The equivalence just described has two main consequences. On the one hand it provides the possibility of establishing a connection between quantum systems and classical oscillators, in particular with electric resonant circuits; on the other hand, complexification allows quantum simulations of classical equations. Therefore, this analysis leads to the possibility of simulating in the laboratory (or numerically) the time evolution of equivalent quantum systems [12, 13]. Moreover, inversely one may apply quantum computing technology to simulate classical systems.
The next section is devoted to a presentation of the complexification and decomplexification procedures. There, two cases are treated in detail, to fix ideas and to show the potentiality of both procedures. In section III we include, for completeness and for the scope of comparison, a recently proposed method [14] for "Schrödingerisation" of classical differential equations, which certainly implies the complexification of the original ones. This method appears very useful for computing solutions of the classical equations in the quantum domain. We end by drawing some conclusions of our analysis.
Decomplexification and complexification procedures
We next present a brief mathematical description of the decomplexification and complexification processes used in the analysis of differential equations to treat those cases where a real equation has complex eigenvalues. These cases are of particular interest because the real space is not enough to account for the equation and its solutions.
We first summarize the decomplexification formalism, which defines a classical analog of a quantum system, to establish the connection between quantum and classical dynamics. This can be ultimately presented as an analog description of quantum systems in terms of oscillatory electric circuits.
The decomplexification procedure [9] of quantum Hamiltonians is presented here for the simple case of a Hamiltonian just to fix ideas, but this procedure works for any Hamiltonian of finite dimension. The starting Schrödinger equation is
where we use . The Hamiltonian is a hermitian matrix, and is a two component vector.
Using the notation
after separating real and imaginary parts and using matrix notation we get for the Schrödinger equation
Defining
and
the system of first order differential equations that has equivalent mathematical information as the starting quantum one becomes
These equations can be transformed into two separated second order differential equations for and that can immediately be identified with classical oscillators, namely
and an entirely similar one for .
In Eq. (7), the matrix appearing in the coefficient of the first derivative of does it with the same sign as the second term of the same coefficient. This allows to describe in the formalism the dissipative part of the dynamics generated by an imaginary part of an effective Hamiltonian, thus making it possible to study decaying states. Conversely, the dynamics of a PT-symmetric Hamiltonian could be described if both terms had opposite signs.
As mentioned earlier, the above procedure can be formally extended to Hamiltonians of finite arbitrary dimension [8].
We now provide elements for introducing complexification, the opposite procedure to decomplexification. Namely, to build up the Hamiltonian or the complex differential equation of Schrödinger type, from the knowledge of what should be the equivalent classical dynamics.
We present first a procedure that starts from the set of differential equations of second order under consideration (in the example that follows, the equation is related to electric oscillators). These equations can be transformed, in the standard way, into a set of first order differential equations that are written in matrix notation. The next step is to find the eigenvalues of this matrix characterizing the system. Notice that this real matrix, the state matrix, can have real or complex conjugate eigenvalues. Since these eigenvalues can be complex, from a mathematical point of view, one has to extend the differential equation from the corresponding real space to a complex space. A way to do this is to find the matrix that diagonalizes the state matrix. Using the diagonalizing matrix two complex conjugate equations are generated, which show how one can go from a space to a space. By taking one of them one can construct a Schrödinger type equation simply by multiplying the equation by . In this way, one obtains a quantum equivalent Hamiltonian. This proposal, involving the solution of algebraic equations, although it can be generalized for larger dimensions, implies the solution of complex algebraic equations that in most cases have to be treated by numerical methods.
To fix ideas, we present a couple of examples. Let us first consider a very simple case of the differential equation of only one classical damped oscillator, namely, a resonant circuit that satisfies
with some initial conditions, non relevant for the moment. This equation can be transformed into a system of first order differential equations as follows. Calling
equation (8) becomes
which has the form
where, in general, the state vector has components (2 in this example) in a real space () and is a matrix with real elements (2 × 2 in this case)
For the example under consideration, the state vector is
and
The next step is to find the eigenvalues of , which are
clearly being complex conjugate of each other when . Then, these eigenvalues escape from the real space, and the same happens with the eigenstates of
Consequently, one has to extend the differential equation from the real space to the complex space (, in this case). To do this it is enough to find the matrix that diagonalizes , namely
Then,
which, after introducing the complex eigenstates, gives rise to
Being complex conjugate of each other, one can proceed taking into account only one of them and one has complexified the real equation going from to the complex space . The equation now is
which can be read as a Schrödinger equation with the, as expected, non hermitian Hamiltonian
a complex number in this trivial case. Now we present in detail the case of complexification of the differential equations that correspond to two -symmetric resonant circuits, coupled by gyrator, represented in Figure 1, namely
Figure 1. Gyrator-coupled oscillator circuit.
where
Recall that a gyrator is a non-reciprocal passive element of two ports with a given conductance [15].
Calling as before and to the potentials and their derivatives, one gets
where the matrix has the characteristic polynomial
which can be written, by defining , as
and has the eigenvalues
To simplify the notation, one defines
and the eigenvalues can be written as
Finally, the four roots of the characteristic polynomial of are
The corresponding eigenvectors are certainly complex conjugate of each other, and this allows one to restrict the space of states to the complex space . Consequently, we write the complexified equation in a similar way that we presented for the case of only one circuit, restricting the analysis to
which, as before, can be seen as an equivalent Schrödinger equation with the Hamiltonian
This expression has successfully completed the complexification of the initial classical case. Just to make more clear the connection between the coupled classical circuits and the -symmetric conventional expression of the Hamiltonian, we next perform a similarity transformation.
To do so, let us start recalling the characteristic polynomial of the matrix
Then, we can propose a general matrix , so that it reproduces the same characteristic polynomial as above
and try to determine its parameters by taking into account that, for this general matrix, the characteristic polynomial is
which allows one to identify its coefficients with those of Eq. (35)
One can choose
On the other hand, from the independent term of the polynomial
we get
which is verified if
Finally, the similarity transformed Hamiltonian results in
which clearly displays the usual form of a -symmetric Hamiltonian
From the above examples, it is clear how to generalize the complexification procedure to a general finite dimension. Certainly, the required algebraic manipulations could be quite cumbersome, so that a more general approach is needed for a larger electric circuit. Such approach is addressed in the following section.
Quantum simulation of differential equations
The examples discussed in the previous section can be brought to the more general arena of simulating a system of differential equations using quantum algorithms on quantum hardware. There have been several proposals, with different complexity reduction, as compared to classical methods. For a recent review, we refer the reader to [16]. A specific quantum algorithm has been introduced to simulate the dynamics of electrical circuits consisting of resistors, inductors, and capacitors along with power sources, which provides an exponential speed-up over classical algorithms [17].
The complexification method offers a way to undergo this task, by mapping the original real system into a Schrödinger equation. However, the procedure quickly becomes cumbersome and impractical as the size of the system is increased, and one would like to design a more straightforward path that allows for such direct mapping. Here, we wish to emphasize a method that aligns well with the ideas developed in previous sections, in the sense that it aims for the most direct possible conversion of a system of differential equations into an evolution governed by the Schrödinger equation, using a Hamiltonian that includes an additional variable. Indeed, the authors describe the method as a process of "Schrödingerization” [14]. This method ends with equations that can be handled even in involved cases by numerical simulations, an has been applied to finding the numerical solution in some practical cases, such as the heat, convection, Fokker-Planck, linear Boltzmann, and Black-Scholes equations [18]. Here we relate this procedure to the problem of simulating an electric circuit, which provides an additional test for the Schrödingerization method.
We briefly summarize the Schrödingerization procedure. Let us consider the following equation
where is a vector on an “internal” -dimensional Hilbert space , and is a matrix. The Schrödingerization first decomposes it into the Hermitian and anti-Hermitian parts:
It next defines a warp transformation
The new variable has to be interpreted as a new degree of freedom associated to an extra Hilbert space , so that belongs to the composed space . For the transformed vector one readily obtains
Notice that, in the above equation, the derivative in can be interpreted as a momentum operator acting on the space. The main point is that Eq. (45) describes an unitary evolution, even if the initial (42) was not. In the following subsections we discuss how Eq. (45) can be solved on a quantum computer for the case of just one simple oscillator, although it can be easily generalized to more complicated circuits.
Quantum circuit implementation
For an implementation on a quantum computer, the auxiliary variable has to be represented by a finite-dimensional quantum register. We truncate the auxiliary domain to the finite interval
and discretize it using
grid points. The grid points are defined as
with
The auxiliary Hilbert space is then spanned by the computational basis states
which encode the discretized values .
An internal space of dimension requires qubits, while the auxiliary register requires qubits.
In the discretized representation, the enlarged state is written as
Here, labels the internal degrees of freedom, while labels the auxiliary coordinate.
On the finite grid, is diagonal in the discrete Fourier basis, with momentum values
for even . Defining
the momentum operator can be written, using the QFT convention adopted in PennyLane [19], as
or equivalently,
Therefore, transforms the auxiliary register from the basis to the momentum basis, where the momentum operator is diagonal. After the evolution, transforms the register back to the basis.
Using this representation, the Schrödingerized Hamiltonian
can be implemented through the equivalent momentum-basis Hamiltonian
The complete time evolution is then given by
Thus, the Fourier transformation is performed coherently on the auxiliary quantum register through the QFT rather than as a classical preprocessing step.
Single-oscillator implementation. We now apply the Schrödingerization procedure to the single damped oscillator introduced in the previous section, see Eq. (9).
For the numerical example considered here, we take
so that
The eigenvalues of are , corresponding to a stable underdamped oscillator.
The exact classical solution used for comparison is
With initial condition
one readily obtains .
The decomposition defined in Eq. (43) gives
and
Since the internal space has dimension two, a single qubit is sufficient to encode the oscillator variables.
The lifted initial condition is chosen as
where the auxiliary state encodes the symmetrized profile
Since the state must be normalized for quantum state preparation, we define
where
Choice of the auxiliary domain and recovery. The auxiliary domain must be sufficiently large for two reasons. First, the recovery point must lie inside the discretized interval. Second, the artificial periodic boundary introduced by the Fourier representation must be sufficiently far from the relevant region so that the auxiliary profile has decayed to a negligible value.
Following the Schrödingerization prescription, the original solution can be recovered from
provided that is chosen within the appropriate recovery region. Notice that, in this example, the eigenvalues of are , and . As discussed in [20], the existence of non-negative eigenvalues of requires special attention for the recovery process to work. In our implementation, a fixed grid point satisfying
is used for all evolution times, where
Here, denotes the final evolution time and is the largest positive eigenvalue of . For the oscillator considered here,
For a total evolution time
the corresponding recovery threshold is
The length of the auxiliary interval is chosen such that the exponentially decaying auxiliary profile is negligible at the boundaries. In the numerical implementation, is determined from the condition
where is a prescribed numerical tolerance. We use
This choice keeps the recovery region well inside the discretized interval while suppressing the influence of the artificial periodic boundary.
After the time evolution, the amplitudes of the Schrödingerized state are reshaped into the matrix
where the first index labels the internal oscillator variables and the second index labels the auxiliary grid points. The recovered solution is then obtained from the column associated with a grid point in the recovery region,
For positive , this procedure corresponds to undoing the exponential warp factor used in the construction of the Schrödingerized state, while also accounting for the normalization introduced in the preparation of the auxiliary state.
Circuit implementation. The circuit implementation follows directly from Eq. (58). In PennyLane, the corresponding sequence is
For the numerical simulations presented below, we use , corresponding to an auxiliary register of qubits. Together with the single qubit encoding the oscillator, the complete state is represented using 12 qubits. Displaying the corresponding full circuit would be unnecessarily cumbersome. Therefore, Figure 2 illustrates the same construction for , which requires three auxiliary qubits and gives a four-qubit circuit in total. Increasing changes the size of the auxiliary register but not the structure of the algorithm.
Figure 2. Schematic quantum circuit for the Schrödingerization of the single damped oscillator using . The first qubit encodes the two-dimensional oscillator state, while the remaining three qubits encode the auxiliary variable . The initial state is prepared coherently, followed by an inverse QFT on the auxiliary register, evolution under the momentum-basis Hamiltonian , and a final QFT that transforms the auxiliary register back to the basis. The numerical simulations use , corresponding to 11 auxiliary qubits and 12 qubits in total; the circuit shown here illustrates the analogous structure for a smaller auxiliary register.
Implementation summary. The complete quantum implementation can therefore be summarized as follows:
The original differential equation is written in first-order form,
and its generator is decomposed as .
The auxiliary coordinate is discretized using grid points and encoded in an -qubit register.
The initial state is prepared, where encodes the normalized auxiliary profile .
An inverse QFT is applied to the auxiliary register to transform the state from the basis to the momentum basis.
The enlarged state evolved under the Hermitian momentum-basis Hamiltonian
A QFT is applied to transform the auxiliary register back to the basis.
The original solution is reconstructed from a grid point satisfying using Eq. (78).
Numerical results
To assess the accuracy of the quantum implementation, the reconstructed solution is compared with the exact classical evolution. We consider separately the two components and and, in addition, evaluate the normalized direction error
Figure 3 shows the numerical results obtained for the single damped oscillator using . The left and central panels compare the exact classical dynamics with the solution recovered from the Schrödingerized evolution for and , respectively. In both cases, the reconstructed solution closely follows the exact evolution, with the two curves being practically indistinguishable over most of the simulated time interval. In particular, the method accurately reproduces both the oscillatory behavior and the exponential damping of the original system.
Figure 3. Numerical simulation of the damped harmonic oscillator using the Schrödingerization procedure for , , and , with . The left and central panels compare the reconstructed Schrödingerized dynamics with the exact classical solution for and , respectively, showing very good agreement over most of the simulated time interval. The right panel shows the normalized direction error, which remains small during the initial and intermediate evolution and increases at late times, when the oscillator amplitudes have strongly decayed and the recovery becomes more sensitive to numerical errors.
Small deviations become visible only at late evolution times, when the amplitudes of both components have already decayed to values close to zero. The same behavior is reflected in the normalized direction error shown in the right panel. The error remains small throughout the initial and intermediate stages of the evolution and grows appreciably only towards the end of the simulation.
The increase of the error at late times can be understood from the recovery procedure. Since has a positive eigenvalue, the solution must be reconstructed at a positive value . Recovery involves division by the exponentially decaying auxiliary profile , or equivalently multiplication by an exponentially increasing factor. Consequently, small discretization and Fourier errors in the Schrödingerized state can be amplified during the reconstruction. This effect becomes particularly relevant at late times, when the physical amplitudes of the damped oscillator are already very small.
Despite this increased numerical sensitivity in the late-time regime, the results show very good agreement between the reconstructed and exact solutions over most of the evolution, demonstrating that the QFT-based Schrödingerization implementation successfully reproduces the classical dynamics of the damped oscillator.
Conclusions
Rephrasing classical differential equations in a way that can be directly approached using a quantum hardware is a subject of paramount interest, as it can be applied to many classical systems in an efficient way. In recent years, there has been a large effort in this direction. For a recent review, we refer the reader to [16].
In this paper, we first addressed the above goal as a general complexification procedure, that connects a classical dynamics with an equivalent quantum one. To illustrate this procedure, we discuss two examples of classical differential equations related to electric circuits that can be exactly solved. However, the complexification method becomes rapidly untractable as the size of the circuit increases, so one has to find an alternative. Among the ones suggested in the literature, we find very appealing the Schrödingerization procedure [14, 18], as it straightforwardly maps the initial classical system of equations into a quantum system which is governed by a Schrödinger equation, by adding an extra degree of freedom, which can be treated as a momentum extra space via a QFT. Given this important connection, we have explored its performance for the case of a simple oscillator, provided that some care is taken for the treatment of the momentum variable. When this done, we find a good agreement with the exact solution. We think that QFT-based Schrödingerization procedure appears to be a promising way for quantum computing tools to be used in solving classical differential equations.
Acknowledgments
A.P. received support through Project No. PID2023-152724NA-I00, with funding from MCIU/AEI/10.13039/501100011033 and FSE+, Generalitat Valenciana Grant No. CIPROM/2022/66, the Severo Ochoa Grant No. CEX2023-001292-S, the Ministry of Economic Affairs and Digital Transformation of the Spanish Government through the QUANTUM ENIA project QUANTUM SPAIN, and the European Union through the Recovery, Transformation and Resilience Plan, NextGenerationEU, within the framework of the Digital Spain 2026 Agenda, and the CSIC Interdisciplinary Thematic Platform on Quantum Technologies. This project also received funding from the European Union’s Horizon 2020 research and innovation program under Grant Agreement CaLIGOLA No. MSCA-2021-SE-01-101086123. CGC warmly acknowledges the hospitality of the Departamento de Física Teórica, Universidad de Valencia, under Grant Agreement CaLIGOLA No. MSCA-2021-SE-01-101086123, where part of this work was discussed. RGL is funded by the grant CIACIF/2021/136 from Generalitat Valenciana.
References
- [1]Y. I. Manin, Vychislimoe i nevychislimoe (Sov.Radio, Moscow, 1980), URL https://web.archive.org/web/20130510173823/http://publ.lib.ru/ARCHIVES/M/MANIN_Yuriy_Ivanovich/Manin_Yu.I._Vychislimoe_i_nevychislimoe.(1980).
- [2]R. P. Feynman, International Journal of Theoretical Physics 21, 467 (1982), ISSN 1572-9575, URL https://doi.org/10.1007/BF02650179.
- [3]J. I. Cirac and P. Zoller, Nature Physics 8, 264 (2012), ISSN 1745-2481, URL https://doi.org/10.1038/nphys2275.
- [4]Y. Zhang, X. Zhang, J. Sun, H. Lin, Y. Huang, D. Lv, and X. Yuan, WIREs Computational Molecular Science 15, e70020 (2025), e70020 CMS-1125.R1, https://wires.onlinelibrary.wiley.com/doi/pdf/10.1002/wcms.70020, URL https://wires.onlinelibrary.wiley.com/doi/abs/10.1002/wcms.70020.
- [5]A. Miessen, Digital quantum simulation of many-body systems: Making the most of intermediate-scale, noisy quantum computers (2025), 2508.21504, URL https://arxiv.org/abs/2508.21504.
- [6]I. Joseph, Phys. Rev. Res. 2, 043102 (2020), URL https://link.aps.org/doi/10.1103/PhysRevResearch.2.043102.DOI
- [7]F. Tennie, S. Laizet, S. Lloyd, and L. Magri, Nature Reviews Physics 7, 220 (2025), ISSN 2522-5820, URL https://doi.org/10.1038/s42254-024-00799-w.
- [8]M. Caruso, H. Fanchiotti, C. A. García Canal, M. Mayosky, and A. Veiga, Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 472, 20160615 (2016), https://royalsocietypublishing.org/doi/pdf/10.1098/rspa.2016.0615, URL https://royalsocietypublishing.org/doi/abs/10.1098/rspa.2016.0615.
- [9]V. I. Arnold, Geometrical Methods in the Theory of Ordinary Differential Equations, vol. 250 of Grundlehren der mathematischen Wissenschaften (Springer New York, 2012), 2nd ed., ISBN 9781461210375, translated by J. Szűcs.
- [10]V. I. Arnold, Ordinary Differential Equations (Springer-Verlag, Berlin, Heidelberg, 1992), 3rd ed., ISBN 978-3-540-34563-3, URL https://link.springer.com/book/9783540345633.
- [11]S. Treil, Linear Algebra Done Wrong (Flooved.com on behalf of the author, 2011), URL https://archive.org/details/flooved3458.
- [12]H. Fanchiotti, C. A. García Canal, M. Mayosky, A. Veiga, and V. Vento, American Journal of Physics 90, 430 (2022), ISSN 0002-9505, https://pubs.aip.org/aapt/ajp/article-pdf/90/6/430/20100684/430_1_5.0081149.pdf, URL https://doi.org/10.1119/5.0081149.
- [13]H. Fanchiotti, C. A. García Canal, M. Mayosky, A. Veiga, and V. Vento, Brazilian Journal of Physics 53, 143 (2023), ISSN 1678-4448, URL https://doi.org/10.1007/s13538-023-01350-5.
- [14]S. Jin, N. Liu, and Y. Yu, Phys. Rev. Lett. 133, 230602 (2024), URL https://link.aps.org/doi/10.1103/PhysRevLett.133.230602.DOI
- [15]B. D. Tellegen, Philips Res. Rep 3, 81 (1948).
- [16]O. M. Raisuddin and S. De, A review of quantum scientific computing algorithms for engineering problems (2024), 2408.13943, URL https://arxiv.org/abs/2408.13943.
- [17]A. Dutt, A. Chowdhury, K. Temme, and H. Krovi, Simulating dynamics of rlc circuits with a quantum differential-algebraic equations solver (2026), 2604.26945, URL https://arxiv.org/abs/2604.26945.
- [18]S. Jin, N. Liu, and Y. Yu, Phys. Rev. A 108, 032603 (2023), URL https://link.aps.org/doi/10.1103/PhysRevA.108.032603.DOI
- [19]V. Bergholm, J. Izaac, M. Schuld, C. Gogolin, S. Ahmed, V. Ajith, M. S. Alam, G. Alonso-Linaje, B. AkashNarayanan, A. Asadi, et al., Pennylane: Automatic differentiation of hybrid quantum-classical computations (2022), 1811.04968, URL https://arxiv.org/abs/1811.04968.
- [20]S. Jin, N. Liu, and C. Ma, SIAM J. Numer. Anal. 63, 1861 (2025), 2402.14696.


