Variational quantum algorithms for acoustics solver
The Variational Quantum Eigensolver algorithm addresses the inefficiencies of classical methods in solving acoustics problems by using a hybrid quantum-classical approach to efficiently compute acoustic energy and modes, reducing computational time and resources for complex systems.
Patent Information
- Application Number
- PCT/US2023/063631
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-03
- Publication Date
- 2024-09-12
AI Technical Summary
Current classical algorithms for solving acoustics problems, such as the Helmholtz equation, face challenges in efficiency and computational resources, especially when dealing with complex systems and high-frequency modes, which are difficult to simulate accurately and quickly.
A hybrid quantum-classical approach using the Variational Quantum Eigensolver (VQE) algorithm, where a quantum processing unit (QPU) estimates the quantum state of a system, decomposed into Pauli terms, which are then optimized on a central processing unit (CPU) to find the lowest eigenvalue representing acoustic energy, allowing for efficient computation of acoustic modes across a frequency spectrum.
This method significantly reduces computational time and resources required for solving acoustics problems, particularly for large and complex systems, by leveraging quantum computing to find the ground state energy and noise levels or structural vibrations efficiently.
Smart Images

Figure US2023063631_12092024_PF_FP
Abstract
Description
VARIATIONAL QUANTUM ALGORITHMS FOR ACOUSTICS SOLVERTECHNICAL FIELD
[0001] This application relates to numerical analysis using quantum computing.BACKGROUND
[0002] Many industrial applications involve acoustics problems, for example for the estimation of noise produced by a machine, or the structural vibrations induced by a system. The prediction of these phenomena is very useful for engineers at the design stage where numerical simulations are helpful for reducing costs and easily exploring “what-if” scenarios.
[0003] Acoustics involve the propagation of waves which repeat over a period of oscillation. An efficient way of simulating acoustics problems is to solve the Helmholtz equation in the frequency domain as an eigenvalue problem. The Helmholtz equation may be recast in the form of the equation M v = Av, where M is a matrix that contains the numerical discretization of the Laplacian operator, and v and A are the eigenvectors and eigenvalues, respectively.
[0004] Some classical algorithms exist to solve the equation M v = Av . They may define a cost O(n2) or 0(n3), having a cubic or quadratic convergence. Every algorithm presents pros and cons, and the choice of an algorithm for solving acoustic problems is not trivial and depends on the complexity of the system involved. Additional considerations focus on many numerical parameters to control convergence and performance of the algorithm.SUMMARY
[0005] Embodiments of the present application present a method for simulating acoustical phenomena in a system. In a hybrid system comprising a first quantum computing device having a quantum processing unit (QPU) and a second computing device having a central processing unit (CPU) an original quantum state of the system is estimated in the QPU. The quantum state is decomposed into a set of expected values of a plurality of Pauli terms in the QPU. Then, in a general-purpose computer having a CPU the calculated plurality of Pauli terms is summed. The result of the sum is optimized in the general-purpose computer to generate an updated set of parameters representative of the quantum state of the system. Iteratively the quantum state is updated and optimized to generate a lowest eigenvalue for the system representing the base acoustic energy of the system. The quantum state of the system comprises a set of quantum gates that perform rotation of a plurality of qubits based on a set of optimized parameters. The summing of the plurality of Pauli terms represents a Hamiltonian of the system. The ground state of the acoustic energy may be calculated repeatedly over a frequency spectrum in the frequency domain. The optimization procedure may include a penalty term for converging on a solution for the updated set of parameters. Calculating across the frequency spectrum allows for computing a plurality of acoustic modes of the system based on their associated energies.
[0006] Exemplary methods solve a Helmholtz equation in the frequency domain as an eigenvalue problem by reducing the Helmholtz to:M v= Avwhere M is a matrix that contains a numerical discretization of the Laplacian operator, v is the eigen vector and A is the eigenvalue.
[0007] In a method for estimating acoustic energy for a system a quantum state of the system is represented in a quantum computer. The representation of the quantum state is decomposed into a plurality of Pauli terms in the quantum computer which are provided to a general-purpose computer. The general-purpose computer sums the plurality of Pauli terms to compute a Hamiltonian of the system. The quantum state representation in the quantum computer is updated using parameters derived from optimization of the Hamiltonian in the general-purpose computer. The quantum state of the system is deployed in an Ansatz of the quantum computer: Each of the plurality of Pauli terms comprises a 2 x 2 matrix containing values of zero or one. and each of the plurality of Pauli terms is generated as an expectation value of the Hamiltonian of the system as a quantum basis. The smallest eigenvector of the represented quantum state of the system to minimize an expectation value of the global Hamiltonian which is used to identify the acoustic energy of the system as the minimized global Hamiltonian. The identified may be used to estimate a noise level for the system or to estimate a structural vibration induces by the system. The Hamiltonian may be represented as a matrix representing a spatial discretization of a Laplacian operator. Parameters in the matrix may be iteratively optimized to represent the quantum state of the system until the value of a cost function used in the optimization is below a pre-determined threshold.BRIEF DESCRIPTION OF THE DRAWINGS
[0008] 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:
[0009] FIG. 1 is a block diagram of a hybrid quantum / general-purpose computer architecture for determining acoustic energy for a system according to aspects of embodiments in this disclosure.
[0010] FIG. 2 is an illustration of a matrix representing a Hamiltonian of a system according to aspects of embodiments of this disclosure.
[0011] FIG. 3 is a process flow diagram for determining the acoustic energy of a system according to aspects of embodiments of this disclosure.
[0012] FIG. 4 is a block diagram of a computing platform that may be used to implement methods of calculating the acoustic energy of a system according to aspects of embodiments of the present disclosure.DETAILED DESCRIPTION
[0013] The present idea proposes to investigate the implementation of a Quantum Computing algorithm to solve the Helmholtz derived M v = Av equation, referred to herein as the Variational Quantum Eigensolver (VQE). This algorithm originates from chemistry where it is used to determine the ground state energy of the Hamiltonian ofmolecules. Accordingly, if an acoustic system can be represented as a Hamiltonian, it may also be solved as an eigenvalue problem using the VQE algorithm. To this end, the Hamiltonian is simply represented as a matrix representing the spatial discretization of the Laplacian operator. This may be computed using for example a finite-difference of finite-element methods. An example of such matrix is shown in Error! Reference source not found..The VQE is a hybrid classical / quantum computing approach and is similar to some machine learning methods. A generic quantum circuit, called an ansatz, is iteratively trained with a classical algorithm (for example gradient descent) to minimize a cost function that defines the lowest amplitude of the eigenvalue that corresponds to the ground state energy. Such a task could be performed with other algorithms such as the Quantum Phase Estimation algorithm, but this would require large computational resources that are currently not yet available on practical quantum computers. Presently the field of quantum computing is in the Noisy Intermediate-Scale Quantum (NISQ) era. For this reason, the VQE is well adapted because it utilizes circuits having small size having a limited number of quantum gates. Accordingly, the VQE makes computation less sensitive to decoherence of qubits or perturbation by exterior noise.In other terms, the goal of the VQE is to define the parameters of the Ansatz that encode a quantum state corresponding to the lowest energy of the system when projected on the Hamiltonian. In practice, the Hamiltonian is not directly employed, but rather decomposed as a sum of Pauli operators. Pauli operators are just simple 2x2 matrices comprising values of 0 and 1 . This decomposition is well suited for quantum computing, because each of these matrices represents a practical quantum basis wherethe expectation value of the Hamiltonian is measured by the quantum computer. As a tensor product, the expectation value of each Pauli operator can be directly added to retrieve the expectation value of the global Hamiltonian. Subsequently, the eigenvector of the quantum state that minimizes the expectation value of the global Hamiltonian corresponds to the eigenvector that has the smallest eigenvalue (the acoustic energy in this case).
[0014] FIG. 1 is a block representation of a quantum variational eigensolver 100 according to aspects of embodiments described in this disclosure. The architecture is a hybrid architecture that includes a first quantum computing device having a quantum processing unit (QPU) 1 10 and a second computing device using a conventional central processing unit (CPU) 120. An initial quantum state of the system under observation 1 11 is provided by the quantum computer’s Ansatz, which is composed of quantum gates that perform rotations of qubits according to a set of parameters. The parameters may be established through a classical optimization technique. The initial quantum state is an intermediate quantum state that will be iteratively updated to solve the eigenvalue problem for the system.
[0015] In the QPU computing device 1 10, a series of quantum modules 1-N 112i - 1 12N calculate an expected value for a corresponding set of Pauli terms denoted <HX> 105i - 105N. The expected Pauli Terms 1 05I-105N are provided to the second CPU computing device 120 and summed using a classical adder module 121. The resultant sum 122 represents the Hamiltonian of the system, which can be optimized using a classical optimization technique 123 to produce an updated set of parameters 130 which are used to update the quantum state of the system 11 1. The process may beiteratively performed until a cost function associated with the classical optimization technique 123 calculates to a value that is below a pre-determined threshold.
[0016] In order to run the process depicted in FIG. 1 , the quantum state 1 11 must be a simple quantum circuit using few quantum gates and qubits in order to be practicable on NISQ-era computers that are currently available. Embodiments of this disclosure provide a generic circuit that operates on any kind of Hamiltonian to build the representation of the quantum state 11 1.
[0017] It may be noted that the VQE 100 is initially aimed to find the lowest eigenvalue of the energy of a system. Because an acoustic problem is represented by the composition of multiple modes of vibration, the VQE 100 is extended to compute eigenvalues corresponding to the higher frequencies of the spectra. To this end, embodiment of the present Invention may impose a penalty term on the cost function employed during the minimization process 123 of the variational problem.
[0018] FIG. 3 is a process flow diagram for a method of determining the acoustic energy of a system using a hybrid quantum / general-purpose computer according to aspects of embodiments of this disclosure. An initial quantum state for the system is created in a representation in the quantum computer 301. The initial quantum state is decomposed in the quantum computer into a plurality of Pauli terms 303. Each Pauli term is representable as a 2 x 2 matrix containing values of either zero or one. The plurality of Pauli terms IS provided to a general-purpose computer where the Pauli terms are summed to compute a global Hamiltonian of the system 305. A conventional optimization technique is used to optimize the values of parameters for the Hamiltonian 307. If the optimization is converged, for example by observing a value of a costfunction of the optimization to fall below a pre-determined threshold 309, then the eigenvalue problem of the Hamiltonian is solved to determine the ground acoustic energy of the system 31 1. If the optimization is not complete, then the quantum state is updated in the quantum computer 319 and the Hamiltonian is recomputed.
[0019] When the eigenvalue problem is solved, it is determined if additional frequencies will be checked 313. Because an acoustic problem is represented by the composition of multiple modes of vibration, method may be extended to compute eigenvalues corresponding to higher frequencies of the spectra.
[0020] It will be noted that in practice, many programming frameworks propose APIs to perform VQE easily without directly programming quantum circuits. IBM’s QISKIT is one of the best-known options, but for example the TEQUILA framework proposes a Python API specifically for solving Variational Quantum algorithms problems. In other terms, once the form of the Hamiltonian is found, as well as its decomposition in Pauli operators as provided in embodiments of this disclosure, the actual implementation of a VQE solver is straightforward with such open-source or free APIs.
[0021] The use of Quantum Computing to develop an acoustic solver is novel. Some attempts have been done to compute the wave equation in the temporal domain via Hamiltonian simulations or for electromagnetism problems with VQE, but the resolution in the frequency domain has not been done yet to compute acoustic modes of a system and their associated energies. Moreover, from a theoretical point of view it has been demonstrated that Variational Quantum algorithms can provide a significant reduction in the computational time for large problems compared to classical approaches. The quantum acoustic solver proposed here can efficiently compute high-frequency modeson large and complex domains, where the associated large discretization matrices are typically difficult to solve with classical computers.
[0022] FIG. 4 illustrates an exemplary computing environment 400 within which embodiments of the invention may be implemented. Computers and computing environments, such as computer system 410 and computing environment 400, are known to those of skill in the art and thus are described briefly here.
[0023] As shown in FIG. 4, the computer system 410 may include a communication mechanism such as a system bus 421 or other communication mechanism for communicating information within the computer system 410. The computer system 410 further includes one or more processors 420 coupled with the system bus 421 for processing the information.
[0024] The processors 420 may include one or more central processing units (CPUs), graphical processing units (GPUs), quantum processing units (QPUs), 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-purposecomputer. A processor may be coupled (electrically and / or as comprising executable components) with any other processor enabling interaction and / or communication therebetween. 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.
[0025] Continuing with reference to FIG. 4, the computer system 410 also includes a system memory 430 coupled to the system bus 421 for storing information and instructions to be executed by processors 420. The system memory 430 may include computer readable storage media in the form of volatile and / or nonvolatile memory, such as read only memory (ROM) 431 and / or random-access memory (RAM) 432. The RAM 432 may include other dynamic storage device(s) (e.g., dynamic RAM, static RAM, and synchronous DRAM). The ROM 431 may include other static storage device(s) (e.g., programmable ROM, erasable PROM, and electrically erasable PROM). In addition, the system memory 430 may be used for storing temporary variables or other intermediate information during the execution of instructions by the processors 420. A basic input / output system 433 (BIOS) containing the basic routines that help to transfer information between elements within computer system 410, such as during start-up, may be stored in the ROM 431. RAM 432 may contain data and / or program modules that are immediately accessible to and / or presently being operated on by the processors 420. System memory 430 may additionally include, for example, operating system 434, application programs 435, other program modules 436 and program data437.
[0026] The computer system 410 also includes a disk controller 440 coupled to the system bus 421 to control one or more storage devices for storing information and instructions, such as a magnetic hard disk 441 and a removable media drive 442 (e.g., floppy disk drive, compact disc drive, tape drive, and / or solid-state drive). Storage devices may be added to the computer system 410 using an appropriate device interface (e.g., a small computer system interface (SCSI), integrated device electronics (IDE), Universal Serial Bus (USB), or FireWire).
[0027] The computer system 410 may also include a display controller 465 coupled to the system bus 421 to control a display or monitor 466, 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 460 and one or more input devices, such as a keyboard 462 and a pointing device 461 , for interacting with a computer user and providing information to the processors 420. The pointing device 461 , 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 420 and for controlling cursor movement on the display 466. The display 466 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 461 . In some embodiments, an augmented reality device 467 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 467 is in communication with the display controller 465 and the user input interface 460 allowing a user to interact with virtual items generated in the augmented reality device 467 by the display controller 465. The user may also providegestures that are detected by the augmented reality device 467 and transmitted to the user input interface 460 as input signals.
[0028] The computer system 410 may perform a portion or all of the processing steps of embodiments of the invention in response to the processors 420 executing one or more sequences of one or more instructions contained in a memory, such as the system memory 430. Such instructions may be read into the system memory 430 from another computer readable medium, such as a magnetic hard disk 441 or a removable media drive 442. The magnetic hard disk 441 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 420 may also be employed in a multi-processing arrangement to execute the one or more sequences of instructions contained in system memory 430. 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.
[0029] As stated above, the computer system 410 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 420 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. Nonlimiting examples of non-volatile media include optical disks, solid state drives, magnetic disks, and magneto-optical disks, such as magnetic hard disk 441 or removable mediadrive 442. Non-limiting examples of volatile media include dynamic memory, such as system memory 430. Non-limiting examples of transmission media include coaxial cables, copper wire, and fiber optics, including the wires that make up the system bus 421. Transmission media may also take the form of acoustic or light waves, such as those generated during radio wave and infrared data communications.
[0030] The computing environment 400 may further include the computer system 410 operating in a networked environment using logical connections to one or more remote computers, such as remote computing device 480. Remote computing device 480 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 410. When used in a networking environment, computer system 410 may include modem 472 for establishing communications over a network 471 , such as the Internet. Modem 472 may be connected to system bus 421 via user network interface 470, or via another appropriate mechanism.
[0031] Network 471 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 410 and other computers (e.g., remote computing device 480). The network 471 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 or any 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 471 .
[0032] 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. 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.
[0033] 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, theuser may interact with the display image using the input devices, enabling user interaction with the processor or other device.
[0034] 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.
[0035] 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. No claim element herein is to be construed under the provisions of 35 U.S.C. 1 12, sixth paragraph, unless the element is expressly recited using the phrase “means for.”
Claims
CLAIMSWhat is claimed is:1 . A method for simulating acoustical phenomena in a system comprising: in a hybrid system comprising a first quantum computing device having a quantum processing unit (QPU) and a second computing device having a central processing unit (CPU): estimating a set of parameters representative of an original quantum state of the system in the QPU; calculating expected values of a plurality of Pauli terms in the QPU; summing the calculated plurality of Pauli terms in the CPU; performing an optimization to generate an updated set of parameters representative of the quantum state of the system; and iteratively performing the steps of calculating, summing and optimizing until a cost function of the optimization is below a predetermined threshold.
2. The method of Claim 1 , wherein the quantum state of the system comprises a set of quantum gates that perform rotation of a plurality of qubits based on a set of optimized parameters.
3. The method of Claim 1 , wherein summing the plurality of Pauli terms represents a Hamiltonian of the system.
4. The method of Claim 1 , wherein the method is repeated over a frequency spectrum in the frequency domain.
5. The method of Claim 5, wherein the optimization is configured to find a lowest eigenvalue of an energy of the system.
6. The method of Claim 6, further comprising: computing eigenvalues in higher frequencies in the frequency spectrum.
7. The method of Claim 1 , wherein the optimization includes a penalty term for converging on a solution for the updated set of parameters.
8. The method of Claim 1 , further comprising: computing a plurality of acoustic modes of the system based on their associated energies.
9. The method of Claim 1 , further comprising: solving a Helmholtz equation in the frequency domain as an eigenvalue problem.
10. The method of Claim 9, wherein the Helmholtz equation is reduced to:M v = Av where M is a matrix that contains a numerical discretization of the Laplacian operator, v is the eigen vector and A is the eigenvalue.1 1 . A method for estimating acoustic energy for a system comprising: representing a quantum state of the system in a quantum computer; decomposing the representation of the quantum state into a plurality of Pauli terms in the quantum computer; summing the plurality of Pauli terms in a general-purpose computer to compute a Hamiltonian of the system; and updating the quantum state representation in the quantum computer based on an optimization of the Hamiltonian in the general-purpose computer.
12. The method of Claim 1 1 , further comprising:representing the quantum state of the system in an Ansatz of the quantum computer:
13. The method of Claim 1 1 , wherein each of the plurality of Pauli terms comprises a 2 x 2 matrix containing values of zero or one.
14. The method of Claim 13, defining each of the plurality of Pauli terms as an expectation value of the Hamiltonian of the system as a quantum basis.
15. The method of Claim 1 1 , further comprising: computing a smallest eigenvector of the represented quantum state of the system to minimize an expectation value of the global Hamiltonian; and identifying the acoustic energy of the system as the minimized global Hamiltonian.
16. The method of Claim 15, further comprising: applying the identified acoustic energy to estimate a noise level for the system.
17. The method of Claim 15, further comprising: applying the identified acoustic energy to estimate a structural vibration induces by the system.
18. The method of Claim 1 1 , wherein the Hamiltonian is represented as a matrix representing a spatial discretization of a Laplacian operator.
19. The method of Claim 1 1 , further comprising: iteratively optimizing and updating the representation of the quantum state of the system until the value of a cost function used in the optimization is below a predetermined threshold.
20. The method of Claim 1 1 , further comprising:computing the acoustic energy at a plurality of frequencies in a frequency spectrum.
