ACCELERATED MOLECULAR DYNAMICS SIMULATION METHOD ON A QUANTUM-CLASSICAL HYBRID COMPUTING SYSTEM
A method of performing computation using a hybrid quantum-classical computing system comprising a classical computer, a system controller, and a quantum processor includes identifying, by use of the classical computer, a molecular dynamics system to be simulated, computing, by use of the classical computer, multiple energies associated with particles of the molecular dynamics system as part of the simulation, based on the Ewald summation method, the computing of the multiple energies comprising partially offloading the computing of the multiple energies to the quantum processor, and outputting, by use of the classical computer, a physical behavior of the molecular dynamics system determined from the computed multiple energies.
This application claims the benefit to U.S. Provisional Application No. 63/214,200, filed Jun. 23, 2021, which is incorporated by reference herein.
BACKGROUND FieldThe present disclosure generally relates to a method of performing computations in a hybrid computing system, and more specifically, to a method of obtaining energies of a physical system having interacting particles by molecular dynamics (MD) simulations performed in a hybrid computing system that includes a classical computer and quantum computer, where the quantum computer operates based on a group of trapped ions and the hybrid computing system can be referred to as a hybrid quantum-classical computing system.
Description of the Related ArtIn quantum computing, quantum bits or qubits, which are analogous to bits representing a “0” and a “1” in a classical (digital) computer, are required to be prepared, manipulated, and measured (read-out) with near perfect control during a computation or computation process. Imperfect control of the qubits leads to errors that can accumulate over the computation process, limiting the size of a quantum computer that can perform reliable computations.
Among the types of physical systems or qubit technologies upon which it is proposed to build large-scale quantum computers, is a group of ions (e.g., charged atoms), which are trapped and suspended in vacuum by electromagnetic fields. The ions have internal hyperfine states which are separated by frequencies in the several GHz range and can be used as the computational states of a qubit (referred to as “qubit states”). These hyperfine states can be controlled using radiation provided from a laser, or sometimes referred to herein as the interaction with laser beams. The ions can be cooled to near their motional ground states using such laser interactions. The ions can also be optically pumped to one of the two hyperfine states with high accuracy (preparation of qubits), manipulated between the two hyperfine states (single-qubit gate operations) by laser beams, and their internal hyperfine states detected by fluorescence upon application of a resonant laser beam (read-out of qubits). A pair of ions can be controllably entangled (two-qubit gate operations) by qubit-state dependent force using laser pulses that couple the ions to the collective motional modes of a group of trapped ions, which arise from their Coulombic interaction between the ions. In general, entanglement occurs when pairs or groups of ions (or particles) are generated, interact, or share spatial proximity in ways such that the quantum state of each ion cannot be described independently of the quantum state of the others, even when the ions are separated by a large distance.
Quantum computers have been shown to improve the performance of certain computational tasks when compared to what classical computers can do, including simulations of physical systems. In molecular dynamics (MD) simulations of interacting particle N, inter-particle interaction energies, including long-range interactions, are calculated. This leads to the computational complexity (i.e., the number of computational steps in the simulations) that scales as O(N2) as the number of interacting particle N increases. Even when an efficient method is used, such as the Ewald summation method, the computational complexity in calculating the long-range interactions scales as O(N3/2).
Therefore, there is a need for alleviating the computational complexity in MD simulations, in particular in an efficient method for MD simulation, such as the Ewald summation method.
SUMMARYEmbodiments of the present disclosure provide a method of performing computation using a hybrid quantum-classical computing system comprising a classical computer, a system controller, and a quantum processor. The method includes identifying, by use of the classical computer, a molecular dynamics system to be simulated, computing, by use of the classical computer, multiple energies associated with particles of the molecular dynamics system as part of the simulation, based on the Ewald summation method, the computing of the multiple energies comprising partially offloading the computing of the multiple energies to the quantum processor, and outputting, by use of the classical computer, a physical behavior of the molecular dynamics system determined from the computed multiple energies.
Embodiments of the present disclosure also provide a hybrid quantum-classical computing system. The hybrid quantum-classical computing system includes a quantum processor comprising a first register formed of a plurality of qubits, a second register formed of a plurality of qubits, and a third register formed of a plurality of qubits, each qubit comprising a trapped ion having two hyperfine states, one or more lasers configured to emit a laser beam, which is provided to trapped ions in the quantum processor, a classical computer configured to perform operations, and a system controller configured to execute a control program to control the one or more lasers to perform operations on the quantum processor based on the offloaded computing of the multiple energies. The operations include identifying, by use of the classical computer, a molecular dynamics system to be simulated, computing, by use of the classical computer, multiple energies associated with particles of the molecular dynamics system as part of the simulation, based on the Ewald summation method, the computing of the multiple energies comprising partially offloading the computing of the multiple energies to the quantum processor, and outputting, by use of the classical computer, a physical behavior of the molecular dynamics system determined from the computed multiple energies.
Embodiments of the present disclosure further provide a hybrid quantum-classical computing system. The hybrid quantum-classical computing system includes a classical computer, a quantum processor comprising a first register formed of a plurality of qubits, a second register formed of a plurality of qubits, and a third register formed of a plurality of qubits, each qubit comprising a trapped ion having two hyperfine states, non-volatile memory having a number of instructions stored therein which, when executed by one or more processors, causes the hybrid quantum-classical computing system to perform operations, and a system controller configured to execute a control program to control the one or more lasers to perform operations on the quantum processor based on the offloaded computing of the multiple energies. The operations include identifying, by use of the classical computer, a molecular dynamics system to be simulated, computing, by use of the classical computer, multiple energies associated with particles of the molecular dynamics system as part of the simulation, based on the Ewald summation method, the computing of the multiple energies comprising partially offloading the computing of the multiple energies to the quantum processor, and outputting, by use of the classical computer, a physical behavior of the molecular dynamics system determined from the computed multiple energies.
So that the manner in which the above-recited features of the present disclosure can be understood in detail, a more particular description of the disclosure, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments of this disclosure and are therefore not to be considered limiting of its scope, for the disclosure may admit to other equally effective embodiments.
To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. In the figures and the following description, an orthogonal coordinate system including an X-axis, a Y-axis, and a Z-axis is used. The directions represented by the arrows in the drawing are assumed to be positive directions for convenience. It is contemplated that elements disclosed in some embodiments may be beneficially utilized on other implementations without specific recitation.
DETAILED DESCRIPTIONEmbodiments described herein are generally related to a method of performing computation in a hybrid computing system, and more specifically, to a method of obtaining energies of a physical system having interacting particles by molecular dynamics (MD) simulations performed in a hybrid computing system that includes a classical computer and quantum computer, where the quantum computer operates based on a group of trapped ions and the hybrid computing system can be referred to as a hybrid quantum-classical computing system.
A hybrid quantum-classical computing system that is able to obtain inter-particle interaction energies of a physical system having interacting particles by molecular dynamics (MD) simulations may include a classical computer, a system controller, and a quantum processor. As used herein, the terms “quantum computer” and “quantum processor” may be used interchangeably to refer to the hardware/software components that perform a quantum computation. A hybrid quantum-classical computing system performs supporting tasks including selecting a physical system including a group of interacting particles to be simulated by use of a user interface, and computing a part of the inter-particle interaction energies of the physical system, by the classical computer, system control tasks including transforming a series of logic gates into laser pulses and applying them to the quantum processor and performing measurements to estimate the remaining part of the inter-particle interaction energies of the physical system, by the system controller, and further supporting tasks including totaling the inter-particle interaction energies of the physical system, by the classical computer. A software program for performing the tasks is stored in a non-volatile memory within the classical computer.
The quantum processor can be made from different qubit technologies. In one example, for ion trap technologies, the quantum processor includes trapped ions that are coupled with various hardware, including lasers to manipulate internal hyperfine states (qubit states) of the trapped ions and photomultiplier tubes (PMTs), or other type of imaging devices, to read-out the internal hyperfine states (qubit states) of the trapped ions. The system controller receives from the classical computer instructions for controlling the quantum processor, and controls various hardware associated with controlling any and all aspects used to run the instructions for controlling the quantum processor. The system controller also returns a read-out of the quantum processor and thus output of results of the computation(s) performed by the quantum processor to the classical computer.
The methods and systems described herein include a computer simulation routine executed by the quantum processor, within a hybrid quantum-classical computing system, to perform computer simulation of a complex system, such as complex physical systems including but not limited to molecular dynamics. The methods described herein include improvements over conventional computer simulation methods.
General Hardware ConfigurationsAn imaging objective 108, such as an objective lens with a numerical aperture (NA), for example, of 0.37, collects fluorescence along the Y-axis from the ions and maps each ion onto a multi-channel photo-multiplier tube (PMT) 110 (or some other imaging device) for measurement of individual ions. Raman laser beams from a laser 112, which are provided along the X-axis, perform operations on the ions. A diffractive beam splitter 114 creates an array of Raman laser beams 116 that are individually switched using a multi-channel acousto-optic modulator (AOM) 118. The AOM 118 is configured to selectively act on individual ions by individually controlling emission of the Raman laser beams 116. A global Raman laser beam 120, which is non-copropagating to the Raman laser beams 116, illuminates all ions at once from a different direction. In some embodiments, rather than a single global Raman laser beam 120, individual Raman laser beams (not shown) can be used to each illuminate individual ions. The system controller (also referred to as an “RF controller”) 104 controls the AOM 118 and thus controls intensities, timings, and phases of laser pulses to be applied to trapped ions in the group 106 of trapped ions. The CPU 122 is a processor of the system controller 104. The ROM 124 stores various programs and the RAM 126 is the working memory for various programs and data. The storage unit 128 includes a nonvolatile memory, such as a hard disk drive (HDD) or a flash memory, and stores various programs even if power is turned off. The CPU 122, the ROM 124, the RAM 126, and the storage unit 128 are interconnected via a bus 130. The system controller 104 executes a control program which is stored in the ROM 124 or the storage unit 128 and uses the RAM 126 as a working area. The control program will include software applications that include program code that may be executed by the CPU 122 in order to perform various functionalities associated with receiving and analyzing data and controlling any and all aspects of the methods and hardware used to implement and operate the ion trap quantum computing system 100 discussed herein.
During operation, a sinusoidal voltage V1 (with an amplitude VRF/2) is applied to an opposing pair of the electrodes 202, 204 and a sinusoidal voltage V2 with a phase shift of 180° from the sinusoidal voltage V1 (and the amplitude VRF/2) is applied to the other opposing pair of the electrodes 206, 208 at a driving frequency ωRF, generating a quadrupole potential. In some embodiments, a sinusoidal voltage is only applied to one opposing pair of the electrodes 202, 204, and the other opposing pair 206, 208 is grounded. The quadrupole potential creates an effective confining force in the X-Y plane perpendicular to the Z-axis (also referred to as a “radial direction” or “transverse direction”) for each of the trapped ions, which is proportional to a distance from a saddle point (i.e., a position in the axial direction (Z-direction)) at which the RF electric field vanishes. The motion in the radial direction (i.e., direction in the X-Y plane) of each ion is approximated as a harmonic oscillation (referred to as secular motion) with a restoring force towards the saddle point in the radial direction and can be modeled by spring constants kx and ky, respectively. In some embodiments, the spring constants in the radial direction are modeled as equal when the quadrupole potential is symmetric in the radial direction. However, undesirably in some cases, the motion of the ions in the radial direction may be distorted due to some asymmetry in the physical trap configuration, a small DC patch potential due to inhomogeneity of a surface of the electrodes, or the like and due to these and other external sources of distortion the ions may lie off-center from the saddle points.
Although not shown, a different type of trap is a micro-fabricated trap chip in which a similar approach as the one described above is used to hold or confine ions or atoms in place above a surface of the micro-fabricated trap chip. Laser beams, such as the Raman laser beams described above, can be applied to the ions or atoms as they sit just above the surface.
An individual qubit state of each trapped ion may be manipulated by, for example, a mode-locked laser at 355 nanometers (nm) via the excited 2P1/2 level (denoted as |e). As shown in
It should be noted that the particular atomic species used in the discussion provided herein is just one example of atomic species which have stable and well-defined two-level energy structures when ionized and an excited state that is optically accessible, and thus is not intended to limit the possible configurations, specifications, or the like of an ion trap quantum computer according to the present disclosure. For example, other ion species include alkaline earth metal ions (Be+, Ca+, Sr+, Mg+, and Ba+) or transition metal ions (Zn+, Hg+, Cd+).
It should be noted that the particular configuration described above is just one among several possible examples of a trap for confining ions according to the present disclosure and does not limit the possible configurations, specifications, or the like according to the present disclosure. For example, the geometry of the electrodes is not limited to the hyperbolic electrodes described above. In other examples, a trap that generates an effective electric field causing the motion of the ions in the radial direction as harmonic oscillations may be a multi-layer trap in which several electrode layers are stacked and an RF voltage is applied to two diagonally opposite electrodes, or a surface trap in which all electrodes are located in a single plane on a chip. Furthermore, a trap may be divided into multiple segments, adjacent pairs of which may be linked by shuttling one or more ions, or coupled by photon interconnects. A trap may also be an array of individual trapping regions arranged closely to each other on a micro-fabricated ion trap chip, such as the one described above. In some embodiments, the quadrupole potential has a spatially varying DC component in addition to the RF component described above.
In an ion trap quantum computer, the motional modes may act as a data bus to mediate entanglement between two qubits and this entanglement is used to perform an XX gate operation. That is, each of the two qubits is entangled with the motional modes, and then the entanglement is transferred to an entanglement between the two qubits by using motional sideband excitations, as described below.
By controlling and/or directing transformations of the combined qubit-motional states as described above, an XX-gate operation may be performed on two-qubits (i-th and j-th qubits). In general, the XX-gate operation (with maximal entanglement) respectively transforms two-qubit states |0i0j, |0i|1j, |1i|0j, and |1i|1j as follows:
|0i|0j→|0i|0j−i|1i|1j
|0i|1j→|0i|1j−i|1i|0j
|1i|0j→−i|0i|1j+|1 i|0j
|1i|1j→−i|0i|0j+|1 i|1j
For example, when the two-qubits (i-th and j-th qubits) are both initially in the hyperfine ground state |0 (denoted as |0i|0j) and subsequently a π/2-pulse on the blue sideband is applied to the i-th qubit, the combined state of the i-th qubit and the motional mode |0i|nphm is transformed into a superposition of |0i|nphm and |1i|nph+1m, and thus the combined state of the two-qubits and the motional mode is transformed into a superposition of |0i|0j|nphm and |1i|0j|nph+1m. When a π/2-pulse on the red sideband is applied to the j-th qubit, the combined state of the j-th qubit and the motional mode |0j|nphm is transformed to a superposition of |0j|nphm and |1j|nph−1m and the combined state |0j|nph+1m is transformed into a superposition of |0j|nph+1m and |1j|nphm.
Thus, applications of a π/2-pulse on the blue sideband on the i-th qubit and a π/2-pulse on the red sideband on the j-th qubit may transform the combined state of the two qubits and the motional mode |0m|0j|nphm into a superposition of |0i|0j|nphm and |1i|1j|nphm, the two qubits now being in an entangled state. For those of ordinary skill in the art, it should be clear that two-qubit states that are entangled with motional mode having a different number of phonon excitations from the initial number of phonon excitations nph (i.e., |1i|0j|nph+1m and |0i|1j|nph−1m) can be removed by a sufficiently complex pulse sequence, and thus the combined state of the two qubits and the motional mode after the XX-gate operation may be considered disentangled as the initial number of phonon excitations nph in the m-th motional mode stays unchanged at the end of the XX-gate operation. Thus, qubit states before and after the XX-gate operation will be described below generally without including the motional modes.
More generally, the combined state of i-th and j-th qubits transformed by the application of pulses on the sidebands for duration T (referred to as a “gate duration”), having amplitudes Ω(i) and Ω(j) and detuning frequency μ, can be described in terms of an entangling interaction χ(i,j)(τ) as follows:
|0i|0j→cos(2χ(i,j)(τ))|0i|0j−i sin(2χ(i,j)(τ))|1i|1j
|0i|1j→cos(2χ(i,j)(τ))|0i|1j−i sin(2χ(i,j)(τ))|1i|0j
|1i|0j→−i sin(2χ(i,j)(τ))|0i|1j+cos(2χ(i,j)(τ))|1i|0j
|1i|1j→−i sin(2χ(i,j)(τ))|0i|0j+cos(2χ(i,j)(τ))|1i|1j
where,
and ηm(i) is the Lamb-Dicke parameter that quantifies the coupling strength between the i-th ion and the m-th motional mode having the frequency ωm, and M is the number of the motional modes (equal to the number N of ions in the group 106).
The entanglement interaction between two qubits described above can be used to perform an XX-gate operation. The XX-gate operation (XX gate) along with single-qubit operations (R gates) forms a set of gates {R, XX} that can be used to build a quantum computer that is configured to perform desired computational processes. Among several known sets of logic gates by which any quantum algorithm can be decomposed, a set of logic gates, commonly denoted as {R, XX}, is native to a quantum computing system of trapped ions described herein. Here, the R gate corresponds to manipulation of individual qubit states of trapped ions, and the XX gate (also referred to as an “entangling gate”) corresponds to manipulation of the entanglement of two trapped ions.
To perform an XX-gate operation between i-th and j-th qubits, pulses that satisfy the condition χ(i,j)(τ)=θ(i,j) (0<θ(i,j)≤π/8) (i.e., the entangling interaction χ(i,j)(τ) has a desired value θ(i,j), referred to as condition for a non-zero entanglement interaction) are constructed and applied to the i-th and the j-th qubits. The transformations of the combined state of the i-th and the j-th qubits described above corresponds to the XX-gate operation with maximal entanglement when θ(i,j)=π/8-Amplitudes Ω(i)(t) and Ω(j)(t) of the pulses to be applied to the i-th and the j-th qubits are control parameters that can be adjusted to ensure a non-zero tunable entanglement of the i-th and the j-th qubits to perform a desired XX gate operation on i-th and j-th qubits.
Hybrid Quantum-Classical Computing SystemIn a hybrid quantum-classical computing system, a quantum computer can generally be used as a domain-specific accelerator that may be able to accelerate certain computational tasks beyond the reach of what classical computers can do. As mentioned above, the terms “quantum computer” and “quantum processor” can be used interchangeably. Examples of such computational tasks include the Ewald summation in molecular dynamics (MD) simulations of a physical system having particles that exert force on each other via short-range and long-range interactions. Examples of such physical systems include ionic fluids, DNA strands, proteins, (poly) electrolyte solutions, colloids, or molecular models with partial charge. The dynamics of such a physical system is dictated by the energetics of the physical system and the primary contribution to the energies of the physical system comes from the long-range interaction (e.g., Coulomb interaction) among particles.
In the MD simulations, a bulk material that is to be analyzed based on simulations is typically modeled as an infinite system in which a finite system (referred to as a “primitive cell”) of N interacting particles is duplicated with periodic boundary conditions imposed. The N interacting particles may have long-range interaction (e.g., Coulomb interaction) with one another. It is widely accepted that truncating the long-range interactions introduces non-physical artifacts in calculating inter-particle interaction energies. Thus, calculation of the inter-particle interaction energies would require summation of the long-range interactions of all pairs among N interacting particles, leading to an increase in the computational complexity as O(N2) if the long-range interactions are directly summed. The Ewald summation method allows efficient calculation of inter-particle interaction energies due to the long-range interactions with an increase in the computational complexity as O(N3/2) and has become a standard method to efficiently simulate a group of particles having long-range interaction.
In the embodiments described herein, a method of performing MD simulations using the Ewald summation method by a hybrid quantum-classical computing system, referred to as the “quantum-enhanced Ewald (QEE) summation method,” is provided. The QEE summation method has an overall computational complexity of O(N5/4(log N)3) as compared the conventional Ewald summation method O(N3/2).
It should be noted that the example embodiments described herein are just some possible examples of a hybrid quantum-classical computing system according to the present disclosure and do not limit the possible configurations, specifications, or the like of hybrid quantum-classical computer systems according to the present disclosure.
For example, a hybrid quantum-classical computing system according to the present disclosure can be applied to other types of computer simulations or image/signal processing in which cyclic shift operations and phase kickback operations contributes to the computational complexity and can be accelerated by use of a quantum processor.
It is considered herein N interacting, classical particles, evolving according to the laws of classical physics. Each particle has a well-defined position and momentum at any time during the simulation.
A sum of the inter-particle interaction energies Ucoul due to pairwise interactions, e.g., Coulomb interaction, is given by
where i and j denote the particle indices (i=0, 1, 2, . . . , N−1, j=0, 1, 2, . . . , N−1) in a primitive cell of a cubic shape with an edge length of L, r(j)=(rx(j),ry(j),rz(j)) denote the positions of the respective particles j, ql and qj denote the charges of the respective particles i and j, and t=(tx,ty,tz) denote a vector of integer indices for each duplicated primitive cell.
In the Ewald summation method, a charge distribution ρ(r) at a position r in the primitive cell, for example, a sum of N point charges (each of which is described by a Dirac delta function δ(r−r(j))),
ρ(r)=Σj=0N−1qjδ(r−r(j)),
is replaced by a sum of a screened charge distribution ρs(r)(i.e., each point charge is smeared) and a cancelling charge distribution ρL(r) to compensate for the screened charge distribution ρS(r), given by
ρ(r)=ρS(r)+ρL(r)
where
ρS(r)=Σj=0N−1qj(δ(r−r(j))−Wα(r−r(j))
with a screening function Wα(r−r(j)). The screening function Wα(r−r(j)) may be, for example, a Gaussian screen function,
where the parameter α>0 defines a width of the screening. The screened charge distribution ρS(r) screens the interaction between point charges that are separated more than the parameter α (that is, the inter-particle interaction due to the screened charge distribution ρS(r) is short-range) and subsequently leads to a rapid convergence in calculating inter-particle interaction energies due to the screened charge distribution ρS(r). To compensate a difference between the contribution to the inter-particle interaction energies due to the screened charge distribution ρS(r) and that of the (original) charge distribution ρ(r), the cancelling charge distribution ρL(r) having the same charge sign as the point charge,
ρL(r)=Σj=0N−1qjWα(r−r(j)),
is added. The inter-particle interaction due to the cancelling charge distribution ρL(r) is long range, and the contribution to the inter-particle interaction energies due to the cancelling charge distribution ρL(r) is typically calculated in the reciprocal space.
Thus, the inter-particle interaction energies Ucoul is a sum of short-range inter-particle interaction energies Ushort due to the screened charge distribution ρS(r),
long-range inter-particle interaction energies Ulong
and self-energies Uself,
In the long-range interaction energies Ulong, the Fourier transform of the charge density,
{circumflex over (ρ)}q(k)=Σj=0N−1qjeik−r
is the electric form factor well known in the art and also referred to as “structure factor S(k)” in the context of crystallography. The reciprocal vectors k is defined as k=(kx,ky,kz)=(2πnx/L, 2πny/L, 2πnz/L), where nx, ny, and nz are integers, and K is the maximal k. The maximal k to be considered, i.e., K, is typically chosen to ensure the simulation is accurate to within the desired upper-bound error δ.
The computation of the electric form factor {circumflex over (ρ)}q(k) in the long-range interaction energies Ulong involves Fourier transform and is known to be the speed-limiting factor in the calculation of the long-range inter-particle interaction energies Ulong. In the QEE method, the computation of the electric form factor {circumflex over (p)}q(k) is offloaded to the quantum processor to improve an overall computational complexity as discussed below.
In block 702, by the classical computer 102, a molecular dynamics system, such as a group of interacting particles, to be simulated is identified, for example, by use of a user interface, such as graphics processing unit (GPU), of the classical computer 102, or retrieved from the memory of the classical computer 102, and information regarding the molecular dynamics system is retrieved from the memory of the classical computer 102.
Specifically, a size of the primitive cell (e.g. edge lengths Lx, Ly, and Lz), the number of interacting particles N in the primitive cell, positions r(j)(j=0, 1, . . . , N−1) of the N interacting particles in the primitive cell, a charge distribution ρ(r) at a position r in the primitive cell, a type of inter-particle interactions among the N interacting particles (e.g., Coulomb interaction), a screening function Wα(r−r(j)), and the number of qubits F to encode a position r(j) of a charge qj, a desired upper-bound error E in discretizing the position r(j) (e.g., discretizing the edge lengths Lx, Ly, and Lz into mx, my, and mz finite lengths, respectively) are selected and saved in the memory of the classical computer 102.
In block 704, by the classical computer 102, multiple energies associated with the particles of the molecular dynamics system is computed as part of the simulation, based on the Ewald summation method. The computation of the multiple energies is partially offloaded to the quantum processor to be performed in the process in block 706. Specifically, the short-range inter-particle interaction energy Ushort and the self-energies Uself are computed by the conventional computational methods known in the art. The electronic form factor {circumflex over (ρ)}q(k) in the long-range inter-particle interaction energies Ulong for a reciprocal vector k is computed by the quantum processor in block 706.
In block 706, by the system controller 104 and the quantum processor, the electronic form factor {circumflex over (ρ)}q(k) for the reciprocal vector k selected in block 704 is computed as further discussed below. The computation of the electronic form factor {circumflex over (ρ)}q(k) is repeated until the electronic form factor {circumflex over (ρ)}q(k) for sufficiently many reciprocal vectors k have been computed.
In block 708, by the classical computer 102, a sum of the inter-particle interaction energies Ucoul=Ushort+Ulong−Uself is computed. Specifically, the long-range inter-particle interaction energies Ulong is computed based on the results of block 706, and the sum of the inter-particle interaction energies is computed by adding the short-range inter-particle interaction energies Ushort and the self-energies Uself that have been computed by the classical computer 102 in block 704. The long-range inter-particle interaction energies Ulong can be calculated by the classical computer 102 using the electric form factor {circumflex over (ρ)}q(k) as
In block 710, by the classical computer 102, a physical behavior of the molecular dynamics system is determined from the inter-particle interaction energies computed in block 708. Specifically, by the classical computer 102, the computed sum of the inter-particle interaction energies Ucoul=Ushort+Ulong−Uself is output to a user interface, such as graphics processing unit (GPU) of the classical computer 102 and/or saved in the memory of the classical computer 102. For example, the computed sum of the inter-particle interaction energies can be represented in a table or as a graphic representation of the particles on a display coupled to the GPU.
In block 802, by the system controller 104, the quantum processor (i.e., the group 106 of ions) is set in an initial superposition state |ψ0=|ψindex|kψdata.
The first register (referred to also as an “index register” hereinafter) formed of ┐log2N┌ qubits to encode particle indices j(=0, 1, 2, . . . , N−1) is prepared in an equal superposition state of the particle indices
The equal superposition state of the particle indices |ψindex can set by application of a Hadamard operation H to each of the ┐log2N┌ qubits of the index register that are prepared in state |0, for example, the hyperfine ground state |0, by optical pumping in an exemplary quantum computer with trapped ions. A Hadamard operation H transforms each qubit from |0 to a super position state
and |1 to another superposition state
which can be implemented by application a proper combination of single-qubit operations.
The second register (referred to as a “reciprocal vector register” hereinafter) is formed of (F) qubits to encode the reciprocal vector k selected in block 704. The reciprocal vector register can be set by a proper combination of single-qubit operations to the (F) qubits of the reciprocal vector register that are all prepared in state |0.
The third register (referred to also as a “data register” hereinafter) is formed of (NΓ) qubits and set in a charge-position encoded state |ψdata=⊗j=0N−1(|qj,r(j))) to encode the charges qj and the positions r(j)=(rx(j),ry(j),rz(j)) of particles j(=0, 1, 2, . . . , N−1) within a primitive cell having the edge lengths Lx, Ly, and Lz, discretized into sufficiently dense grids. Each block of registers |r(j) for particles j(=0, 1, 2, . . . , N−1) is a tensor product of the three sub-registers |rx(j)⊗|rj(j)⊗|rz(j), where the three sub-registers are formed with mx, my, and mz qubits, respectively. The system controller 104 retrieves the positions r(j)=(rx(j),ry(j),rz(j)) and charges qi from either the (classical) memory of the classical computer 102 or a quantum memory (formed of qubits) of the quantum processor and encode the positions r(j)=(rx(j),ry(j),rz(j)) and the charges qj into the data register. The charge-position encoded state |ψdata can be set by application of a proper combination of single-qubit operations and two-qubit operations to the (NF) qubits of the data register prepared in state |0.
In block 804, by the system controller 104, the data register in the charge-position encoded state |ψdata is transformed to a cyclic shifted state
based on the index register |v. This operation, referred to as a cyclic shift operation S, transforms the index register in the equal superposition state of particle indices |ψindex and the data register in the charge-position encoded state |ψdata to a cyclic shifted superposition state
The cyclic shift operation S can be implemented by application of a combination of single-qubit gate operations and two-qubit gate operations to the qubits in the index register and the data register by the system controller 104.
In block 806, by the system controller 104, the index register and the data register in the cyclic shifted superposition state |ΨCS are transformed to a phased cyclic shifted superposition state |ΨPCS(k), based on the reciprocal vector register |k. By this transformation, referred to as a phase-kickback operation, the phase eik−r that is required to compute the electronic form factor {circumflex over (ρ)}q(k)=Σj=0N−1qjeik−r
D|k|rla→|k|r|l⊕r·ka.
The ancillary register with all qubits prepared in the |0 state, upon the application of the inverse Fourier transform, results in the state of Σl=0M−1e2πil/M|la, where M=2m. By application of the arithmetic operator D and the inverse Fourier transform, a combined state of the registers that encode k and r and the ancillary register, |k|r|0, is transformed, to eikr|k|r(Σl=0M−1e2πil/M|la), in which the phase eik−r is extracted. Subsequently, the ancillary register is disentangled from the index and data registers by the application of the Fourier transform. The arithmetic operator D can be implemented by a proper combination of single-qubit operations and two-qubit operations to the index, data, and ancillary registers. The inverse Fourier transform can be implemented by a proper combination of single-qubit operations and two-qubit operations to the ancillary qubits. In the example described herein, the charges qj are either −1 or +1, and thus the phase
equals qj. This phase can be implemented by a π-pulse around the Z-axis (referred to as an operation Z) that is a combination of single-qubit gate operations by the system controller 104. When the charges qj take values other than either −1 or +1, a combination of suitable single-qubit gate operations is applied to the data register to bring out the charges qj from the data register to amplitudes of the data register.
Thus, the phase-kick-back operation, applied to the first block (i.e., j=0) of the data register in the cyclic shifted superposition state |ΨCS, transforms the cyclic shifted superposition state |ΨCS to a phased cyclic shifted superposition state |ΨPCSΨ(k),
In block 808, by the system controller 104, the index register and the data registers in the phased cyclic shifted superposition state |ΨPCS(k) are transformed to a phased superposition state |ΨP(k),
in which the data register now has returned to encode the positions r(j)=(rx(j),ry(j),rz(j)) and the charges qj. This transformation corresponds to an inverse of the cyclic shift operation S, which can be implemented by application of a combination of single-qubit gate operations and two-qubit gate operations by the system controller 104 to the index register and the data register.
In block 810, by the system controller 104, the phased superposition state |ΨP(k) is transformed to a final superposition state, |ΨF(k),
where p. v denotes the bit-wise inner product of the binary representations of p and v.
This transformation can be performed by application of the Hadamard operation H to each qubit in the index register.
In block 814, by the system controller 104, amplitude AF(k) of the final superposition state |ΨF(k) is measured in the state |0|k|0 as
which is proportional to the electric form factor {circumflex over (p)}q (k) for k included in the long-range inter-particle interaction energies Ulong.
In block 816, the measured amplitudes AF(k) is returned to the classical computer 102. By the classical computer 102, modulus square of the measured amplitudes AF(k), |AF(k)|2, is computed and converted to be recorded for the purpose of computing of the long-range inter-particle interaction energies Ulong. The process returns to block 802 to compute another reciprocal vector k if the modulus square of the measured amplitudes AF(k), |AF(k)|2 for sufficiently many reciprocal vectors k have not been computed. Once the computation of the amplitudes AF(k), |AF(k)|2 by the method 800 for sufficiently many reciprocal vectors k has been completed, the process proceeds to block 708 in the method 700.
The maximal k to be considered, i.e., K, is typically chosen to ensure the simulation is accurate to within the desired upper-bound error S. Optimizing K with respect to a desired upper-bound error δ in the MD simulation, the number of operations scales as O(N3/2) in the classical Ewald summation. In the quantum-classical hybrid approach, when optimizing K with respect to a desired upper-bound error δ, the number of operations scales as O(N5/4(log N)3), for a 3 dimensional (3D) system.
The method of obtaining energies of a system having interacting particles by molecular dynamics (MD) simulations described herein provides a computational complexity improvement by use of a quantum processor in the calculation of Ewald summation method over the classical calculation method.
It should be noted that the particular example embodiments described above are just some possible examples of a hybrid quantum-classical computing system according to the present disclosure and do not limit the possible configurations, specifications, or the like of hybrid quantum-classical computing systems according to the present disclosure. For example, the method described herein may be applied to other simulation problems such as simulation of trapped ions in a quantum computer to help design a better quantum computer. Furthermore, a quantum processor within a hybrid quantum-classical computing system is not limited to a group of trapped ions described above. For example, a quantum processor may be a superconducting circuit that includes micrometer-sized loops of superconducting metal interrupted by a number of Josephson junctions, functioning as qubits (referred to as flux qubits). The junction parameters are engineered during fabrication so that a persistent current will flow continuously when an external magnetic flux is applied. As only an integer number of flux quanta are allowed to penetrate in each loop, clockwise or counter-clockwise persistent currents are developed in the loop to compensate (screen or enhance) a non-integer external magnetic flux applied to the loop. The two states corresponding to the clockwise and counter-clockwise persistent currents are the lowest energy states; differ only by the relative quantum phase. Higher energy states correspond to much larger persistent currents, thus are well separated energetically from the lowest two eigenstates. The two lowest eigenstates are used to represent qubit states |0 and |1. An individual qubit state of each qubit device may be manipulated by application of a series of microwave pulses, frequency and duration of which are appropriately adjusted.
While the foregoing is directed to specific embodiments, other and further embodiments may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.
Claims
1. A method of performing computation using a hybrid quantum-classical computing system comprising a classical computer, a system controller, and a quantum processor, comprising:
- identifying, by use of the classical computer, a molecular dynamics system to be simulated;
- computing, by use of the classical computer, multiple energies associated with particles of the molecular dynamics system as part of the simulation, based on the Ewald summation method, the computing of the multiple energies comprising partially offloading the computing of the multiple energies to the quantum processor; and
- outputting, by use of the classical computer, a physical behavior of the molecular dynamics system determined from the computed multiple energies.
2. The method of claim 1, wherein:
- the multiple energies comprise short-range inter-particle interaction energies, self-energies, and long-range inter-particle interaction energies of the particles of the molecular dynamics system,
- the computing of the multiple energies further comprises computing the short-range inter-particle interaction energies and the self-energies, and
- the partially offloading of the computing of the multiple energies comprises computing, by the system controller and the quantum processor, an electronic form factor used to compute the long-range inter-particle interaction energies.
3. The method of claim 2, further comprising:
- computing a sum of the short-range inter-particle interaction energies, the self-energies, and the long-range inter-particle interaction energies, wherein
- the long-range inter-particle interaction energies are computed based on the computed electronic form factor.
4. The method of claim 2, wherein:
- the quantum processor comprises a first register formed of a plurality of qubits, a second register formed of a plurality of qubits, and a third register formed of a plurality of qubits, and
- the computing of the electronic form factor by the quantum processor comprises: setting, by the system controller, the quantum processor in an initial state, in which the first register is in an equal superposition state of indices of the particles, the second register encodes a reciprocal vector for which the electronic form factor is computed, and the third register is in a charge-position encoded state to encode charges and positions of the particles of the molecular dynamics system; transforming, by the system controller, the third register to a cyclic shifted state, based on the first register; transforming, by the system controller, the first and third registers to a phased cyclic shifted superposition state, based on the second register; transforming, by the system controller, the first and third registers to a phased superposition state; transforming, by the system controller, the first register to the equal superposition state of the indices of the particles; and measuring, by the system controller, amplitude of the quantum processor.
5. The method of claim 4, wherein
- the transforming of the third register to the cyclic shifted state comprises applying a cyclic shift operation on the third register, based on the first register.
6. The method of claim 5, wherein
- the transforming of the first and third registers to the phased superposition state comprises applying an inverse of the cyclic shift operation on the third register, based on the first register.
7. The method of claim 4, wherein
- the transforming of the first and third registers to the phased cyclic shifted superposition state comprises a phase kick-back operation on a first block of the third register, based on the second register.
8. A hybrid quantum-classical computing system, comprising:
- a quantum processor comprising a first register formed of a plurality of qubits, a second register formed of a plurality of qubits, and a third register formed of a plurality of qubits, each qubit comprising a trapped ion having two hyperfine states;
- one or more lasers configured to emit a laser beam, which is provided to trapped ions in the quantum processor;
- a classical computer configured to perform operations comprising: identifying, by use of the classical computer, a molecular dynamics system to be simulated; computing, by use of the classical computer, multiple energies associated with particles of the molecular dynamics system as part of the simulation, based on the Ewald summation method, the computing of the multiple energies comprising partially offloading the computing of the multiple energies to the quantum processor; and outputting, by use of the classical computer, a physical behavior of the molecular dynamics system determined from the computed multiple energies; and
- a system controller configured to execute a control program to control the one or more lasers to perform operations on the quantum processor based on the offloaded computing of the multiple energies.
9. The hybrid quantum-classical computing system of claim 8, wherein:
- the multiple energies comprise short-range inter-particle interaction energies, self-energies, and long-range inter-particle interaction energies of the particles of the molecular dynamics system,
- the computing of the multiple energies further comprises computing the short-range inter-particle interaction energies and the self-energies, and
- the partially offloading of the computing of the multiple energies comprises computing, by the system controller and the quantum processor, an electronic form factor used to compute the long-range inter-particle interaction energies.
10. The hybrid quantum-classical computing system of claim 9, wherein the operations further comprise:
- computing a sum of the short-range inter-particle interaction energies, the self-energies, and the long-range inter-particle interaction energies, wherein
- the long-range inter-particle interaction energies are computed based on the computed electronic form factor.
11. The hybrid quantum-classical computing system of claim 9, wherein:
- the computing of the electronic form factor by the quantum processor comprises: setting, by the system controller, the quantum processor in an initial state, in which the first register is in an equal superposition state of indices of the particles, the second register encodes a reciprocal vector for which the electronic form factor is computed, and the third register is in a charge-position encoded state to encode charges and positions of the particles of the molecular dynamics system; transforming, by the system controller, the third register to a cyclic shifted state, based on the first register; transforming, by the system controller, the first and third registers to a phased cyclic shifted superposition state, based on the second register; transforming, by the system controller, the first and third registers to a phased superposition state; transforming, by the system controller, the first register to the equal superposition state of the indices of the particles; and measuring, by the system controller, amplitude of the quantum processor.
12. The hybrid quantum-classical computing system of claim 11, wherein
- the transforming of the third register to the cyclic shifted state comprises applying a cyclic shift operation on the third register, based on the first register, and
- the transforming of the first and third registers to the phased superposition state comprises applying an inverse of the cyclic shift operation on the third register, based on the first register.
13. The hybrid quantum-classical computing system of claim 11, wherein
- the transforming of the first and third registers to the phased cyclic shifted superposition state comprises a phase kick-back operation on a first block of the third register, based on the second register.
14. A hybrid quantum-classical computing system comprising:
- a classical computer;
- a quantum processor comprising a first register formed of a plurality of qubits, a second register formed of a plurality of qubits, and a third register formed of a plurality of qubits, each qubit comprising a trapped ion having two hyperfine states;
- non-volatile memory having a number of instructions stored therein which, when executed by one or more processors, causes the hybrid quantum-classical computing system to perform operations comprising: identifying, by use of the classical computer, a molecular dynamics system to be simulated; computing, by use of the classical computer, multiple energies associated with particles of the molecular dynamics system as part of the simulation, based on the Ewald summation method, the computing of the multiple energies comprising partially offloading the computing of the multiple energies to the quantum processor; and outputting, by use of the classical computer, a physical behavior of the molecular dynamics system determined from the computed multiple energies; and
- a system controller configured to execute a control program to control the one or more lasers to perform operations on the quantum processor based on the offloaded computing of the multiple energies.
15. The hybrid quantum-classical computing system of claim 14, wherein:
- the multiple energies comprise short-range inter-particle interaction energies, self-energies, and long-range inter-particle interaction energies of the particles of the molecular dynamics system,
- the computing of the multiple energies further comprises computing the short-range inter-particle interaction energies and the self-energies, and
- the partially offloading of the computing of the multiple energies comprises computing, by the system controller and the quantum processor, an electronic form factor used to compute the long-range inter-particle interaction energies.
16. The hybrid quantum-classical computing system of claim 15, wherein the operations further comprises:
- computing a sum of the short-range inter-particle interaction energies, the self-energies, and the long-range inter-particle interaction energies, wherein
- the long-range inter-particle interaction energies are computed based on the computed electronic form factor.
17. The hybrid quantum-classical computing system of claim 15, wherein:
- the computing of the electronic form factor by the quantum processor comprises: setting, by the system controller, the quantum processor in an initial state, in which the first register is in an equal superposition state of indices of the particles, the second register encodes a reciprocal vector for which the electronic form factor is computed, and the third register is in a charge-position encoded state to encode charges and positions of the particles of the molecular dynamics system; transforming, by the system controller, the third register to a cyclic shifted state, based on the first register; transforming, by the system controller, the first and third registers to a phased cyclic shifted superposition state, based on the second register; transforming, by the system controller, the first and third registers to a phased superposition state; transforming, by the system controller, the first register to the equal superposition state of the indices of the particles; and measuring, by the system controller, amplitude of the quantum processor.
18. The hybrid quantum-classical computing system of claim 17, wherein
- the transforming of the third register to the cyclic shifted state comprises applying a cyclic shift operation on the third register, based on the first register.
19. The hybrid quantum-classical computing system of claim 18, wherein
- the transforming of the first and third registers to the phased superposition state comprises applying an inverse of the cyclic shift operation on the third register, based on the first register.
20. The hybrid quantum-classical computing system of claim 17, wherein
- the transforming of the first and third registers to the phased cyclic shifted superposition state comprises a phase kick-back operation on a first block of the third register, based on the second register.
Type: Application
Filed: Jun 15, 2022
Publication Date: Dec 29, 2022
Inventors: Pradeep NIROULA (College Park, MD), Yunseong NAM (North Bethesda, MD)
Application Number: 17/841,511