Investigating hardware acceleration for simulation of CFD quantum circuits

Moawad, Y., Vanderbauwhede, W. and Steijl, R. (2022) Investigating hardware acceleration for simulation of CFD quantum circuits. Frontiers in Mechanical Engineering, 8, 925637. (doi: 10.3389/fmech.2022.925637)

[img] Text
276765.pdf - Published Version
Available under License Creative Commons Attribution.



Among the many computational models for quantum computing, the Quantum Circuit Model is the most well-known and used model for interacting with current quantum hardware. The practical implementation of quantum computers is a very active research field. Despite this progress, access to physical quantum computers remains relatively limited. Furthermore, the existing machines are susceptible to random errors due to quantum decoherence, as well as being limited in number of qubits, connectivity and built-in error correction. Simulation on classical hardware is therefore essential to allow quantum algorithm researchers to test and validate new algorithms in a simulated-error environment. Computing systems are becoming increasingly heterogeneous, using a variety of hardware accelerators to speed up computational tasks. One such type of accelerators, Field Programmable Gate Arrays (FPGAs), are reconfigurable circuits that can be programmed using standardized high-level programming models such as OpenCL and SYCL. FPGAs allow to create specialized highly-parallel circuits capable of mimicking the quantum parallelism properties of quantum gates, in particular for the class of quantum algorithms where many different computations can be performed concurrently or as part of a deep pipeline. They also benefit from very high internal memory bandwidth. This paper focuses on the analysis of quantum algorithms for applications in computational fluid dynamics. In this work we introduce novel quantum-circuit implementations of model lattice-based formulations for fluid dynamics, specifically the D1Q3 model using quantum computational basis encoding, as well as, efficient simulation of the circuits using FPGAs. This work forms a step toward quantum circuit formulation of the Lattice Boltzmann Method (LBM). For the quantum circuits implementing the nonlinear equilibrium distribution function in the D1Q3 lattice model, it is shown how circuit transformations can be introduced that facilitate the efficient simulation of the circuits on FPGAs, exploiting their fine-grained parallelism. We show that these transformations allow us to exploit more parallelism on the FPGA and improve memory locality. Preliminary results show that for this class of circuits the introduced transformations improve circuit execution time. We show that FPGA simulation of the reduced circuits results in more than 3× improvement in performance per Watt compared to the CPU simulation. We also present results from evaluating the same kernels on a GPU.

Item Type:Articles
Additional Information:This work was supported by a PhD studentship from the College of Science and Engineering at the University of Glasgow.
Glasgow Author(s) Enlighten ID:Moawad, Youssef and Vanderbauwhede, Professor Wim and Steijl, Dr Rene
Authors: Moawad, Y., Vanderbauwhede, W., and Steijl, R.
College/School:College of Science and Engineering > School of Computing Science
College of Science and Engineering > School of Engineering > Autonomous Systems and Connectivity
Journal Name:Frontiers in Mechanical Engineering
Publisher:Frontiers Media
ISSN (Online):2297-3079
Copyright Holders:Copyright © 2022 Moawad, Vanderbauwhede and Steijl
First Published:First published Frontiers in Mechanical Engineering in 8: 925637
Publisher Policy:Reproduced under a Creative Commons License

University Staff: Request a correction | Enlighten Editors: Update this record