[Paper Review] Quantum algorithm for the Navier Stokes equations by using the streamfunction vorticity formulation and the lattice Boltzmann method
This paper presents a novel quantum algorithm for solving the 2D Navier-Stokes equations using the streamfunction-vorticity formulation and the lattice Boltzmann method (LBM) on NISQ devices. The algorithm decomposes the LBM into quantum steps—initialization, collision, propagation, boundary conditions, and macroscopic variable calculation—using standard-form encoding and quantum walks, achieving exact agreement with classical simulations for 2D cavity flow.
A new algorithm for solving the Navier-Stokes equations (NSE) on a quantum device is presented. For the fluid flow equations the stream function-vorticity formulation is adopted, while the lattice Boltzmann method (LBM) is utilized for solving the corresponding system of equations numerically for one time step. Following the nature of the lattice Boltzmann method, the proposed quantum algorithm consists of five major sections: initialization, collision, propagation, boundary condition implementation, and calculation of macroscopic quantities. The collision and boundary condition step is quantumly implemented by applying the standard-form encoding approach, while the quantum walk procedure is applied for the propagation step. The algorithm is implemented by using IBM's quantum computing software development framework Qiskit, while for the verification purposes two-dimensional (2D) cavity flow is simulated and compared with classical code.
Motivation & Objective
- To develop a quantum algorithm for solving the Navier-Stokes equations on near-term quantum devices.
- To leverage the lattice Boltzmann method (LBM) for numerical stability and efficiency in quantum simulation of fluid dynamics.
- To implement the LBM steps—collision, propagation, boundary conditions, and macroscopic variable calculation—using quantum circuits.
- To validate the quantum algorithm against classical simulations for a benchmark fluid flow problem.
- To identify and address key bottlenecks in quantum algorithm efficiency, particularly state preparation and measurement overhead.
Proposed method
- The Navier-Stokes equations are reformulated using the streamfunction-vorticity approach to reduce the system to a set of coupled PDEs.
- The lattice Boltzmann method (LBM) with D2Q5 lattice configuration is used to discretize the equations for one time step.
- The quantum algorithm implements five LBM steps: initialization, collision, propagation, boundary condition application, and macroscopic quantity calculation.
- The collision and boundary condition steps are implemented using standard-form encoding and controlled unitary operations.
- The propagation step is realized via a quantum walk procedure using multi-controlled X gates.
- The algorithm is implemented and validated using IBM's Qiskit framework with a 16×16 lattice for 2D cavity flow.
Experimental results
Research questions
- RQ1Can the lattice Boltzmann method be effectively adapted into a quantum algorithm for solving the Navier-Stokes equations?
- RQ2How can the non-linear fluid dynamics described by the Navier-Stokes equations be encoded and simulated on a quantum computer using a stable and efficient numerical framework?
- RQ3What is the quantum circuit complexity of each LBM step, particularly in terms of CNOT and multi-controlled gate counts?
- RQ4How does the quantum simulation result compare to classical solutions for a benchmark 2D cavity flow problem?
- RQ5What are the main scalability and efficiency bottlenecks in the current quantum algorithm design?
Key findings
- The quantum algorithm successfully simulates the 2D cavity flow problem with exact agreement between quantum and classical results for vorticity contours and velocity magnitude.
- The total CNOT count scales as O(2^n) for the state preparation step, which is the dominant source of complexity.
- The collision and boundary condition steps scale as O(1) with respect to system size, indicating low overhead for these components.
- The propagation step requires O(n) multi-controlled X gates per operator, with eight such gates per additional qubit due to four R and four L operators.
- The macroscopic variable calculation step is independent of input size and requires no additional gates, scaling as O(1).
- The need to repeat the simulation 2^2n times per time step due to quantum state collapse after measurement is identified as a major efficiency bottleneck.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.