Hybrid CPU / QPU incompressible flow solver

The hybrid CPU/QPU method addresses the computational bottlenecks in incompressible fluid flow simulations by leveraging quantum computing to solve the Poisson equation, enhancing the efficiency of fluid dynamics computations and digital twin updates.

WO2024182006A1PCT designated stage expired Publication Date: 2024-09-06SIEMENS AG +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
PCT/US2023/063540
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The numerical resolution of incompressible fluid flow equations, particularly the Poisson equation for pressure, acts as a performance bottleneck in existing algorithms, hindering efficient computation in fluid dynamics problems.

Method used

A hybrid CPU/QPU approach is employed, where the CPU solves the Navier-Stokes or Euler equations using classical methods, and the QPU offloads the solution of the Poisson equation using either Hamiltonian simulation or Variational Quantum Algorithms to calculate the pressure vector, thereby overcoming computational bottlenecks.

Benefits of technology

This hybrid approach significantly reduces computational time, enabling rapid updates to digital twins and improving the efficiency of incompressible fluid solvers, particularly for large-scale problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2023063540_06092024_PF_FP
    Figure US2023063540_06092024_PF_FP
Patent Text Reader

Abstract

A method for solving partial differential equations in a fluid dynamics problem with an incompressible fluid, includes in a central processing unit (CPU), performing a first set of calculations from the set of PDEs, in a quantum processing unit (QPU), performing a second set of calculations from the set of PDEs, and solving for the solution to the PDEs based in the solution of the second set of calculations from the QPU. The set of PDEs may be a Navier Stokes or Euler equation. The second set of calculations performed on the QPU may calculate a pressure vector for the incompressible fluid. The pressure gradient may be calculated based on a Poisson problem. The Poisson problem may be solved using a Hamiltonian simulation or by using a Variational Quantum Algorithm (VQA). The second set of calculations may be performed in an external kernel routine executed by the QPU.
Need to check novelty before this filing date? Find Prior Art

Description

HYBRID CPU / QPU INCOMPRESSIBLE FLOW SOLVERTECHNICAL FIELD

[0001] This application relates to digital twins. More specifically, this application relates to the use of incompressible equations in fluid-based engineering problems.BACKGROUND

[0002] The construction of a Digital Twin for engineering problems involving fluids often require the numerical resolution of the incompressible Euler or Navier-Stokes equations. In order to advance such transport equations, an additional specific mathematical operation is required to enforce the incompressibility condition of the fluid: solving a Poisson equation for the pressure. The numerical resolution of the Poisson equation is a computational problem by itself and is often seen as a performance bottleneck in most algorithms designed to solve the incompressible flow equations.SUMMARY

[0003] A method for solving partial differential equations (PDEs) in a fluid dynamics problem with an incompressible fluid, comprising in a central processing unit (CPU), performing a first set of calculations from the set of PDEs, in a quantum processing unit (QPU), performing a second set of calculations from the set of PDEs, and solving for the solution to the PDEs based in the solution of the second set of calculations from the QPU. According to an embodiment, the set of PDEs is a Navier Stokes equation or a Euler equation. The second set of calculations performed on the QPU may calculate a pressure vector for the incompressible fluid. According to embodiments, the pressure gradient may be calculated based on a Poisson problem. The Poisson problem may be solved using aHamiltonian simulation or in the alternative may be solved using a Variational Quantum Algorithm (VQA). The second set of calculations may be performed in an external kernel routine executed by the QPU.

[0004] According to embodiments of the present invention, the solution to the set of PDEs may be used to update a digital twin of a design under test based on the solution to the PDEs. A design under test may be updated based on the results obtained from the updated digital twin.

[0005] A system for solving a set of partial differential equations (PDEs) in a fluid dynamics problem involving an incompressible fluid includes a computer having a central processing unit (CPU) in communication with a first non-transitory memory, a second computer having a quantum processing unit (QPU) in communication with a second non- transitory memory, a first set of computer executable instructions stored in the first non- transitory memory that when executed by the CPU cause the CPU to evaluate a first subset of the set of PDEs, and a second set of computer executable instructions stored in the second non-transitory memory that when executed by the QPU, cause the QPU to evaluate a second subset of the set of PDEs, wherein a result of the evaluation of the second subset of PDEs is provided to the first non-transitory memory and the CPU completes solving the set of PDEs based on the result.

[0006] According to an embodiment, the set of PDEs is a Navier Stokes equation or a Euler equation. The second set of calculations performed on the QPU may calculate a pressure vector for the incompressible fluid. According to embodiments, the pressure gradient may be calculated based on a Poisson problem. The Poisson problem may be solved using a Hamiltonian simulation or in the alternative may be solved using aVariational Quantum Algorithm (VQA). The second set of calculations may be performed in an external kernel routine executed by the QPU.BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The foregoing and other aspects of the present invention are best understood from the following detailed description when read in connection with the accompanying drawings. For the purpose of illustrating the invention, there is shown in the drawings embodiments that are presently preferred, it being understood, however, that the invention is not limited to the specific instrumentalities disclosed. Included in the drawings are the following Figures:

[0008] FIG. 1 is a flow diagram for solving a set of partial differential equations (PDEs) in a fluid dynamics problem involving an incompressible fluid according to embodiments of the present invention.

[0009] FIG. 2 is a block diagram of a computing system that may be configured for solving a set of partial differential equations (PDEs) in a fluid dynamics problem involving an incompressible fluid according to embodiments of the present invention.DETAILED DESCRIPTION

[0010] Many algorithms exist to solve linear systems, this is an active topic of research. Among the most popular are the Preconditioned Conjugate Gradient algorithm, the Jacobi and Gauss-Seidel methods, or the Multigrid Method. It should be noted that all these methods have pros and cons, and their performance depends on the problem to be solved. For example, a multigrid method will have trouble reaching convergence if the baseline mesh grid is already too coarse. One current active area of research is toimplement these methods on hybrid architectures provided by High-Performance Computational (HPC) centers, by taking advantage of hybrid CPU / GPU parallelization and concurrent computing.

[0011] Quantum computing is currently an extremely active area of research and development. The seminal ideas of building a computer based on the principles of quantum mechanics go back to the early 1980s, and the first theoretical algorithms demonstrating that a quantum computer could surpass classical processors were published in the middle of the 1990s. However, it is only recently that the first practical quantum computers were made available to the public. Today, many languages and frameworks have been developed to simulate or interact with a quantum computer (at present, more than one hundred simulators are available).

[0012] Embodiments of this disclosure introduce a quantum Poisson solver within a classical fluid dynamic solver. The Euler or Navier-Stokes equations are solved on a CPU with classical spatial and temporal discretization techniques, and the resolution of the Poisson equation is off-loaded on a QPU and solved by a quantum Poisson solver.

[0013] The efficient numerical resolution of the Poisson equation for pressure is a nontrivial computational challenge of itself because the pressure is the unknown physical variable that must be retrieved. Accordingly, a linear algebraic system of equations Ax=b must be solved, with A is the discretization matrix, x the pressure, and b a source term enforcing the incompressibility condition, i.e., V.u=0 where u is the velocity field.

[0014] Referring to FIG. 1 , a flow diagram for solving a fluid dynamics problem with an incompressible fluid according to aspects of embodiments of this disclosure is shown. A first computer processor based on a central processing unit 110 is provided along witha quantum computer running a quantum processing unit 120. A first set of calculations is performed within the CPU computer 1 10. These calculations may include the solution of fluid momentum in the fluid dynamics problem 1 1 1. To update the momentum field, an estimate of fluid pressure is necessary for solving some sets of PDEs, including solving Navier Stokes or Euler equations. The solving for a pressure gradient is non-trivial and may produce a bottleneck when trying to complete the evaluation of the incompressible fluid problem. For this reason, the solving of the pressure term is offloaded from the CPU 1 10 to the quantum computer 120. The pressure vector may be solved using a Poisson equation to solve a linear set of equations 123. The acquired solution to the Poisson equation 125 is provided back to the CPU computer 1 10 and the velocity fields are calculated by a Navier Stokes solution 1 13 using the new pressure measurements. The physical state is determined based on the updated velocity field 155 and is used as a baseline for the next momentum equation 1 1 1.

[0015] As depicted in FIG. 1 , software in computer 110 may be written in a language such as the C++ language, but the resolution of the Poisson equation 123 is off-loaded on a Quantum Processing Unit 120 for instance by calling an external kernel routine. This procedure is similar to the CUDA language used in hybrid CPU / GPU programming, which utilizes a specific kernel launched on GPU units. Embodiments of this disclosure leverage the power of quantum computing to solve the Poisson equation efficiently and provide a hybrid fluid dynamics solver that may be used within the context of a digital twin. This allows for rapid updating of the model during simulation.

[0016] Such quantum Poisson solver already exist in the literature. Actually, there are two different class, which correspond to two different approaches of quantum computing.On one hand, the Poisson equation can be solved with a Hamiltonian simulation through the well-known HHL algorithm. Theoretically, this quantum algorithm can provide an exponential speed-up compared to a classical algorithm. However, the HHL algorithm requires many qubits, which go beyond the limitation of quantum computers usable by the scientific community. As such, presently this approach can only be simulated on a classical computer until more powerful quantum computers will be made available. On another hand, the Variational Quantum Algorithm (VQA) proposes a different approach, where a small enough generic quantum circuit is iteratively trained to achieve the theoretical goal of the quantum algorithm. While this approach is not as mathematically rigorous as the HHL approach, it has the advantage of being able to run on today’s quantum computers.

[0017] In practice, the present disclosure discloses a hybrid classical / quantum solver to solve the incompressible Euler / Navier-Stokes equations. A hybrid programming and compilation framework such as the commercial Microsoft Q2 or the open-source QCOR funded by the US Department of Energy (DOE) is considered.

[0018] The technology presented in this Invention Disclosure is disruptive and provides an improvement to conventional incompressible fluid solvers. The use of Quantum Computing for practical Digital Twin applications is novel and theoretically, a significant speed-up of the computational time can be expected particularly for large problems.

[0019] As mentioned above, the HHL and the VQA approaches are both considered to assess the potential performance of the described embodiments, both theoretically and practically on a real quantum computer. It is expected that the practical use of the HHLalgorithm will be limited to quantum simulators, however the VQA may be executed on a practical quantum computer.

[0020] FIG. 2 illustrates an exemplary computing environment 200 within which embodiments of the invention may be implemented. Computers and computing environments, such as computer system 210 and computing environment 200, are known to those of skill in the art and thus are described briefly here.

[0021] As shown in FIG. 2, the computer system 210 may include a communication mechanism such as a system bus 221 or other communication mechanism for communicating information within the computer system 210. The computer system 210 further includes one or more processors 220 coupled with the system bus 221 for processing the information.

[0022] The processors 220 may include one or more central processing units (CPUs), graphical processing units (GPUs), a quantum processing unit (QPU) or any other processor known in the art. More generally, a processor as used herein is a device for executing machine-readable instructions stored on a computer readable medium, for performing tasks and may comprise any one or combination of, hardware and firmware. A processor may also comprise memory storing machine-readable instructions executable for performing tasks. A processor acts upon information by manipulating, analyzing, modifying, converting or transmitting information for use by an executable procedure or an information device, and / or by routing the information to an output device. A processor may use or comprise the capabilities of a computer, controller or microprocessor, for example, and be conditioned using executable instructions to perform special purpose functions not performed by a general-purpose computer. A processormay be coupled (electrically and / or as comprising executable components) with any other processor enabling interaction and / or communication there-between. A user interface processor or generator is a known element comprising electronic circuitry or software or a combination of both for generating display images or portions thereof. A user interface comprises one or more display images enabling user interaction with a processor or other device.

[0023] Continuing with reference to FIG. 2, the computer system 210 also includes a system memory 230 coupled to the system bus 221 for storing information and instructions to be executed by processors 220. The system memory 230 may include computer readable storage media in the form of volatile and / or nonvolatile memory, such as read only memory (ROM) 231 and / or random-access memory (RAM) 232. The RAM 232 may include other dynamic storage device(s) (e.g., dynamic RAM, static RAM, and synchronous DRAM). The ROM 231 may include other static storage device(s) (e.g., programmable ROM, erasable PROM, and electrically erasable PROM). In addition, the system memory 230 may be used for storing temporary variables or other intermediate information during the execution of instructions by the processors 220. A basic input / output system 233 (BIOS) containing the basic routines that help to transfer information between elements within computer system 210, such as during start-up, may be stored in the ROM 231 . RAM 232 may contain data and / or program modules that are immediately accessible to and / or presently being operated on by the processors 220. System memory 230 may additionally include, for example, operating system 234, application programs 235, other program modules 236 and program data 237.

[0024] The computer system 210 also includes a disk controller 240 coupled to the system bus 221 to control one or more storage devices for storing information and instructions, such as a magnetic hard disk 241 and a removable media drive 242 (e.g., floppy disk drive, compact disc drive, tape drive, and / or solid-state drive). Storage devices may be added to the computer system 210 using an appropriate device interface (e.g., a small computer system interface (SCSI), integrated device electronics (IDE), Universal Serial Bus (USB), or FireWire).

[0025] The computer system 210 may also include a display controller 265 coupled to the system bus 221 to control a display or monitor 266, such as a cathode ray tube (CRT) or liquid crystal display (LCD), for displaying information to a computer user. The computer system includes an input interface 260 and one or more input devices, such as a keyboard 262 and a pointing device 261 , for interacting with a computer user and providing information to the processors 220. The pointing device 261 , for example, may be a mouse, a light pen, a trackball, or a pointing stick for communicating direction information and command selections to the processors 220 and for controlling cursor movement on the display 266. The display 266 may provide a touch screen interface which allows input to supplement or replace the communication of direction information and command selections by the pointing device 261. In some embodiments, an augmented reality device 267 that is wearable by a user, may provide input / output functionality allowing a user to interact with both a physical and virtual world. The augmented reality device 267 is in communication with the display controller 265 and the user input interface 260 allowing a user to interact with virtual items generated in the augmented reality device 267 by the display controller 265. The user may also providegestures that are detected by the augmented reality device 267 and transmitted to the user input interface 260 as input signals.

[0026] The computer system 210 may perform a portion or all of the processing steps of embodiments of the invention in response to the processors 220 executing one or more sequences of one or more instructions contained in a memory, such as the system memory 230. Such instructions may be read into the system memory 230 from another computer readable medium, such as a magnetic hard disk 241 or a removable media drive 242. The magnetic hard disk 241 may contain one or more datastores and data files used by embodiments of the present invention. Datastore contents and data files may be encrypted to improve security. The processors 220 may also be employed in a multiprocessing arrangement to execute the one or more sequences of instructions contained in system memory 230. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions. Thus, embodiments are not limited to any specific combination of hardware circuitry and software.

[0027] As stated above, the computer system 210 may include at least one computer readable medium or memory for holding instructions programmed according to embodiments of the invention and for containing data structures, tables, records, or other data described herein. The term “computer readable medium” as used herein refers to any medium that participates in providing instructions to the processors 220 for execution. A computer readable medium may take many forms including, but not limited to, non- transitory, non-volatile media, volatile media, and transmission media. Non-limiting examples of non-volatile media include optical disks, solid state drives, magnetic disks, and magneto-optical disks, such as magnetic hard disk 241 or removable media drive242. Non-limiting examples of volatile media include dynamic memory, such as system memory 230. Non-limiting examples of transmission media include coaxial cables, copper wire, and fiber optics, including the wires that make up the system bus 221 . Transmission media may also take the form of acoustic or light waves, such as those generated during radio wave and infrared data communications.

[0028] The computing environment 200 may further include the computer system 210 operating in a networked environment using logical connections to one or more remote computers, such as remote computing device 280. Remote computing device 280 may be a personal computer (laptop or desktop), a mobile device, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to computer system 210. When used in a networking environment, computer system 210 may include modem 272 for establishing communications over a network 271 , such as the Internet. Modem 272 may be connected to system bus 221 via user network interface 270, or via another appropriate mechanism.

[0029] Network 271 may be any network or system generally known in the art, including the Internet, an intranet, a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a direct connection or series of connections, a cellular telephone network, or any other network or medium capable of facilitating communication between computer system 210 and other computers (e.g., remote computing device 280). The network 271 may be wired, wireless or a combination thereof. Wired connections may be implemented using Ethernet, Universal Serial Bus (USB), RJ- 6, or any other wired connection generally known in the art. Wireless connections may be implemented using Wi-Fi, WiMAX, and Bluetooth, infrared, cellular networks, satellite orany other wireless connection methodology generally known in the art. Additionally, several networks may work alone or in communication with each other to facilitate communication in the network 271 .

[0030] An executable application, as used herein, comprises code or machine- readable instructions for conditioning the processor to implement predetermined functions, such as those of an operating system, a context data acquisition system or other information processing system, for example, in response to user command or input.

[0031] An executable procedure is a segment of code or machine-readable instruction, sub-routine, or other distinct section of code or portion of an executable application for performing one or more particular processes. These processes may include receiving input data and / or parameters, performing operations on received input data and / or performing functions in response to received input parameters, and providing resulting output data and / or parameters.

[0032] A graphical user interface (GUI), as used herein, comprises one or more display images, generated by a display processor and enabling user interaction with a processor or other device and associated data acquisition and processing functions. The GUI also includes an executable procedure or executable application. The executable procedure or executable application conditions the display processor to generate signals representing the GUI display images. These signals are supplied to a display device which displays the image for viewing by the user. The processor, under control of an executable procedure or executable application, manipulates the GUI display images in response to signals received from the input devices. In this way, the user may interactwith the display image using the input devices, enabling user interaction with the processor or other device.

[0033] The functions and process steps herein may be performed automatically or wholly or partially in response to user command. An activity (including a step) performed automatically is performed in response to one or more executable instructions or device operation without user direct initiation of the activity.

[0034] The system and processes of the figures are not exclusive. Other systems, processes and menus may be derived in accordance with the principles of the invention to accomplish the same objectives. Although this invention has been described with reference to particular embodiments, it is to be understood that the embodiments and variations shown and described herein are for illustration purposes only. Modifications to the current design may be implemented by those skilled in the art, without departing from the scope of the invention. As described herein, the various systems, subsystems, agents, managers and processes can be implemented using hardware components, software components, and / or combinations thereof.

Claims

CLAIMSWhat is claimed is:1 . A method for solving partial differential equations (PDEs) in a fluid dynamics problem with an incompressible fluid, comprising: in a central processing unit (CPU), performing a first set of calculations from the set of PDEs; in a quantum processing unit (QPU), performing a second set of calculations from the set of PDEs; and solving for the solution to the PDEs based in the solution of the second set of calculations from the QPU.

2. The method of Claim 1 , wherein the set of PDEs is a Navier Stokes equation.

3. The method of Claim 1 , wherein the set of PDEs is a Euler equation.

4. The method of Claim 2, wherein the second set of calculations calculates a pressure vector for the incompressible fluid.

5. The method of Claim 4, wherein the second set of calculations comprises computing a Poisson equation.

6. The method of Claim 5, further comprising performing the second set of calculations using a Hamiltonian simulation.

7. The method of Claim 5, further comprising performing the second set of calculations using a Variational Quantum Algorithm (VQA).

8. The method of Claim 1 , wherein the second set of calculations is performed in an external kernel routine executed by the QPU.

9. The method of Claim 1 , further comprising: updating a digital twin of a design under test based on the solution to the PDEs.

10. The method of Claim 9, further comprising: implementing the design under test based on an output of the updated digital twin.

11. A system for solving a set of partial differential equations (PDEs) in a fluid dynamics problem involving an incompressible fluid, the system comprising: a computer having a central processing unit (CPU) in communication with a first non-transitory memory; a second computer having a quantum processing unit (QPU) in communication with a second non-transitory memory; a first set of computer executable instructions stored in the first non-transitory memory that when executed by the CPU cause the CPU to evaluate a first subset of the set of PDEs; and a second set of computer executable instructions stored in the second non- transitory memory that when executed by the QPU, cause the QPU to evaluate a second subset of the set of PDEs, wherein a result of the evaluation of the second subset of PDEs is provided to the first non-transitory memory and the CPU completes solving the set of PDEs based on the result.

12. The method of Claim 11 , wherein the set of PDEs is a Navier Stokes equation.

13. The method of Claim 11 , wherein the set of PDEs is a Euler equation.

14. The method of Claim 12, wherein the second subset of PDEs calculates a pressure vector for the incompressible fluid.

15. The method of Claim 14, wherein the second subset of PDEs comprises computing a Poisson equation.

16. The method of Claim 15, further comprising performing the second subset of PDEs using a Hamiltonian simulation.

17. The method of Claim 15, further comprising performing the second subset of PDEs using a Variational Quantum Algorithm (VQA).

18. The method of Claim 11 , wherein the second subset of PDEs is performed in an external kernel routine executed by the QPU.

19. The method of Claim 11 , further comprising: updating a digital twin of a design under test based on the solution to the PDEs.

20. The method of Claim 19, further comprising: implementing the design under test based on an output of the updated digital twin.

Citation Information

Cited By

  • Ocean current forecasting and visualization method based on digital twinning

    CN122115768A