Incompressible Navier-Stokes solve on noisy quantum hardware via a hybrid quantum-classical scheme
Zhixin Song, Robert Deaton, Bryan Gard, Spencer H. Bryngelson
TL;DR
This work presents a hybrid quantum–classical scheme for solving the incompressible Navier–Stokes equations on noisy intermediate-scale quantum hardware by combining a classical pressure-projection step with a variational quantum solver for the pressure Poisson equation. A preconditioned variational approach, notably algebraic multigrid (AMG), improves the trainability and convergence of the quantum solver, while Hadamard-tree (HTree) readout enables efficient extraction of real-valued pressure states. The method is demonstrated on a 2D lid-driven cavity benchmark, with simulations on noise-free and IBM Q hardware showing high fidelity under modest noise and highlighting current hardware limitations for explicit time-stepping CFD on NISQ devices. Resource comparisons indicate VQE is the most practical quantum solver for near-term implementations, whereas VQLS and HHL face prohibitive requirements on NISQ hardware for this problem. This work advances practical quantum CFD by integrating preconditioning and real-valued readout to mitigate noise in a realistic hybrid setting, and it provides a path toward scalable quantum-assisted fluid dynamics on near-term devices, with code available under MIT license.
Abstract
Partial differential equation solvers are required to solve the Navier-Stokes equations for fluid flow. Recently, algorithms have been proposed to simulate fluid dynamics on quantum computers. Fault-tolerant quantum devices might enable exponential speedups over algorithms on classical computers. However, current and foreseeable quantum hardware introduce noise into computations, requiring algorithms that make judicious use of quantum resources: shallower circuit depths and fewer qubits. Under these restrictions, variational algorithms are more appropriate and robust. This work presents a hybrid quantum-classical algorithm for the incompressible Navier--Stokes equations. A classical device performs nonlinear computations, and a quantum one uses a variational solver for the pressure Poisson equation. A lid-driven cavity problem benchmarks the method. We verify the algorithm via noise-free simulation and test it on noisy IBM superconducting quantum hardware. Results show that high-fidelity results can be achieved via this approach, even on current quantum devices. Multigrid preconditioning of the Poisson problem helps avoid local minima and reduces resource requirements for the quantum device. A quantum state readout technique called HTree is used for the first time on a physical problem. Htree is appropriate for real-valued problems and achieves linear complexity in the qubit count, making the Navier-Stokes solve further tractable on current quantum devices. We compare the quantum resources required for near-term and fault-tolerant solvers to determine quantum hardware requirements for fluid simulations with complexity improvements.
