Next Article in Journal
A Scoring Algorithm for the Early Prediction of Academic Risk in STEM Courses
Previous Article in Journal
A PSO-Based Approach for the Optimal Allocation of Electric Vehicle Parking Lots to the Electricity Distribution Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Solving Multidimensional Partial Differential Equations Using Efficient Quantum Circuits

Department of Electrical Engineering and Computer Science, University of Kansas, Lawrence, KS 66045, USA
*
Author to whom correspondence should be addressed.
Algorithms 2025, 18(3), 176; https://doi.org/10.3390/a18030176
Submission received: 28 February 2025 / Revised: 15 March 2025 / Accepted: 17 March 2025 / Published: 20 March 2025
(This article belongs to the Section Algorithms for Multidisciplinary Applications)

Abstract

:
Quantum computing has the potential to solve certain compute-intensive problems faster than classical computing by leveraging the quantum mechanical properties of superposition and entanglement. This capability can be particularly useful for solving Partial Differential Equations (PDEs), which are challenging to solve even for High-Performance Computing (HPC) systems, especially for multidimensional PDEs. This led researchers to investigate the usage of Quantum-Centric High-Performance Computing (QC-HPC) to solve multidimensional PDEs for various applications. However, the current quantum computing-based PDE-solvers, especially those based on Variational Quantum Algorithms (VQAs) suffer from limitations, such as low accuracy, long execution times, and limited scalability. In this work, we propose an innovative algorithm to solve multidimensional PDEs with two variants. The first variant uses Finite Difference Method (FDM), Classical-to-Quantum (C2Q) encoding, and numerical instantiation, whereas the second variant utilizes FDM, C2Q encoding, and Column-by-Column Decomposition (CCD). We evaluated the proposed algorithm using the Poisson equation as a case study and validated it through experiments conducted on noise-free and noisy simulators, as well as hardware emulators and real quantum hardware from IBM. Our results show higher accuracy, improved scalability, and faster execution times in comparison to variational-based PDE-solvers, demonstrating the advantage of our approach for solving multidimensional PDEs.

1. Introduction

Partial Differential Equations (PDEs) can model complex systems across various fields, such as finance, physics, and mathematics [1,2]. Although there are advanced classical algorithms for solving PDEs [3] due to the curse of dimensionality, solving them is highly computationally intensive, especially for multidimensional PDEs [4]. As classical semiconductor technology is reaching its limits, there is a need to find alternative technologies for performing compute-intensive tasks [5]. In order to reduce computational time, researchers are exploring various technologies for solving PDEs [6,7,8]. Owing to its great potential to revolutionize computational speed, quantum computing in the last decade has emerged as a promising technology to solve even highly computationally intensive practical problems [9,10]. This is because it supports inherent parallelism due to the quantum mechanical properties of superposition and entanglement [11].
Another key advantage of quantum computing is its ability to handle large datasets using only a logarithmic number of quantum bits (qubits) relative to the data size. Because of these benefits, solving PDEs using quantum computers relevant to various practical applications is becoming an active area of research [12]. Recently, researchers have also started exploring the usage of Quantum-Centric High-Performance Computing (QC-HPC) to solve nonlinear partial differential equations [13].
Most of the currently used quantum computing-based PDE-solvers are either based on the Harrow–Hassidim–Lloyd (HHL) algorithm or on Variational Quantum Algorithms (VQAs) [6]. The PDEs can be solved using the HHL algorithm [14] after discretizing it into linear equations using the Finite Difference Method (FDM) [15]. Although the HHL algorithm can provide exponential speedup over classical methods for solving linear systems with sparse coefficient matrices, it requires error-corrected systems with a large number of qubits [16]. Because of the limitations of error-correction in Noisy-Intermediate Scale Quantum (NISQ) devices, researchers are currently investigating alternative techniques such as VQAs to solve PDEs [17,18,19,20]. The VQAs used to solve PDEs are either based on Variational Quantum Eigensolver (VQE) or Variational Quantum Linear Solver (VQLS) [17,18,19,20]. However, the VQA-based PDE solvers suffer from high execution time, limited scalability, and very low accuracy.
In this work, we propose a time-efficient, scalable, and accurate quantum algorithm for solving multidimensional PDEs on Quantum-Centric High-Performance Computing (QC-HPC) systems. Our algorithm is categorized into two variants, i.e., Variant 1 and Variant 2. Variant 1 uses the Finite Difference Method (FDM), Classical-to-Quantum (C2Q) data encoding [21], and numerical instantiation [22], whereas Variant 2 uses FDM, C2Q encoding, and Column-by-Column Decomposition (CCD) [23,24]. For our experiments, we have used multidimensional Poisson equations as a case study. Our experimental results showcase favorable results in terms of accuracy, scalability, and execution time in comparison to VQA-based solvers on noise-free and noisy simulators, hardware emulators, and real quantum hardware from IBM [24].
The remaining sections of this paper are structured as follows: Section 2 provides background information, Section 3 highlights related work, and Section 4 discusses the proposed methodology in detail. The experimental results are presented in Section 5. Section 6 provides a discussion about the experimental outcomes. Finally, Section 7 concludes the paper with potential future work.

2. Background

In this section, we discuss the background information related to the data encoding techniques of Classical-to-Quantum (C2Q) encoding, numerical instantiation, and Column-by-Column Decomposition (CCD) used in our proposed work. The basic and fundamental information on quantum bits (qubits), quantum states, and quantum gates necessary to understand our proposed algorithm, can be found in Appendix A, while details on classical preprocessing steps are provided in Appendix B.

2.1. Classical-to-Quantum Encoding (C2Q)

In our proposed algorithm, we need to generate a quantum circuit for a normalized vector b , see (A3). The details of the normalization procedure are discussed in Section 4.1. To generate the quantum circuit for a normalized vector b , we have leveraged the most depth-optimized version of amplitude encoding, called Classical-to-Quantum (C2Q) encoding [21]. This technique uses 50% fewer quantum gates than the next best alternative [25]. Because it can generate shallow quantum circuits, this technique is suitable for NISQ devices, where execution must be completed within the decoherence time. C2Q converts data from the classical domain to the quantum domain with quantum coefficients ranging from c 0 to c N 1 as shown in Figure 1 and (1). Here, N = 2 n and n is the number of qubits.
| ψ = U C 2 Q · | ψ 0 = U C 2 Q · | 0 n = i = 0 N 1 c i | i , where i = 0 N 1 | c i | 2 = 1

2.2. Numerical Instantiation

Numerical instantiation is a technique for generating quantum circuits for target unitaries. This method is particularly useful when a unitary operation cannot be easily decomposed into standard gate sets. In general, synthesis algorithms based on numerical instantiation decompose quantum circuits into a template Parameterized Quantum Circuit (PQC) and then use numerical optimization techniques for tuning the parameters of the PQC. Some state-of-the-art compilation tools, such as IBM Qiskit [26], Tket [27], and Google Cirq [28] provide support for this method of circuit instantiation. We have used the Berkeley Quantum Synthesis toolKit (BQSKit) [22] in the unitary matrix U conversion step of the proposed algorithm, see (A4). The BQSKit can go beyond a fixed template by also searching over or incrementally modifying the circuit topology along with the parameters. This technique follows a workflow that generates a depth-optimized circuit for a target unitary, as shown in Figure 2. It first breaks the unitary matrix into sub-unitaries using hierarchical decomposition methods such as KAK decomposition [29] and Cosine–Sine Decomposition (CSD) [30]. Hierarchical decomposition is followed by an Intermediate Representation (IR), in which these sub-unitaries and their dependencies are stored in a structural format such as a Directed Acyclic Graph (DAG). The IR is then used for the creation of PQCs for each sub-unitary, which are subsequently numerically optimized and merged. If the system size is large, the circuit is partitioned for parallel optimization. These sub-blocks are optimized using a numerical optimizer and then merged into a complete circuit. After this, the parameterized gates are mapped to hardware-native gates in the gate set rebasing step. This is followed by circuit optimizations, and finally, a quantum circuit is synthesized. This flexibility allows numerical instantiation to discover more efficient circuit layouts [31]. The advantage of using this tool lies in reducing the number of resource-intensive components such as CNOT gates [32] and thus reducing the total depth of the circuit. The reduced depth is also helpful in reducing the accumulation of errors due to gate imperfection. These optimization steps help BQSKit generate the depth-optimized quantum circuits necessary for the efficient execution on NISQ devices within the coherence time [33].

2.3. Column-by-Column Decomposition (CCD)

Column-by-Column Decomposition (CCD) [23,24] is a method for converting arbitrary isometries into sequences of single-qubit and controlled-NOT (CNOT) gates [23]. This technique constructs a quantum circuit for a unitary matrix by processing one column at a time and preparing the corresponding quantum state from a basis state. Qiskit [26] implements the CCD technique using the QuantumCircuit.unitary() ibmQuantumCircuit2024 function which generates a quantum circuit from an arbitrary unitary matrix by factorizing the unitary into simpler components that can be implemented using standard gate sets. The CCD technique generates quantum circuits faster than the numerical instantiation technique with a higher accuracy. Additionally, this approach offers higher scalability, especially on noise-free and noisy simulators. Because of its high accuracy, fast execution, and good scalability, CCD proves to be a highly useful approach for quantum circuit synthesis. Although this technique generates quantum circuits rapidly compared to numerical instantiation, sometimes the depth of the generated circuits is significantly high, which makes them difficult to execute on the current quantum hardware within limited coherence times. However, the ongoing research in data encoding strategies, efficient compilers, and robust quantum hardware is expected to help mitigate this challenge in the future [33].

2.4. Decoherence Time

In quantum computing, decoherence time describes how long a qubit can maintain its quantum state before environmental noise disrupts its state of superposition [34]. There are two key timing parameters associated with a qubit: T1 time and T2 time [11]. Here, T1 is the relaxation time over which an excited qubit returns to its ground state, and T2 is the dephasing time that determines how long the qubit preserves its phase information [35]. In practice, T2 is often considered the decoherence time because losing the phase typically occurs faster than relaxation. In quantum computing, when the circuit’s execution time exceeds the qubit’s decoherence time, the resulting measurements are prone to significant noise and thus reduced accuracy. Since individual qubits have different decoherence times, researchers frequently use the median T2 value as an overall device decoherence time. In our experiments, we have used a quantum emulator (FakeSherbrooke) along with real quantum hardware (ibm_sherbrooke). The reason for using FakeSherbrooke is that it closely replicates the characteristics of real quantum hardware ibm_sherbrooke and is freely available. This allows researchers to rapidly test their algorithm and assess the expected performance on real hardware without the lengthy queue delays associated with real quantum devices. The T2 times of the individual qubits for FakeSherbrooke and ibm_sherbrooke are shown in Figure 3, where the red line indicates their median decoherence time.

3. Related Work

In our review of the existing work related to solving PDEs using quantum computing, the existing techniques can be broadly classified as those based on HHL [14] and VQA [36]. The HHL algorithm [14], designed to solve linear systems, offers exponential speedup for sparse coefficient matrices and can be applied to PDEs after discretization using FDM [15]. An improved version of the HHL algorithm [37] improves efficiency by reducing computation time while maintaining accuracy. However, both methods require fault-tolerant quantum operations, making them unsuitable for NISQ devices. To overcome these limitations, VQA-based approaches have been explored. The authors in [17] develop a minimum potential energy-based cost function to solve the Poisson equation, similar to VQE-based PDE solvers. The authors in [18] use VQLS with discrete finite element methods, achieving scalability up to 10 qubits, while the authors in [19] apply VQLS to the Poisson equation, resulting in good performance on quantum simulations but poor performance on real quantum hardware. Furthermore, the authors in [20] propose a VQA approach that minimizes quantum measurements and resource usage. Our study of PDE solvers using VQA shows that existing techniques for solving PDEs have low accuracy and long execution times compared to analytical solutions, as well as limited scalability with qubits. The results of our proposed PDE solver algorithm, which utilizes FDM, C2Q encoding, and numerical instantiation in Variant 1, and FDM, C2Q encoding, and CCD in Variant 2, outperform VQA-based PDE solvers in accuracy, scalability, and execution time, and generates favorable results on noise-free and noisy simulators, as well as on hardware emulators and real quantum hardware.

4. Materials and Methods

In this section, we present the materials and methods associated with our proposed algorithm to solve Partial Differential Equations (PDEs). The proposed work leverages the Finite Discrete Method (FDM) for the discretization of PDE. After discretization, Variant 1 of the proposed algorithm uses Classical-to-Quantum (C2Q) encoding [21] and numerical instantiation [22], while Variant 2 employs C2Q encoding with Column-by-Column Decomposition (CCD) [23,24]. Here, we have used the multidimensional Poisson equation as a case study. For preprocessing steps, we have employed polar decomposition and Singular Value Decomposition (SVD). For detailed information regarding these preprocessing steps, refer to the Appendix B. Some of the major contributions of our work are as follows:
  • Proposed an accurate, scalable, and time-efficient algorithm for solving multidimensional Partial Differential Equations (PDEs).
  • Evaluated the proposed algorithm on noise-free and noisy simulators, as well as on hardware emulators and real quantum hardware from IBM-Qiskit.
  • Compared the proposed work with a variational algorithms-based PDE solver in terms of accuracy, scalability, and total execution time, using the Poisson equation as a case study.
  • Presented the theoretical execution time comparison of the circuits generated by our algorithm for hardware emulator and real quantum hardware with the decoherence times of these systems.

4.1. Proposed Methodology: Scalable and Accurate PDE Solver Algorithm

The high-level overview of the proposed PDE solver algorithm for Variant 1 and Variant 2 is shown in Figure 4a,b.
By applying FDM, a partial differential equation (PDE) can be converted into a system of linear equations, see (2):
A u = b
As stated earlier, our proposed algorithm needs a preprocessing step of polar decomposition and SVD. We apply polar decomposition to the matrix A, see (2) to factor it into a unitary matrix U and a positive semi-definite symmetric matrix P, see (3).
( P U ) u = b
By rearranging (3), we can obtain (4), which can be further rearranged into (5). We then divide both sides of (5) with the normalization factor | | P 1 b | | to obtain (6).
U u = P 1 b
u = U P 1 b
u P 1 b = U · P 1 b P 1 b
We can rewrite (6) in the form shown in (7), where | ψ i n is the input quantum state encoded using C2Q encoding [21], and | ψ o u t is the corresponding output state after applying U to | ψ i n . Converting U into a quantum circuit is accomplished using the approach of numerical instantiation [22] in Variant 1, and using CCD [23,24] in Variant 2.
| ψ o u t = U · | ψ i n , where | ψ o u t = u P 1 b , and | ψ i n = P 1 b P 1 b
To solve (7), we require U and P 1 . Both can be derived by applying the Singular Value Decomposition (SVD) [38] to A, as specified in (8). In this decomposition, Σ is a diagonal matrix, and W and V are unitary matrices.
A = P U = W Σ V , where   P = W Σ W , and   U = W V
The value of P 1 and U can be obtained using (9) and (10), respectively.
P 1 = W Σ 1 W
U = V W
The value of | ψ i n , as shown in (11), can be obtained by using (9) in (7).
| ψ i n = W Σ 1 W b W Σ 1 W b
The quantum circuit generated using the numerical instantiation technique [22] in Variant 1 and using CCD [23,24] in Variant 2 circuit receives | ψ i n as its input state and generates | ψ o u t as an output state, see (7). By measuring | ψ o u t , we recover the classical vector ψ o u t as given in (12) [39]. The unknown vector u can then finally be obtained using (13) [39].
ψ o u t U | ψ i n
u = ψ o u t W Σ 1 W b

4.2. Multidimensional Poisson Equation

A p-dimensional Poisson equation can be formulated as shown in (14), where 2 is the Laplacian operator, u is the unknown function to be determined, and f is a known source function.
2 u = i = 1 p 2 u s i 2 = f s 1 , s 2 , s p

4.2.1. 1D Poisson Equation

A 1D-Poisson equation is defined as shown in (15).
2 u ( x ) x 2 = f ( x )
Here, u ( x ) is the unknown function, and f ( x ) acts as a source function. Using the FDM technique, the 1D Poisson equation, see (15), can be converted into a discretized difference equation, as shown in (16). Figure 5 shows the FDM grid for solving the 1D Poisson equation. Here, Δ x is the grid spacing in the x-direction, X N x and X 1 are the boundary locations, and N x denotes the total number of points lying between the boundaries. By substituting the indices of the grid points, i.e., 0 x i < N x , and the boundary values (BVs) in (16), it can be converted into the matrix form A u = b . As shown in Figure 5, the values at the boundaries can be represented as u X N x and u X 1 .
u x i 1 2 u x i + u x i + 1 Δ x 2 = f x i , where Δ x = X m a x X m i n N x 1

4.2.2. 2D Poisson Equation

A 2D Poisson equation can be formulated as shown in (17).
2 x 2 + 2 y 2 u ( x , y ) = f ( x , y )
Using the FDM technique, the 2D Poisson equation, see (17), is transformed into a discretized difference equation, as illustrated in (18). Figure 6 shows the FDM grid for solving the 2D Poisson equation. Here, Δ x is the grid spacing along the x-dimension and Δ y is the grid spacing along the y-dimension. The step size for the overall 2D grid is Δ = m i n ( Δ x , Δ y ) . The expression in (18) can be converted to matrix form A u = b by using the grid point indices x i and y i , where 0 x i < N x and 0 y i < N y .
u x i 1 , y i 2 u x i , y i + u x i + 1 , y i + u x i , y i 1 2 u x i , y i + u x i , y i + 1 = f x i , y i Δ 2
Δ x = X m a x X m i n N x 1
Δ y = Y m a x Y m i n N y 1

4.2.3. 3D Poisson Equation

A 3D Poisson equation is defined as shown in (21). Figure 7 shows the FDM grid with spacing Δ x , Δ y , and Δ z .
2 x 2 + 2 y 2 + 2 z 2 u ( x , y , z ) = f ( x , y , z )
The step size along x-, y-, and z-dimensions are shown in (22). After applying second-order finite approximation and considering Δ = m i n ( Δ x , Δ y , Δ z ) , (21) can be discretized into (23). The expression in (23) can be converted into the matrix form A u = b by using the grid point indices x i , y i , and z i , where 0 x i < N x , 0 y i < N y , and 0 z i < N z .
Δ x = X m a x X m i n N x 1 , Δ y = Y m a x Y m i n N y 1 , Δ z = Z m a x Z m i n N z 1
u x i 1 , y i , z i 2 · u x i , y i , z i + u x i + 1 , y i , z i + u x i , y i 1 , x i 2 · u x i , y i , z i + u x i , y i + 1 , z i + u x i , y i , z i 1 2 · u x i , y i , z i + u x i , y i , z i + 1 = f i , j , k · Δ 2

4.2.4. 4D Poisson Equation

A 4D Poisson equation can be written as shown in (24). The four dimensions considered in (24) are spatial dimensions x, y, and z, along with the temporal dimension t.
2 u ( x , y , z , t ) x 2 + 2 u ( x , y , z , t ) y 2 + 2 u ( x , y , z , t ) z 2 + 2 u ( x , y , z , t ) t 2 = f ( x , y , z , t )
The step size along x-dimension, y-dimension, and z-dimension are shown in (25).
Δ x = X m a x X m i n N x 1 = X d i f f N x 1 , Δ y = Y m a x Y m i n N y 1 = Y d i f f N y 1 , Δ z = Z m a x Z m i n N z 1 = Z d i f f N z 1 , Δ t = t m a x t m i n N t 1 = t d i f f N t 1
After applying second-order finite approximation and considering Δ = m i n ( Δ x , Δ y , Δ z , Δ t ) , (24) can be discretized into (26). By rearranging the terms in (26), it can be further reduced to (27). The expression in (27) can be converted into the matrix form A u = b , using the grid point indices x i , y i , z i , and t i , where 0 x i < N x , 0 y i < N y , 0 z i < N z , and 0 t i < N t .
u t i , z i y i , x i + 1 2 u t i , z i y i , x i + u t i , z i y i , x i + 1 Δ x 2 + u t i , z i , y i + 1 , x i 2 u t i , z i , y i , x i + u t i , z i , y i + 1 , x i Δ y 2 + u t i , z i + 1 , y i , x i 2 u t i , z i , y i , x i + u t i , z i + 1 , y i , x i Δ z 2 + u t i + 1 , z i y i , x i 2 u t i , z i y i , x i + u t i + 1 , z i y i , x i Δ t 2 = f t i , z i , y i , x i
8 u t i , z i y i , x i + u t i , z i , y i , x i + 1 + u t i , z i , y i , x i 1 + u t i , z i , y i + 1 , x i + u t i , z i , y i 1 , x i + u t i , z i + 1 , y i , x i + u t i , z i 1 , y i , x i + u t i 1 , z i , y i , x i + u t i + 1 , z i , y i 1 , x i = f t i , z i , y i , x i
The matrix A and the vector b can be determined for any number of dimensions up to four using the Algorithm 1.
Algorithm 1 Generate matrix A and vector b for upto 4D Poisson equation
  1:
Input:
  2:
X d i f f , Y d i f f , Z d i f f , t d i f f            ▹ Domain lengths in each dimension
  3:
N x , N y , N z , N t            ▹ Initial number of points in each dimension
  4:
 
Qubits used for each dimension
  5:
n x _ q u b i t s log 2 N x
  6:
n y _ q u b i t s log 2 N y
  7:
n z _ q u b i t s log 2 N z
  8:
n t _ q u b i t s log 2 N t
  9:
 
Adjust grid sizes for quantum-based approach (if needed).
10:
N x 2 n x _ q u b i t s
11:
N y 2 n y _ q u b i t s
12:
N z 2 n z _ q u b i t s
13:
N t 2 n t _ q u b i t s
14:
n t o t a l _ q u b i t s n x _ q u b i t s , n y _ q u b i t s , n z _ q u b i t s , n t _ q u b i t s
15:
u x 1 , u y 1 , u z 1 , u t 1             ▹ Boundary values (lower ends)
16:
u N x , u N y , u N z , u N t              ▹ Boundary values (upper ends)
17:
 
Define coefficients λ x , λ y , λ z , λ t
18:
λ x 1   if N x > 1 0   otherwise
19:
 
20:
λ y 1   if N y > 1 0   otherwise
21:
 
22:
λ z 1   if N z > 1 0   otherwise
23:
 
24:
λ t 1   if N t > 1 0   otherwise
25:
 
Compute physical step sizes in each dimension
26:
Δ x X d i f f ( N x 1 )
27:
 
28:
Δ y Y d i f f ( N y 1 )
29:
 
30:
Δ z Z d i f f ( N z 1 )
31:
 
32:
Δ t t d i f f ( N t 1 )
33:
 
34:
Δ min ( Δ x , Δ y , Δ z , Δ t )
35:
 
36:
N t o t a l N x , N y , N z , N t = 2 n t o t a l _ q u b i t s
37:
 
Initialize system matrix A and vector b
38:
A 0 N t o t a l × N t o t a l
39:
 
40:
b 0 N t o t a l × 1
41:
 
42:
f f ( x , y , z , t )
43:
 
Fill A and b by iterating over all points in 4D.
44:
 
45:
for i t = 0 to N t 1 do
46:
for  i z = 0 to N z 1  do
47:
   for  i y = 0 to N y 1  do
48:
    for  i x = 0 to N x 1  do
49:
     i A i t · N z · N y · N x + i z · N y · N x + i y · N x + i x
50:
     A [ i A , i A ] 2 ( λ x + λ y + λ z + λ t )
51:
     b [ i A ] Δ 2 · f
( a ) X dimension
52:
 
53:
    if  i x 1 < 0  then
54:
      b [ i A ] b [ i A ] λ x · u x 1
55:
    else
56:
      i x m i n u s 1 i t · N z · N y · N x + i z · N y · N x + i y · N x + ( i x 1 )
57:
      A [ i A , i x m i n u s 1 ] λ x
58:
    end if
59:
    if  i x + 1 > N x 1  then
60:
      b [ i A ] b [ i A ] λ x · u x + 1
61:
    else
62:
      i x p l u s 1 i t · N z · N y · N x + i z · N y · N x + i y · N x + ( i x + 1 )
63:
      A [ i A , i x p l u s 1 ] λ x
64:
    end if
( b ) Y dimension
65:
 
66:
    if  i y 1 < 0  then
67:
      b [ i A ] b [ i A ] λ y · u y 1
68:
    else
69:
      i y m i n u s 1 i t · N z · N y · N x + i z · N y · N x + ( i y 1 ) · N x + i x
70:
      A [ i A , i y m i n u s 1 ] λ y
71:
    end if
72:
    if  i y + 1 > N y 1  then
73:
      b [ i A ] b [ i A ] λ y · u y + 1
74:
    else
75:
      i y p l u s 1 i t · N z · N y · N x + i z · N y · N x + ( i y + 1 ) · N x + i x
76:
      A [ i A , i y p l u s 1 ] λ y
77:
    end if
(c) Z-dimension
78:
    if  i z 1 < 0  then
79:
      b [ i A ] b [ i A ] λ z · u z 1
80:
    else
81:
      i z m i n u s 1 i t · N z · N y · N x + ( i z 1 ) · N y · N x + i y · N x + i x
82:
      A [ i A , i z m i n u s 1 ] λ z
83:
    end if
84:
    if  i z + 1 > N z 1  then
85:
      b [ i A ] b [ i A ] λ z · u z + 1
86:
    else
87:
      i z p l u s 1 i t · N z · N y · N x + ( i z + 1 ) · N y · N x + i y · N x + i x
88:
      A [ i A , i z p l u s 1 ] λ z
89:
    end if
(d) t-dimension
90:
    if  i t 1 < 0  then
91:
      b [ i A ] b [ i A ] λ t · u t 1
92:
    else
93:
      i t m i n u s 1 ( i t 1 ) · N z · N y · N x + i z · N y · N x + i y · N x + i x
94:
      A [ i A , i t m i n u s 1 ] 1
95:
    end if
96:
    if  i t + 1 > N t 1  then
97:
      b [ i A ] b [ i A ] λ t · u t + 1
98:
    else
99:
      i t p l u s 1 ( i t + 1 ) · N z · N y · N x + i z · N y · N x + i y · N x + i x
100:
      A [ i A , i t p l u s 1 ] λ t
101:
    end if
102:
    end for
103:
   end for
104:
end for
105:
end for
106:
Output:
107:
A b
The matrix A generated by our proposed algorithm for the 1D, 2D, 3D, and 4D Poisson equations are as shown in Figure 8. With slight modifications, this algorithm can be extended to any number of dimensions.

5. Results

5.1. Experimental Setup

This section is divided into three parts that focus on the description of the hardware, software, and datasets used to evaluate different multidimensional PDEs.

5.1.1. Hardware Testbed

In our experiments, we used both the noise-free (statevector) and noisy (AerSimulator) simulators to evaluate the accuracy, scalability, and total execution time of the proposed algorithm. Moreover, we have also used a hardware emulator (FakeSherbrooke) and real quantum hardware (ibm_sherbrooke and ibm_torino). Quantum system ibm_sherbrooke has 127 qubits with a decoherence time of 0.00017604 s, whereas ibm_torino has 133 qubits with a decoherence time of 0.001345 s. For all the experiments, we have used a cluster node from the University of Kansas, Lawrence, USA, equipped with a 48-core Intel Xeon Gold 6342 CPU, three NVIDIA A100 80 GB GPUs (CUDA version 11.7) with PCIe 4.0 connectivity, and 256 GB of 3200 MHz DDR4 RAM.

5.1.2. Software Frameworks

All the variants of the proposed algorithm were evaluated using Qiskit SDK (1.1.0) from IBM [26], utilizing the simulators, emulators, and real quantum hardware. As mentioned in Section 4.1, for the circuit synthesis of matrix A, we have used BQSKit[22] in Variant 1 and QuantumCircuit.unitary()[40] function of the Qiskit[26] in Variant 2. In both variants, normalized b is encoded using the highly depth-optimized classical-to-quantum (C2Q) encoding technique. For the VQE-based PDE solver experiments, we have used Qiskit SDK (0.46.0) from IBM [26] to perform tests on both noise-free and noisy environments. To convert the discretized PDE into its Pauli-based representation, the Qiskit MatrixOp [41] function is used. The ansatz used in the VQE-based PDE solver is EfficientSU2 [42] and the optimizer is ADAM [43].

5.1.3. Test Case Datasets

As a case study, we tested the multidimensional Poisson equation, i.e., 1D, 2D, and 3D with the specific source functions and boundary values (BVs) as defined below:
  • 1D Poisson Equation: A source function f ( x ) = 10 , distance d = X m a x X m i n = 1 with the boundary values u X 1 = 0.6 and u X N x = 0.7 .
  • 2D Poisson Equation: A source function f ( x , y ) = x y , distance d = 1 with boundary values (BVs) = 0, on both x and y axes.
  • 3D Poisson Equation: A source f ( x , y , z ) = x y z , distance d = 1 with boundary values (BVs) = 0, in all three axes.

5.2. Experimental Results

We benchmark our proposed algorithm with the multidimensional Poisson equation. In addition, we compared its solution profile, total execution times, and accuracy results to the VQE-based method on both noise-free and noisy simulators. Moreover, we have also obtained these results using a hardware emulator and real quantum hardware.

5.2.1. 1D Poisson Equation Results

In this section, we present the results obtained by applying our proposed algorithm to the 1D Poisson equation using noise-free and noisy simulators, as well as hardware emulators and real quantum hardware.

Noise-Free and Noisy Simulation

We conducted experiments on noise-free and noisy simulators ranging from 4 data points represented by 2 qubits up to 16,384 points represented by 14 qubits. The solution profile results from these experiments are displayed alongside the VQE-based approach in Figure 9 for 8 qubits and 14 qubits using the noise-free simulator. A strong correlation between the solution profile obtained using the noise-free simulator and the analytical solution indicates the accuracy of our proposed approach.
Figure 10 presents the solution profiles obtained using our approach along with the VQE-based approach for 8 qubits and 14 qubits on a noisy simulator, with 1 M shots (samples). The disparity between our approach and the VQE-based approach is more evident from the solution profile results on the noisy simulator, further confirming the effectiveness of our technique. A very small statistical noise as observed in Figure 10 can be further reduced by increasing the number of shots (samples). Figure 11 demonstrates that as we increase the shot count from 1 M to 32 M, the RMSE error further decreases.
We also compared the RMSE error and total time taken, see Figure 12a,b, which further confirms the accuracy, scalability, and the reduced total time of our approach compared to VQE-based technique.

Hardware Emulation

The results of our proposed approach on a hardware emulator are shown in Figure 13, with experiments using 3 qubits (8 data points) and 4 qubits (16 data points).
Figure 14a,b compares the RMSE error and total time taken by our proposed technique with 1M shots. We achieved accurate solution profile results up to 4 qubits with Variant 2. However, beyond 4 qubits, circuits generated by Variant 2 exceeded the decoherence time limit of the hardware emulator (FakeSherbrooke). In the case of Variant 1, we exceeded the decoherence time beyond 8 qubits.
We also tested the hardware emulator approach with the Pauli Twirling [44] noise mitigation technique (1 M shots). The resulting RMSE and total computation time for solving the 1D Poisson equation are presented in Figure 15a and Figure 15b, respectively. Applying Pauli Twirling noise mitigation to the hardware emulator (FakeSherbrooke) did not provide any perceptible benefits in terms of reducing the RMSE error. Our conclusion from these experiments is that noise mitigation techniques are not mature enough to significantly reduce errors and are still an active area of research.

Real Quantum Hardware

The proposed approach solution profile results of the 1D Poisson equation for real quantum hardware (ibm_sherbrooke) are presented in Figure 16. The results, shown for 3 qubits (8 data points) and 4 qubits (16 data points) on ibm_sherbrooke closely match those obtained with the hardware emulator (FakeSherbrooke). Up to 4 qubits, we achieved favorable results but exceeded the decoherence time limit of ibm_sherbrooke in Variant 2 beyond 4 qubits. However, in Variant 1, we exceeded the decoherence time limit after 7 qubits. Similarly, our solution profiles with 3 and 4 qubits on ibm_torino are shown in Figure 17. The results obtained using ibm_torino, which is based on the Heron processor comprising 133 fixed-frequency qubits, more closely resemble the analytical solution than ibm_sherbrooke. The Heron architecture delivers a performance improvement due to reduced crosstalk, faster and more accurate two-qubit gates, and improved qubit calibration [45].
Figure 18 displays the RMSE error for 1D Poisson equation for both ibm_sherbrooke and ibm_torino using 0.1 M shots. Our results indicate that the RMSE error for Variants 1 and 2 of our proposed algorithm is lower when run on ibm_torino than on ibm_sherbrooke due to its higher decoherence time owing to its improved architecture.

5.2.2. 2D Poisson Equation Results

In this section, we present the results obtained by applying our proposed algorithm to a 2D Poisson equation on noise-free and noisy simulators, as well as hardware emulators and real quantum hardware.

Noise-Free and Noisy Simulation

The solution profile for the 2D Poisson equation using noise-free simulators is illustrated in Figure 19 for 8 qubits (256 data points) and Figure 20 for 14 qubits (16,384 data points). Here, the proposed approach is compared with both classical and VQE-based techniques. The results show higher accuracy compared to the VQE-based method. However, some results for Variant 1 and the VQE-based method are not shown in Figure 20 because they could not be calculated due to the excessively long computation times.
Figure 21 presents the solution profile for the 2D Poisson equation on a noisy simulator using 1 M shots with 6 qubits (64 data points), while Figure 22 shows the solution profile for 14 qubits (16,384 data points). The solution profile results indicate that the proposed approach has a higher accuracy compared to the VQE-based approach. Note that results for Variant 1 and the VQE-based method are not included in Figure 22 due to their very long execution times.
We have also compared the proposed approach with the VQE-based technique in terms of RMSE error, see Figure 23a and the total time taken, see Figure 23b using noise-free and noisy simulators for 1 M shots. The results in terms of RMSE error and total time taken demonstrate higher accuracy and scalability, along with reduced total computational time.

Hardware Emulation

We have also evaluated the 2D Poisson equation using the proposed algorithm on a hardware emulator (FakeSherbrooke). Figure 24 presents the solution profiles obtained using 6 qubits (64 data points).
Figure 25a,b presents the RMSE error and total execution time, respectively, for the proposed method using 1 M shots. Favorable solution profiles and RMSE error results have been achieved for up to 4 qubits. Beyond 4 qubits, the circuits generated by the proposed approach exceed the decoherence time limit of the hardware emulator (FakeSherbrooke).

Real Quantum Hardware

The solution profiles of the 2D Poisson equation obtained using 4 qubits on real quantum hardware (ibm_sherbrooke) using 0.1 M shots are shown in Figure 26.
Similarly, Figure 27 shows the solution profiles obtained using 4 qubits on ibm_torino.
Figure 28 presents the RMSE error for the 2D Poisson equation on ibm_sherbrooke and ibm_torino using 0.1M shots. In the case of the 2D Poisson equation experiments on real quantum hardware, the execution time of the circuits generated by Variant 2 of the proposed approach exceeds the decoherence time limit of the quantum hardware (ibm_sherbrooke) after 4 qubits. In the case of Variant 1, this limit is exceeded after 7 qubits.

5.2.3. 3D Poisson Equation Results

In this section, we present the results obtained by applying our proposed algorithm to a 3D Poisson equation using noise-free and noisy simulators, as well as hardware emulators and real quantum hardware.

Noise-Free and Noisy Simulation

The solution profile results obtained by our approach for 6 qubits (64 data points) and 12 qubits (4096 data points), respectively, on the noise-free simulator are shown in Figure 29 and Figure 30. The results demonstrate the effectiveness of our technique, as the solution profiles closely match those produced by classical methods.
We have also investigated the efficacy of our algorithm on noisy simulators. Figure 31 and Figure 32 show the solution profile for 6 qubits (64 data points) and 12 qubits (4096 data points), respectively, using 1 M shots.
Additionally, Figure 33a and Figure 33b compares the RMSE error and the total time taken, respectively, with the VQE-based approach. These results further confirm the high accuracy, reduced total time, and scalability of our approach.

Real Quantum Hardware

We also investigated the efficiency of our proposed technique on the 3D Poisson equation using real quantum hardware. Figure 34 shows the solution profile obtained using the proposed algorithm for 6 qubits (64 data points) on quantum hardware ibm_sherbrooke. Similarly, Figure 35 shows the solution profile obtained using the proposed algorithm for 6 qubits (64 data points) on ibm_torino.
The RMSE error obtained by solving the 3D Poisson equation using ibm_sherbrooke and ibm_torino is shown in Figure 36. The solution profile and the RMSE results on the hardware emulator (FakeSherbrooke) have a similar trend to real quantum hardware.

5.3. Execution Time and Decoherence Constraint for Multidimensional Poisson on Real Quantum Hardware

In this section, we present the circuit depth, expected execution time (1 shot), and the RMSE error (0.1 M shots) for Variant 1 and Variant 2 of the proposed algorithm using a multidimensional Poisson equation as a case study on real quantum hardware (ibm_sherbrooke). These experimental results are generated by varying the number of qubits. The decoherence time used here is the median of the T2 times [24]. We have not presented similar results, such as circuit depth, expected execution time, and the RMSE error for ibm_torino because it lacks the pulse-level calibration data necessary for certain low-level quantum operations [46].

Execution Time and Decoherence Constraint for 1D Poisson Equation

This section presents a comparison of circuit depth, expected execution time (1 shot), and the RMSE error (0.1M shots) for Variant 1 and Variant 2 of our proposed algorithm applied to 1D Poisson equation, see Table 1. As expected, the output of the quantum circuits generated using the proposed algorithm should be affected by noise when the expected circuit execution time exceeds the decoherence time. However, the T2 time of some qubits on quantum hardware (ibm_sherbrooke) is significantly lower than the decoherence time (refer to Section 2.4). Due to this variation, the quantum circuits generated are affected by decoherence noise even before the expected execution time exceeds the decoherence time limit. As can be seen from Table 1, the quantum circuits generated using Variant 1 of our proposed algorithm are more depth-optimized than those generated using Variant 2 and hence are less affected by decoherence noise. Also, the expected execution time exceeds the decoherence time after 7 qubits in Variant 1 and after 4 qubits in Variant 2, resulting in a higher RMSE error for Variant 2.

Execution Time and Decoherence Constraint for 2D Poisson Equation

This section presents a comparison of circuit depth, expected execution time (1 shot), and the RMSE error (0.1M shots) for Variant 1 and Variant 2 of our proposed algorithm for 2D Poisson equation, see Table 2. As shown in Table 2, the circuit depth and the expected execution time increase with the number of qubits. Also, the RMSE error, expected execution time, and circuit depth have a similar trend as that observed for the 1D Poisson equation.

Execution Time and Decoherence Constraint for 3D Poisson Equation

The circuit depth, expected execution time (1 shot), and RMSE error (0.1 M shots) for Variant 1 and Variant 2 of our proposed algorithm for the 3D Poisson equation are shown in Table 3. These results also exhibit a similar trend as the 1D and 2D Poisson equations.

6. Discussion

In this section, we discuss the results generated by our proposed algorithm designed to solve multidimensional Partial Differential Equations (PDEs). We have compared our work with the VQE-based PDE solver on both noise-free and noisy simulators. Additionally, we tested our algorithm on a hardware emulator (FakeSherbrooke) and real quantum hardware (ibm_sherbrooke and ibm_torino).

6.1. Higher Accuracy

In this work, we compared the accuracy of our solution with classical and VQE-based methods in terms of RMSE error, using 1D, 2D, and 3D Poisson equations as case studies. We observed that the accuracy of our algorithm is comparable to that of classical solutions and significantly higher than that of the VQE-based approach on both noise-free (statevector) and noisy (AerSimulator) simulators. We presented our results using solution profiles and RMSE error plots. The main reason for the low accuracy in the VQE-based solution is its dependence on ansatz design [36], which often lacks sufficient expressibility [47]. This makes it inefficient to accurately approximate the solutions for multidimensional PDEs. Another reason for poor accuracy is the optimization process, which often encounters non-convex optimization landscapes [48]. We also tested Variant 1 and Variant 2 of our algorithm on a hardware emulator (FakeSherbrooke), and real quantum hardware (ibm_sherbrooke and ibm_torino) to assess its suitability for NISQ devices. With these tests, we observed that the accuracy of results remains good as long as the expected execution time of the circuits does not exceed the decoherence time of the hardware emulator or real quantum hardware.

6.2. Total Execution Time and Scalability

In our comparison of the proposed algorithm with the VQE-based solution in terms of total execution time on both noise-free (statevector) and noisy (AerSimulator) simulators, we found that our algorithm requires significantly less time than the VQE-based approach for solving the 1D, 2D, and 3D Poisson equations. This reason for exceptionally long execution time in variational-based algorithms is due to non-convergence issues caused by vanishing gradients, commonly referred to as barren plateaus. We also observed that Variant 2 executes faster than both Variant 1 and the VQE-based approach and has a scalability of up to 14 qubits. In the case of Variant 1, our scalability is only until 9 qubits, after which it takes exceptionally long execution times. Furthermore, we observed that the latest IBMQ system, ibm_torino, has a much higher decoherence time of 0.001345 s compared to ibm_sherbrooke, which has a decoherence time of 0.00017604 s. Since the architecture design of ibm_torino is much more immune to gate noise and environmental noise and has a 7.6× higher decoherence time compared to ibm_sherbrooke, the RMSE error generated by ibm_torino is less than that generated by ibm_sherbrooke as shown in Figure 16, Figure 17 and Figure 18 for 1D results, Figure 26, Figure 27 and Figure 28 for 2D results, and Figure 34, Figure 35 and Figure 36 for 3D results. Also, we observed that the circuits generated using Variant 2 have significantly greater depth than those generated using Variant 1. Due to this, Variant 2 is more susceptible to decoherence noise compared to Variant 1. These findings suggest that as quantum hardware technology advances, both the accuracy and scalability of our proposed algorithm will also improve on real quantum hardware.

6.3. Complexity Comparison of Proposed Approach with Classical Technique

We also conducted a circuit depth analysis of both variants of our proposed algorithm and compared it with the time complexity of the best-known classical technique [49]. Variant 1 of our proposed algorithm consists of Classical-to-Quantum (C2Q) [21] encoding and a numerical instantiation technique [22]. We have used the numerical instantiation proposed by BQSKit [22], which is a highly depth-optimized technique. Since we could not find any generalized depth complexity value for the circuits generated using BQSKit, we obtained its value through experiments using various test cases. The depth complexity of the circuit generated using BQSKit is O ( N ) , where N = 2 n represents the number of states and n is the number of qubits. The depth complexity of the C2Q encoding technique is O ( N ) [21]. The overall depth complexity of Variant 1 of the proposed technique is O ( N ) + O ( N ) O ( N ) . Variant 2 of our proposed algorithm consists of C2Q encoding and Column-by-Column Decomposition (CCD) [23]. The depth complexity of CCD is O ( N 2 ) [23], and the depth complexity of C2Q is O ( N ) . Therefore, the overall depth complexity of Variant 2 is O ( N ) + O ( N 2 ) O ( N 2 ) . Table 1 shows that the depth of Variant 1 after around 6 qubits roughly doubles with each additional qubit. This doubling behavior corresponds to the overall depth complexity of O ( N ) . In contrast, for Variant 2, the depth grows by fourfold for every additional qubit after around 6 qubits, indicating an overall depth complexity of O ( N 2 ) . In our analysis of the time complexity of solving a multidimensional Poisson equation using the most optimized classical computing approach of Fast Fourier Transform (FFT)-based solvers, the time complexity number is O ( N l o g N ) [49], where N is the number of grid points. However, with ongoing research in data encoding techniques and continuously improving compilers, we anticipate that the depth of the quantum circuits produced by the synthesis algorithms will be further optimized.

6.4. FDM Coefficient Matrix for Multidimensional Poisson Equation

We have also provided the mathematical description and procedure to convert the continuous Poisson equation into a finite difference equation for up to four dimensions. Additionally, we have also included an algorithm to compute the coefficient matrix and the vector representing the source of the Poisson equation up to four dimensions. With minor modifications, this algorithm can be extended to handle any number of dimensions. This description is included to make it easier to implement our proposed algorithm and its extension to higher dimensions.

7. Conclusions

In this work, we present a generalized quantum algorithm designed to efficiently and accurately solve multidimensional Partial Differential Equations (PDEs) using Quantum-Centric High-Performance Computing (QC-HPC). The algorithm is developed in two distinct forms: the first variant employs the Finite Difference Method (FDM), numerical instantiation, and Classical-to-Quantum (C2Q) encoding whereas the second variant uses FDM, C2Q encoding, and Column-by-Column Decomposition (CCD). To demonstrate the effectiveness of our technique, we have used the multidimensional Poisson equation as a case study. The results showed superior accuracy, scalability, and faster execution times compared to PDE solvers based on Variational Quantum Algorithms (VQAs) on both noise-free and noisy simulators, as well as hardware emulators, and real quantum hardware from IBM simulators. We have also provided a generalized algorithm that computes the coefficient matrix and the vector representing the source of the Poisson equation up to four dimensions. With minor modifications, this algorithm can be extended to handle any number of dimensions and can solve various types of PDEs. We also tested various noise mitigation techniques, especially Pauli Twirling and concluded that these techniques are still not mature enough to significantly improve circuit execution results on quantum emulators or real quantum hardware. However, noise mitigation techniques are still an active area of research and are continuously improving. With ongoing research in the field of data encoding techniques, continuously improving compilers, rapid progress in noise mitigation techniques, and advancements in quantum hardware, we anticipate that our proposed algorithm will be further optimized on quantum simulators, emulators, and real quantum hardware.

Author Contributions

Conceptualization: M.C., K.E.-A., A.N. and E.E.-A.; Methodology: M.C., K.E.-A., A.N., V.J., D.K. and E.E.-A.; Software: M.C., K.E.-A., A.N. and E.E.-A.; Validation: M.C., K.E.-A., A.N., V.J., D.K., I.I., M.S., S.O., B.P., K.E., S.T., D.B. and E.E.-A.; Formal analysis: M.C., K.E.-A., A.N., V.J., D.K., I.I., M.S., S.O., B.P., K.E., S.T., D.B., S.K. and E.E.-A.; Investigation: M.C., K.E.-A., A.N., V.J., D.K., I.I., M.S., S.O., B.P., K.E., S.T., D.B., S.K. and E.E.-A.; Resources: M.C., K.E.-A., A.N., V.J., D.K., I.I., M.S., S.O., B.P., K.E., S.T., D.B., S.K. and E.E.-A.; Data curation: M.C., K.E.-A., A.N., V.J., D.K., I.I., M.S., S.O., B.P., K.E., S.T., D.B. and E.E.-A.; Writing—original draft preparation: M.C., K.E.-A., A.N., V.J., D.K., I.I. and E.E.-A.; Writing—review and editing: M.C., K.E.-A., A.N., V.J., D.K., I.I., M.S., S.O., B.P., K.E., S.T., D.B. and E.E.-A.; Visualization: M.C., K.E.-A., A.N., V.J., D.K., I.I., M.S., S.O., B.P., K.E., S.T., D.B. and E.E.-A.; Supervision: E.E.-A.; Project administration: E.E.-A.; Funding acquisition: E.E.-A.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

This research used resources from the Oak Ridge Leadership Computing Facility, which is a DOE Office of Science User Facility supported under Contract DE-AC05-00OR22725.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Quantum Computing Basics

Appendix A.1. Quantum Bits and States

A quantum bit or a qubit is the fundamental unit of quantum information. Unlike a classical bit, which can only be 0 or 1, a qubit can exist in superposition of basis states, |0〉 and |1〉, which can be represented by a state vector | ψ , see (A1) [50]. Here, c 0 and c 1 are the complex amplitudes of the basis states.
| ψ = c 0 | 0 + c 1 | 1 = c 0 c 1 , where | c 0 | 2 + | c 1 | 2 = 1 , c i C
For any n-qubit quantum system, the number of possible states in the statevector is N = 2 n . As shown in (A2), each element c j corresponds to the amplitude of the j th element in | ψ or, the basis state |j〉.
| ψ = j = 0 N 1 c j · | j , where j = 0 N 1 | c j | 2 = 1 , and 0 j < N

Appendix A.2. Quantum Gates

Quantum gates are unitary operations that transform the state of a qubit. In this section, we present an overview of single- and multi-qubit gates relevant to our proposed algorithm.
Figure A1. Basic Quantum Gates.
Figure A1. Basic Quantum Gates.
Algorithms 18 00176 g0a1
  • Hadamard Gate
The Hadamard gate is a single-qubit quantum gate that creates an equal superposition of |0〉 and |1〉 states when applied to a qubit [50], see Figure A1.
  • Controlled-NOT (CNOT) Gate
The CNOT gate is a two-qubit quantum gate that consists of a control and a target qubit. It facilitates entanglement between qubits [50]. The unitary matrix and the symbol of the CNOT gate are shown in Figure A1.
  • SWAP Gate
The SWAP gate is a two-qubit quantum gate that exchanges the states of two qubits [50]. It can be implemented by applying three CNOT gates. The unitary matrix representation and the symbol of the SWAP gate are shown in Figure A1.
  • Y-Rotation Gate
The R y ( θ ) rotation gate is a single-qubit gate that rotates the quantum state | ψ by an angle θ around the y-axis of the Bloch sphere [50]. The unitary matrix representation and the symbol of R y ( θ ) are shown in Figure A1.
  • Z-Rotation Gate
The R z ( ϕ ) gate rotates a qubit | ψ by an angle ϕ around the z-axis of the Bloch sphere [50]. The unitary matrix representation and the symbol of R z ( ϕ ) are shown in Figure A1.
  • Quantum Measurement
The quantum measurement or measurement gate is required to obtain classical results from a quantum circuit. This gate collapses the qubit state | ψ to its computational basis states, i.e., |0〉 or |1〉 [50], and is non-unitary and irreversible. As shown in Figure A1, the classical data ψ decoded - data classical after measurement are represented by double line rails.

Appendix B. Classical Preprocessing

Appendix B.1. Finite Difference Method (FDM)

The Finite Difference Method (FDM) is a numerical technique for solving Partial Differential Equations (PDEs) by approximating them with difference equations [15]. This technique converts a continuous differential equation into a finite number of grid points, see (A3). Here, A is the coefficient matrix, u is the vector of unknown function, and b represents the discretized source term.
A u = b

Appendix B.2. Polar Decomposition

Polar decomposition is a matrix decomposition technique that decomposes a complex square matrix A, see (A3) into positive semi-definite symmetric matrix P and a unitary matrix U [51,52]. Using polar decomposition we, therefore, can express A as shown in (A4). We have used polar decomposition as a preprocessing step in our proposed algorithm (discussed in detail in Section 4.1)
A = P U

Appendix B.3. Singular Value Decomposition (SVD)

Singular Value Decomposition (SVD) [38] decomposes any matrix into three components: an orthogonal matrix W, a diagonal matrix Σ , and the conjugate transpose of the orthogonal matrix V . In quantum computing, SVD assists with encoding classical data into the quantum domain [53]. Our algorithm employs SVD as a pre-processing step to decompose matrix A (discussed in Section 4.1) into two orthogonal matrices, W and V , and a diagonal matrix, Σ , as shown in (A5).
A = W Σ V

References

  1. Klawonn, A.; Lanser, M.; Rheinbach, O. Toward extremely scalable nonlinear domain decomposition methods for elliptic partial differential equations. Siam J. Sci. Comput. 2015, 37, C667–C696. [Google Scholar]
  2. Evans, L.C. Partial Differential Equations; American Mathematical Society: Providence, RI, USA, 2022; Volume 19. [Google Scholar]
  3. Toivanen, J.; Avery, P.; Farhat, C. A multilevel FETI-DP method and its performance for problems with billions of degrees of freedom. Int. J. Numer. Methods Eng. 2018, 116, 661–682. [Google Scholar]
  4. Schwab, C.; Gittelson, C.J. Sparse tensor discretizations of high-dimensional parametric and stochastic PDEs. Acta Numer. 2011, 20, 291–467. [Google Scholar]
  5. Waldrop, M.M. The chips are down for Moore’s law. Nat. News 2016, 530, 144. [Google Scholar]
  6. Tosti Balducci, G.; Chen, B.; Möller, M.; Gerritsma, M.; De Breuker, R. Review and perspectives in quantum computing for partial differential equations in structural mechanics. Front. Mech. Eng. 2022, 8, 914241. [Google Scholar]
  7. Anderson, J.; Kayraklioglu, E.; Imani, H.R.; Miscuglio, M.; Sorger, V.J.; El-Ghazawi, T. Virtualizing analog mesh computers: The case of a photonic PDE solving accelerator. In Proceedings of the 2020 International Conference on Rebooting Computing (ICRC), Atlanta, GA, USA, 1–3 December 2020; pp. 133–142. [Google Scholar]
  8. Smith, J.D.; Severa, W.; Hill, A.J.; Reeder, L.; Franke, B.; Lehoucq, R.B.; Parekh, O.D.; Aimone, J.B. Solving a steady-state PDE using spiking networks and neuromorphic hardware. In Proceedings of the International Conference on Neuromorphic Systems 2020, Oak Ridge, TN, USA, 28–30 July 2020; pp. 1–8. [Google Scholar]
  9. El-Araby, E.; Chaudhary, M.; Islam, I.U.; Levy, D.; Kneidel, D.; Jeng, M.; Nobel, A.; Jha, V. Practical Applications of Quantum Computing. In Quantum Computing: Innovations and Applications in Modern Research; IntechOpen: London, UK, 2024; p. 85. [Google Scholar]
  10. Bharti, K.; Cervera-Lierta, A.; Kyaw, T.H.; Haug, T.; Alperin-Lea, S.; Anand, A.; Degroote, M.; Heimonen, H.; Kottmann, J.S.; Menke, T.; et al. Noisy intermediate-scale quantum algorithms. Rev. Mod. Phys. 2022, 94, 015004. [Google Scholar]
  11. Nielsen, M.A.; Chuang, I.L. Quantum Computation and Quantum Information; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
  12. Rebentrost, P.; Mohseni, M.; Lloyd, S. Quantum support vector machine for big data classification. Phys. Rev. Lett. 2014, 113, 130503. [Google Scholar]
  13. Tennie, F.; Laizet, S.; Lloyd, S.; Magri, L. Quantum computing for nonlinear differential equations and turbulence. Nat. Rev. Phys. 2025, 1–11. [Google Scholar] [CrossRef]
  14. Harrow, A.W.; Hassidim, A.; Lloyd, S. Quantum algorithm for linear systems of equations. Phys. Rev. Lett. 2009, 103, 150502. [Google Scholar]
  15. Nagel, J.R. Solving the Generalized Poisson Equation Using the Finite-Difference Method (FDM); Lecture Notes; Department of Electrical and Computer Engineering, University of Utah: Salt Lake City, UT, USA, 2011. [Google Scholar]
  16. Preskill, J. Quantum computing in the NISQ era and beyond. Quantum 2018, 2, 79. [Google Scholar]
  17. Sato, Y.; Kondo, R.; Koide, S.; Takamatsu, H.; Imoto, N. Variational quantum algorithm based on the minimum potential energy for solving the Poisson equation. Phys. Rev. A 2021, 104, 052409. [Google Scholar] [CrossRef]
  18. Trahan, C.J.; Loveland, M.; Davis, N.; Ellison, E. A variational quantum linear solver application to discrete finite-element methods. Entropy 2023, 25, 580. [Google Scholar] [CrossRef] [PubMed]
  19. Ali, M.; Kabel, M. Performance study of variational quantum algorithms for solving the Poisson equation on a quantum computer. Phys. Rev. Appl. 2023, 20, 014054. [Google Scholar]
  20. Liu, H.L.; Wu, Y.S.; Wan, L.C.; Pan, S.J.; Qin, S.J.; Gao, F.; Wen, Q.Y. Variational quantum algorithm for the Poisson equation. Phys. Rev. A 2021, 104, 022418. [Google Scholar]
  21. El-Araby, E.; Mahmud, N.; Jeng, M.J.; MacGillivray, A.; Chaudhary, M.; Nobel, M.A.I.; Islam, S.I.U.; Levy, D.; Kneidel, D.; Watson, M.R.; et al. Towards complete and scalable emulation of quantum algorithms on high-performance reconfigurable computers. IEEE Trans. Comput. 2023, 72, 2350–2364. [Google Scholar]
  22. Younis, E.; Iancu, C.C.; Lavrijsen, W.; Davis, M.; Smith, E. Berkeley Quantum Synthesis Toolkit (bqskit) v1; Technical Report; Lawrence Berkeley National Laboratory (LBNL): Berkeley, CA, USA, 2021. [Google Scholar]
  23. Iten, R.; Colbeck, R.; Kukuljan, I.; Home, J.; Christandl, M. Quantum circuits for isometries. Phys. Rev. A 2016, 93, 032318. [Google Scholar]
  24. IBM Quantum. Available online: https://quantum-computing.ibm.com (accessed on 28 February 2025).
  25. Shende, V.V.; Bullock, S.S.; Markov, I.L. Synthesis of Quantum Logic Circuits. In Proceedings of the 2005 Asia and South Pacific Design Automation Conference, Shanghai, China, 18–21 January 2005; pp. 272–275. [Google Scholar]
  26. IBM Quantum. Qiskit: An Open-Source Framework for Quantum Computing. Available online: https://www.ibm.com/quantum/qiskit (accessed on 28 February 2025).
  27. Sivarajah, S.; Dilkes, S.; Cowtan, A.; Simmons, W.; Edgington, A.; Duncan, R. t| ket>: A retargetable compiler for NISQ devices. Quantum Sci. Technol. 2020, 6, 014003. [Google Scholar]
  28. Cirq, a Python Framework for Creating, Editing, and Invoking Noisy Intermediate Scale Quantum (NISQ) Circuits. Available online: https://github.com/quantumlib/Cirq (accessed on 28 February 2025).
  29. Vatan, F.; Williams, C. Optimal quantum circuits for general two-qubit gates. Phys. Rev. A—At. Mol. Opt. Phys. 2004, 69, 032315. [Google Scholar]
  30. Möttönen, M.; Vartiainen, J.J.; Bergholm, V.; Salomaa, M.M. Quantum circuits for general multiqubit gates. Phys. Rev. Lett. 2004, 93, 130502. [Google Scholar]
  31. Younis, E.; Iancu, C. Quantum circuit optimization and transpilation via parameterized circuit instantiation. In Proceedings of the 2022 IEEE International Conference on Quantum Computing and Engineering (QCE), Broomfield, CO, USA, 18–23 September 2022; pp. 465–475. [Google Scholar]
  32. Smith, E.; Davis, M.G.; Larson, J.; Younis, E.; Oftelie, L.B.; Lavrijsen, W.; Iancu, C. Leap: Scaling numerical optimization based synthesis using an incremental approach. Acm Trans. Quantum Comput. 2023, 4, 1–23. [Google Scholar]
  33. Schlosshauer, M. Quantum decoherence. Phys. Rep. 2019, 831, 1–57. [Google Scholar]
  34. Mahmud, N.; MacGillivray, A.; Chaudhary, M.; El-Araby, E. Decoherence-optimized circuits for multidimensional and multilevel-decomposable quantum wavelet transform. IEEE Internet Comput. 2021, 26, 15–25. [Google Scholar]
  35. Ithier, G.; Collin, E.; Joyez, P.; Meeson, P.; Vion, D.; Esteve, D.; Chiarello, F.; Shnirman, A.; Makhlin, Y.; Schriefl, J.; et al. Decoherence in a superconducting quantum bit circuit. Phys. Rev. B—Condens. Matter Mater. Phys. 2005, 72, 134519. [Google Scholar]
  36. Cerezo, M.; Arrasmith, A.; Babbush, R.; Benjamin, S.C.; Endo, S.; Fujii, K.; McClean, J.R.; Mitarai, K.; Yuan, X.; Cincio, L.; et al. Variational quantum algorithms. Nat. Rev. Phys. 2021, 3, 625–644. [Google Scholar]
  37. Childs, A.M.; Kothari, R.; Somma, R.D. Quantum algorithm for systems of linear equations with exponentially improved dependence on precision. SIAM J. Comput. 2017, 46, 1920–1950. [Google Scholar]
  38. Stewart, G.W. On the early history of the singular value decomposition. SIAM Rev. 1993, 35, 551–566. [Google Scholar]
  39. Chaudhary, M.; Islam, I.; Levy, D.; Nobel, A.; Kneidel, D.; Jha, V.; El-Araby, E. An Efficient Quantum Solver for Multidimensional Partial Differential Equations. In Proceedings of the International Conference on Emergent Quantum Technologies (ICEQT 2024), Las Vegas, NV, USA, 22–25 July 2024. [Google Scholar]
  40. IBM. Quantumcircuit.Unitary. 2024. Available online: https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.UnitaryGate (accessed on 28 February 2025).
  41. IBM. MatrixOp Class. 2023. Available online: https://docs.quantum.ibm.com/api/qiskit/0.32/qiskit.aqua.operators.primitive_ops.MatrixOp.to_pauli_op (accessed on 28 February 2025).
  42. IBM. EfficientSU2 Circuit. 2023. Available online: https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.EfficientSU2 (accessed on 28 February 2025).
  43. IBM. ADAM Optimizer. 2023. Available online: https://docs.quantum.ibm.com/api/qiskit/0.28/qiskit.algorithms.optimizers.ADAM (accessed on 28 February 2025).
  44. Cai, Z.; Babbush, R.; Benjamin, S.C.; Endo, S.; Huggins, W.J.; Li, Y.; McClean, J.R.; O’Brien, T.E. Quantum error mitigation. Rev. Mod. Phys. 2023, 95, 045005. [Google Scholar]
  45. IBM. IBM Debuts Next-Generation Quantum Processor & IBM Quantum System Two, Extends Roadmap to Advance Era of Quantum Utility IBM Press Release. 2023. Available online: https://newsroom.ibm.com/2023-12-04-IBM-Debuts-Next-Generation-Quantum-Processor-IBM-Quantum-System-Two%2C-Extends-Roadmap-to-Advance-Era-of-Quantum-Utility (accessed on 28 February 2025).
  46. Almeida, D.G.; Ferris, K.; Kanazawa, N.; Johnson, B.; Davis, R. New fractional gates reduce circuit depth for utility-scale workloads. IBM Research Blog, 15 January 2025. Available online: https://www.ibm.com/quantum/blog/fractional-gates (accessed on 28 February 2025).
  47. Holmes, Z.; Sharma, K.; Cerezo, M.; Coles, P.J. Connecting ansatz expressibility to gradient magnitudes and barren plateaus. PRX Quantum 2022, 3, 010313. [Google Scholar]
  48. Grimsley, H.R.; Barron, G.S.; Barnes, E.; Economou, S.E.; Mayhall, N.J. Adapt-vqe is insensitive to rough parameter landscapes and barren plateaus. arXiv 2022, arXiv:2204.07179. [Google Scholar]
  49. Qiang, J.; Paret, S. Poisson solvers for self-consistent multi-particle simulations. arXiv 2014, arXiv:1410.3633. [Google Scholar]
  50. Williams, C.P. Explorations in Quantum Computing; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  51. Buffington, G. Polar Decomposition of a Matrix; University of Puget Sound: Tacoma, WA, USA, 2014; Available online: http://buzzard.ups.edu/courses/2014spring/420projects/math420-UPS-spring-2014-buffington-polar-decomposition.pdf (accessed on 28 February 2025).
  52. Higham, N.J. Computing the polar decomposition—With applications. SIAM J. Sci. Stat. Comput. 1986, 7, 1160–1174. [Google Scholar] [CrossRef]
  53. Ghosh, K. Encoding classical data into a quantum computer. arXiv 2021, arXiv:2107.09155. [Google Scholar]
Figure 1. C2Q data encoding [21].
Figure 1. C2Q data encoding [21].
Algorithms 18 00176 g001
Figure 2. An overview of BQSKit’s synthesis workflow.
Figure 2. An overview of BQSKit’s synthesis workflow.
Algorithms 18 00176 g002
Figure 3. T2 time of individual qubits in FakeSherbrooke and ibm_sherbrooke. (a) T2 time of hardware emulator (FakeSherbrooke). (b) T2 time of real quantum hardware (ibm_sherbrooke).
Figure 3. T2 time of individual qubits in FakeSherbrooke and ibm_sherbrooke. (a) T2 time of hardware emulator (FakeSherbrooke). (b) T2 time of real quantum hardware (ibm_sherbrooke).
Algorithms 18 00176 g003
Figure 4. Proposed PDE solver algorithm (a) Variant 1 (b) Variant 2.
Figure 4. Proposed PDE solver algorithm (a) Variant 1 (b) Variant 2.
Algorithms 18 00176 g004
Figure 5. FDM grid discretization for the 1D Poisson equation.
Figure 5. FDM grid discretization for the 1D Poisson equation.
Algorithms 18 00176 g005
Figure 6. FDM grid discretization for the 2D Poisson equation.
Figure 6. FDM grid discretization for the 2D Poisson equation.
Algorithms 18 00176 g006
Figure 7. FDM grid discretization for the 3D Poisson equation.
Figure 7. FDM grid discretization for the 3D Poisson equation.
Algorithms 18 00176 g007
Figure 8. Matrix A for the Poisson equation in 1D, 2D, 3D, and 4D cases (a) 1D with N x = 4 , matrix size 4 × 4 (b) 2D with N x = N y = 4 , matrix size 16 × 16 (c) 3D with N x = N y = N z = 4 , matrix size 64 × 64 (d) 4D with N x = N y = N z = N t , matrix size 256 × 256 .
Figure 8. Matrix A for the Poisson equation in 1D, 2D, 3D, and 4D cases (a) 1D with N x = 4 , matrix size 4 × 4 (b) 2D with N x = N y = 4 , matrix size 16 × 16 (c) 3D with N x = N y = N z = 4 , matrix size 64 × 64 (d) 4D with N x = N y = N z = N t , matrix size 256 × 256 .
Algorithms 18 00176 g008
Figure 9. Comparison of solution profiles of the 1D Poisson equation between proposed technique and VQE-based technique, tested using 8 and 14 qubits on a noise-free (statevector) simulator (a) 256 data points (8 qubits) (b) 16,834 data points (14 qubits).
Figure 9. Comparison of solution profiles of the 1D Poisson equation between proposed technique and VQE-based technique, tested using 8 and 14 qubits on a noise-free (statevector) simulator (a) 256 data points (8 qubits) (b) 16,834 data points (14 qubits).
Algorithms 18 00176 g009
Figure 10. Comparison of solution profiles of the 1D Poisson equation between proposed technique and VQE-based technique, tested using 8 and 14 qubits on noisy (AerSimulator) simulator (1 M shots) (a) 256 data points (8 qubits) (b) 16,834 data points (14 qubits).
Figure 10. Comparison of solution profiles of the 1D Poisson equation between proposed technique and VQE-based technique, tested using 8 and 14 qubits on noisy (AerSimulator) simulator (1 M shots) (a) 256 data points (8 qubits) (b) 16,834 data points (14 qubits).
Algorithms 18 00176 g010
Figure 11. Comparison of solution profiles of the 1D Poisson equation between proposed technique and VQE-based technique, tested using 8 and 14 qubits on noisy (AerSimulator) simulator (32 M shots) (a) 256 data points (8 qubits) (b) 16,834 data points (14 qubits).
Figure 11. Comparison of solution profiles of the 1D Poisson equation between proposed technique and VQE-based technique, tested using 8 and 14 qubits on noisy (AerSimulator) simulator (32 M shots) (a) 256 data points (8 qubits) (b) 16,834 data points (14 qubits).
Algorithms 18 00176 g011
Figure 12. RMSE error and total execution time for the 1D Poisson equation using our technique versus the VQE-based technique on noise-free (statevector) and noisy (AerSimulator) simulators (1 M shots). Some data points are omitted due to unrealistically long execution times. (a) RMSE error (b) total time taken.
Figure 12. RMSE error and total execution time for the 1D Poisson equation using our technique versus the VQE-based technique on noise-free (statevector) and noisy (AerSimulator) simulators (1 M shots). Some data points are omitted due to unrealistically long execution times. (a) RMSE error (b) total time taken.
Algorithms 18 00176 g012
Figure 13. Solution profile of the 1D Poisson equation obtained using the proposed technique with 3 and 4 qubits on hardware emulator (FakeSherbrooke) using 1 M shots (a) 8 data points (3 qubits) (b) 16 data points (4 qubits).
Figure 13. Solution profile of the 1D Poisson equation obtained using the proposed technique with 3 and 4 qubits on hardware emulator (FakeSherbrooke) using 1 M shots (a) 8 data points (3 qubits) (b) 16 data points (4 qubits).
Algorithms 18 00176 g013
Figure 14. RMSE error and total execution time for the 1D Poisson equation using our proposed technique on quantum emulator (FakeSherbrooke) using 1 M shots. Some data points are omitted due to unrealistically long execution times. (a) RMSE error (b) Total time taken.
Figure 14. RMSE error and total execution time for the 1D Poisson equation using our proposed technique on quantum emulator (FakeSherbrooke) using 1 M shots. Some data points are omitted due to unrealistically long execution times. (a) RMSE error (b) Total time taken.
Algorithms 18 00176 g014
Figure 15. RMSE error and the total time taken by the proposed technique for 1D Poisson equation on hardware emulator with noise mitigation (Pauli Twirling) for 1 M shots (a) RMSE error (b) total time taken.
Figure 15. RMSE error and the total time taken by the proposed technique for 1D Poisson equation on hardware emulator with noise mitigation (Pauli Twirling) for 1 M shots (a) RMSE error (b) total time taken.
Algorithms 18 00176 g015
Figure 16. Solution profile of the 1D Poisson equation obtained using the proposed technique with 3 and 4 qubits on real quantum hardware (ibm_sherbrooke) using 0.1 M shots (a) 8 data points (3 qubits) (b) 16 data points (4 qubits).
Figure 16. Solution profile of the 1D Poisson equation obtained using the proposed technique with 3 and 4 qubits on real quantum hardware (ibm_sherbrooke) using 0.1 M shots (a) 8 data points (3 qubits) (b) 16 data points (4 qubits).
Algorithms 18 00176 g016
Figure 17. Solution profile of the 1D Poisson equation obtained using the proposed technique with 3 and 4 qubits on real quantum hardware (ibm_torino) using 0.1 M shots (a) 8 data points (3 qubits) (b) 16 data points (4 qubits).
Figure 17. Solution profile of the 1D Poisson equation obtained using the proposed technique with 3 and 4 qubits on real quantum hardware (ibm_torino) using 0.1 M shots (a) 8 data points (3 qubits) (b) 16 data points (4 qubits).
Algorithms 18 00176 g017
Figure 18. RMSE error for the 1D Poisson equation using our proposed technique on real quantum hardware (ibm_sherbrooke and ibm_torino) using 0.1M shots. Some data points are omitted due to unrealistically long execution times.
Figure 18. RMSE error for the 1D Poisson equation using our proposed technique on real quantum hardware (ibm_sherbrooke and ibm_torino) using 0.1M shots. Some data points are omitted due to unrealistically long execution times.
Algorithms 18 00176 g018
Figure 19. Comparison of solution profiles of the 2D Poisson equation between proposed and VQE-based techniques, tested using 256 data points (8 qubits) on noisy-free (statevector) simulator.
Figure 19. Comparison of solution profiles of the 2D Poisson equation between proposed and VQE-based techniques, tested using 256 data points (8 qubits) on noisy-free (statevector) simulator.
Algorithms 18 00176 g019
Figure 20. Comparison of solution profiles of the 2D Poisson equation between proposed and VQE-based techniques, tested using 16,834 data points (14 qubits) on noisy-free (statevector) simulator.
Figure 20. Comparison of solution profiles of the 2D Poisson equation between proposed and VQE-based techniques, tested using 16,834 data points (14 qubits) on noisy-free (statevector) simulator.
Algorithms 18 00176 g020
Figure 21. Comparison of solution profiles of the 2D Poisson equation between proposed and VQE-based techniques, tested using 64 data points (6 qubits) on noisy (AerSimulator) simulator (1 M shots).
Figure 21. Comparison of solution profiles of the 2D Poisson equation between proposed and VQE-based techniques, tested using 64 data points (6 qubits) on noisy (AerSimulator) simulator (1 M shots).
Algorithms 18 00176 g021
Figure 22. Comparison of solution profiles of the 2D Poisson equation between proposed and VQE-based techniques, tested using 16,834 data points (14 qubits) on noisy (AerSimulator) simulator (1 M shots).
Figure 22. Comparison of solution profiles of the 2D Poisson equation between proposed and VQE-based techniques, tested using 16,834 data points (14 qubits) on noisy (AerSimulator) simulator (1 M shots).
Algorithms 18 00176 g022
Figure 23. RMSE error and total execution time for the 2D Poisson equation using our technique versus the VQE-based technique on noise-free (statevector) and noisy (AerSimulator) simulators for 1M shots. Some data points are omitted due to unrealistically long execution times (a) RMSE error (b) Total time taken.
Figure 23. RMSE error and total execution time for the 2D Poisson equation using our technique versus the VQE-based technique on noise-free (statevector) and noisy (AerSimulator) simulators for 1M shots. Some data points are omitted due to unrealistically long execution times (a) RMSE error (b) Total time taken.
Algorithms 18 00176 g023
Figure 24. Solution profile of the 2D Poisson equation obtained using the proposed technique with 6 qubits on hardware emulator (FakeSherbrooke) using 1 M shots.
Figure 24. Solution profile of the 2D Poisson equation obtained using the proposed technique with 6 qubits on hardware emulator (FakeSherbrooke) using 1 M shots.
Algorithms 18 00176 g024
Figure 25. RMSE error and total execution time for the 2D Poisson equation using our proposed technique on quantum emulator (FakeSherbrooke) for 1M shots. Some data points are omitted due to unrealistically long execution times (a) RMSE error (b) total time taken.
Figure 25. RMSE error and total execution time for the 2D Poisson equation using our proposed technique on quantum emulator (FakeSherbrooke) for 1M shots. Some data points are omitted due to unrealistically long execution times (a) RMSE error (b) total time taken.
Algorithms 18 00176 g025
Figure 26. Solution profile of the 2D Poisson equation obtained using the proposed technique with 16 data points (4 qubits) on real quantum hardware (ibm_sherbrooke) using 0.1 M shots.
Figure 26. Solution profile of the 2D Poisson equation obtained using the proposed technique with 16 data points (4 qubits) on real quantum hardware (ibm_sherbrooke) using 0.1 M shots.
Algorithms 18 00176 g026
Figure 27. Solution profile of the 2D Poisson equation obtained using the proposed technique with 16 data points (4 qubits) on real quantum hardware (ibm_torino) using 0.1 M shots.
Figure 27. Solution profile of the 2D Poisson equation obtained using the proposed technique with 16 data points (4 qubits) on real quantum hardware (ibm_torino) using 0.1 M shots.
Algorithms 18 00176 g027
Figure 28. RMSE error and total execution time for the 2D Poisson equation using our proposed technique on real quantum hardware (ibm_sherbrooke and ibm_torino) for 0.1 M shots. Some data points are omitted due to unrealistically long execution times.
Figure 28. RMSE error and total execution time for the 2D Poisson equation using our proposed technique on real quantum hardware (ibm_sherbrooke and ibm_torino) for 0.1 M shots. Some data points are omitted due to unrealistically long execution times.
Algorithms 18 00176 g028
Figure 29. Comparison of solution profiles of the 3D Poisson equation between proposed and VQE-based techniques, tested using 64 data points (6 qubits) on noisy-free (statevector) simulator.
Figure 29. Comparison of solution profiles of the 3D Poisson equation between proposed and VQE-based techniques, tested using 64 data points (6 qubits) on noisy-free (statevector) simulator.
Algorithms 18 00176 g029
Figure 30. Comparison of solution profiles of the 3D Poisson equation between proposed and VQE-based techniques, tested using 4096 data points (12 qubits) on noisy-free (statevector) simulator.
Figure 30. Comparison of solution profiles of the 3D Poisson equation between proposed and VQE-based techniques, tested using 4096 data points (12 qubits) on noisy-free (statevector) simulator.
Algorithms 18 00176 g030
Figure 31. Comparison of solution profiles of the 3D Poisson equation between proposed and VQE-based techniques, tested using 64 data points (6 qubits) on noisy (AerSimulator) simulator (1 M shots).
Figure 31. Comparison of solution profiles of the 3D Poisson equation between proposed and VQE-based techniques, tested using 64 data points (6 qubits) on noisy (AerSimulator) simulator (1 M shots).
Algorithms 18 00176 g031
Figure 32. Comparison of solution profiles of the 3D Poisson equation between proposed and VQE-based techniques, tested using 4096 data points (12 qubits) on noisy (AerSimulator) simulator (1 M shots).
Figure 32. Comparison of solution profiles of the 3D Poisson equation between proposed and VQE-based techniques, tested using 4096 data points (12 qubits) on noisy (AerSimulator) simulator (1 M shots).
Algorithms 18 00176 g032
Figure 33. RMSE error and total execution time for the 3D Poisson equation using our technique versus the VQE-based technique on noise-free (statevector) and noisy (AerSimulator) simulators for 1M shots. Some data points are omitted due to unrealistically long execution times (a) RMSE error (b) total time taken.
Figure 33. RMSE error and total execution time for the 3D Poisson equation using our technique versus the VQE-based technique on noise-free (statevector) and noisy (AerSimulator) simulators for 1M shots. Some data points are omitted due to unrealistically long execution times (a) RMSE error (b) total time taken.
Algorithms 18 00176 g033
Figure 34. Solution profile of the 3D Poisson equation obtained using the proposed technique with 64 data points (6 qubits) on real quantum hardware (ibm_sherbrooke) using 0.1 M shots.
Figure 34. Solution profile of the 3D Poisson equation obtained using the proposed technique with 64 data points (6 qubits) on real quantum hardware (ibm_sherbrooke) using 0.1 M shots.
Algorithms 18 00176 g034
Figure 35. Solution profile of the 3D Poisson equation obtained using the proposed technique with 64 data points (6 qubits) on real quantum hardware (ibm_torino) using 0.1 M shots.
Figure 35. Solution profile of the 3D Poisson equation obtained using the proposed technique with 64 data points (6 qubits) on real quantum hardware (ibm_torino) using 0.1 M shots.
Algorithms 18 00176 g035
Figure 36. RMSE error for the 3D Poisson equation using our proposed technique on real quantum hardware (ibm_sherbrooke and ibm_torino). Some data points are omitted due to unrealistically long execution times.
Figure 36. RMSE error for the 3D Poisson equation using our proposed technique on real quantum hardware (ibm_sherbrooke and ibm_torino). Some data points are omitted due to unrealistically long execution times.
Algorithms 18 00176 g036
Table 1. Comparison of circuit depth and execution times versus the number of qubits for Variant 1 and Variant 2 of the proposed technique on real quantum hardware (ibm_sherbrooke) for 1D Poisson equation.
Table 1. Comparison of circuit depth and execution times versus the number of qubits for Variant 1 and Variant 2 of the proposed technique on real quantum hardware (ibm_sherbrooke) for 1D Poisson equation.
QubitsVariant 1Variant 2Decoherence
Time
(ibm_sherbrooke)
(Seconds)
Circuit Depth Expected
Execution Time
in Seconds
(1 Shot)
RMSE Error on
ibm_sherbrooke
(0.1M Shots)
Circuit Depth Expected
Execution Time
in Seconds
(1 Shot)
RMSE Error on
ibm_sherbrooke
(0.1M Shots)
263360.0000014080.02900168360800.0000013510.0428295610.00017604
320,3840.0000045300.283069118109,4720.0000243270.1903859890.00017604
451,6480.0000114770.370884038609,6640.0001354810.3047489830.00017604
5128,8320.0000286290.6410671802,743,7120.0006097140.4112109280.00017604
6276,1600.0000613690.41091114811,453,9200.0025453160.7413720750.00017604
7522,2720.0001160600.39734308646,297,2480.010288277Error:
Ran too long
0.00017604
81,057,5040.0002350010.550928878184,545,6000.041010133Error:
Ran too long
0.00017604
92,026,8480.0004504110.441182415745,152,8640.165589525Error:
Ran too long
0.00017604
10Unrealistically
long compile time
Unrealistically
long compile time
Unrealistically
long compile time
2,942,284,9600.653841102Error:
Ran too long
0.00017604
Table 2. Comparison of circuit depth and execution times versus the number of qubits for Variant 1 and Variant 2 of the proposed technique on real quantum hardware (ibm_sherbrooke) for 2D Poisson equation.
Table 2. Comparison of circuit depth and execution times versus the number of qubits for Variant 1 and Variant 2 of the proposed technique on real quantum hardware (ibm_sherbrooke) for 2D Poisson equation.
QubitsVariant 1Variant 2Decoherence
Time
(ibm_sherbrooke)
(Seconds)
Circuit Depth Expected
Execution Time
in Seconds
(1 Shot)
RMSE Error on
ibm_sherbrooke
(0.1M Shots)
Circuit Depth Expected
Execution Time
in Seconds
(1 Shot)
RMSE Error on
ibm_sherbrooke
(0.1M Shots)
445,5680.0000101260.002316176605,3760.0001345280.004818920.00017604
6290,0480.0000644550.00550655811,462,9120.0025473140.0059503570.00017604
81,019,6160.0002265810.006192968183,185,9520.040707989Error:
Ran too long
0.00017604
10Unrealistically
long compile time
Unrealistically
long compile time
Unrealistically
long compile time
2,988,240,9920.664053554Error:
Ran too long
0.00017604
Table 3. Comparison of circuit depth and execution times versus the number of qubits for Variant 1 and Variant 2 of the proposed technique on real quantum hardware (ibm_sherbrooke) for 3D Poisson equation.
Table 3. Comparison of circuit depth and execution times versus the number of qubits for Variant 1 and Variant 2 of the proposed technique on real quantum hardware (ibm_sherbrooke) for 3D Poisson equation.
QubitsVariant 1Variant 2Decoherence
Time
(ibm_sherbrooke)
(Seconds)
Circuit Depth Expected
Execution Time
in Seconds
(1 Shot)
RMSE Error on
ibm_sherbrooke
(0.1M Shots)
Circuit Depth Expected
Execution Time
in Seconds
(1 Shot)
RMSE Error on
ibm_sherbrooke
(0.1M Shots)
6259,7120.0000577140.00181750711,478,9440.0025508760.002176050.00017604
92,000,1920.0004444870.002353428735,210,4000.163380089Error:
Ran too long
0.00017604
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chaudhary, M.; El-Araby, K.; Nobel, A.; Jha, V.; Kneidel, D.; Islam, I.; Singh, M.; Ogundele, S.; Phillips, B.; Egan, K.; et al. Solving Multidimensional Partial Differential Equations Using Efficient Quantum Circuits. Algorithms 2025, 18, 176. https://doi.org/10.3390/a18030176

AMA Style

Chaudhary M, El-Araby K, Nobel A, Jha V, Kneidel D, Islam I, Singh M, Ogundele S, Phillips B, Egan K, et al. Solving Multidimensional Partial Differential Equations Using Efficient Quantum Circuits. Algorithms. 2025; 18(3):176. https://doi.org/10.3390/a18030176

Chicago/Turabian Style

Chaudhary, Manu, Kareem El-Araby, Alvir Nobel, Vinayak Jha, Dylan Kneidel, Ishraq Islam, Manish Singh, Sunday Ogundele, Ben Phillips, Kieran Egan, and et al. 2025. "Solving Multidimensional Partial Differential Equations Using Efficient Quantum Circuits" Algorithms 18, no. 3: 176. https://doi.org/10.3390/a18030176

APA Style

Chaudhary, M., El-Araby, K., Nobel, A., Jha, V., Kneidel, D., Islam, I., Singh, M., Ogundele, S., Phillips, B., Egan, K., Thomas, S., Bontrager, D., Kim, S., & El-Araby, E. (2025). Solving Multidimensional Partial Differential Equations Using Efficient Quantum Circuits. Algorithms, 18(3), 176. https://doi.org/10.3390/a18030176

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop