101
Views
0
CrossRef citations to date
0
Altmetric
Articles

Qubit lattice algorithms

, , , , &
Pages 1350-1356 | Received 14 Nov 2023, Accepted 29 Nov 2023, Published online: 22 Mar 2024

1. Introduction

Qubit lattice[Q1] algorithms (QLA) (Citation1–7) can be viewed as a cousin of the more familiar lattice Boltzmann scheme (LB) (Citation8) to solve classical physics problems computationally in a more efficient manner than standard computational (CFD) codes. In particular LB algorithms for nonlinear fluid systems achieved important status because of the simplicity of the code and their inherent parallelization on classical supercomputers. In LB, the fluid equations are modeled by a truncated kinetic description in which the permitted phase space velocity is minimized subject to recovering the required fluid equations and retaining appropriate symmetries to leading order by Chapman-Enskog expansions. An immediate advantage of the LB approach is that the notorious computational headaches of resolving the nonlinear convective derivative for turbulent flows in the momentum equation, vv, is now replaced by a simple linear kinetic advection (streaming) term ξifi(x,ξi,t). ξi define the chosen discrete phase space lattice velocities. The fluid nonlinearities are recovered by incorporating quadratic algebraic nonlinearities into the LB collision operator. The initial collision operator was of BGK form (fifieq)/τ. The relaxation distribution function fieq is a function of the macroscopic variables, and τ is a relaxation time. The very early LB algorithms were restricted to low Mach number and low Reynolds number flows. However a literal explosion of research in LB has moved the field into multispeed-lattices, multiple relaxation times, entropic LB, supersonic flows using adaptive space-time reference frame based on the actual local fluid velocity and temperature (Citation9–11)

The QLA employs a non-commuting sequence of unitary collide-stream operators acting on a chosen qubit basis set as a mesoscopic model that recovers the equations of interest in the continuum limit. In the beginning, QLA's were introduced for the solution of the Schrodinger equation (Citation1–3). For quantum entanglement one requires at least 2 qubits/lattice site. The four on-site basis kets are (1) |0|0=|1000,|0|1=|0100,|1|0=|0010,|1|1=|0001.(1) The unitary collision operator required to recover the kinetic energy operator in the Schrodinger equation is just the square-root-of-swap gate (2) U1=[10000(1i)/2(1+i)/200(1+i)/2(1i)/200001].(2) It is convenient to work with the 2×2 sub-block, C, entangling the on-site qubits {q1,q2}. C2 is just the standard swap gate on these 2 qubits, (3) C2[q1q2]=[(1i)/2(1+i)/2(1+i)/2(1i)/2]2[q1q2]=[q2q1](3) while C4=I, the identity operator.

The unitary streaming operator S1 simply shifts the amplitude of qubit q1 at lattice site x to site x+δ, while the transpose S1T shifts q1 to lattice site xδ. Similarly for the shift operator S2 acting on the qubit q2. The operators U and S do not commute.

If one considers the following sequence of non-commuting unitary interleaved collision-streaming operators for a time advancement of Δt for the qubits q1,q2: (4) [q1(t+Δt)q2(t+Δt)]=S2T.C.S2.C.S2T.C.S2.CS1T.C.S1.C.S1T.C.S1.C[q1(t)q2(t)](4) one recovers the free Schrodinger equation for the x-dependent wave function ψ determined from the zero moment of our mesoscopic qubit representation ψ(x,t)=q1(x,t)+q2(x,t). The error is O(δ2), provided we have diffusion ordering, with Δt=O(δ2). If one had performed just two collide-stream operators on each qubit then the scheme would become just O(δ). By using the alternate-direction implicit (ADI) scheme for the y-direction and z-direction independently, we recover the full 3D free Schrodinger equation.

It is very interesting to realize that if the collide-stream operators commuted, then Equation (Equation4) simply degenerates into the identity evolution: (5) [q1(t+Δt)q2(t+Δt)]=[q1(t)q2(t)](5) The non-commutation of the collide-stream operators is essential in our QLA in order to recover the desired equations of interest.

The effect of the potential energy term in the Schrodinger equation is readily modeled in QLA by the introduction of an external collision operator. In this way one can consider the scattering of a wave packet from an external potential well, or the 1D Nonlinear Schrodinger equation (NLS), or the 1D Korteweg-de Vries (KdV) equation. These last 2 problems are examples of nonlinear physics – and this poses a stumbling block for immediate application onto a quantum computer which is based on linear operator theory alone. However, both 1D NLS and 1D KdV are exactly soluble nonlinear equations – with solitons as solutions. In particular exact soliton-soliton collision solution provided excellent benchmarking for our QLA on classical computers, on which there are no problems handling the nonlinear terms.

We have extended QLA to both 2D and 3D NLS – now non-integrable equations that can give a mean-field theory for the evolution of a ground-state Bose-Einstein condensate (BEC) wave function. Very high precision QLA simulations were performed on quantum turbulence in these systems and their further generalization to spinor BECs. We achieved these results because QLA is ideally parallelized on classical supercomputers, with no degradation in parallel performance as the number of cores are increased. In particular, on the IGM BlueGene Mira supercomputer at Argonne, using OpenMP on a grid of 51203 we attained strong scaling of 94.1% as the number of cores were increased from a base of 65, 536 to 524, 288 and achieving 1.17 PetaFlops (runs performed in 2016).

In some sense, QLA can be viewed as an example of a quantum random walk process.

2. QLA for plasma physics

Recently we have turned our attention to QLA for electromagnetic wave propagation in plasmas. Our approach has been to consider Maxwell equations and progressively include plasma effects into the constitutive equations. Eventually this will move into including the plasma evolution equations for mass, momentum and energy along with the evolution equations for the Maxwell electromagnetic fields E,H. With constitutive equations (in a coordinate representation in which the Hermitian tensor dielectric ϵ is diagonal) for an inhomogeneous non-magnetic medium (6) D=ϵE,B=μ0H.(6) the Maxwell equations can be written in a unitary representation on discerning the required Dyson map (Citation12) on a 6-qubit representation of the electromagnetic field, (7) U=(nxEx,nyEy,nzEz,μ01/2H)T=Q(7) where the refractive indices {nx,ny,nz}={ϵx1/2,ϵy1/2,ϵz1/2}.

For 2D x-y spatially dependent fields and media, the unitary Maxwell equations take the form (8) q0t=1nxq5y,q1t=1nyq5x,q2t=1nz[q4xq3y]q3t=(q2/nz)y,q4t=(q2/nz)x,q5t=(q1/ny)x+(q0/nx)y(8) where Q={q0,q1,q2,q3,q4,q5}T. There are considerable number of internal reflections/transmissions into the vacuum region since there is a sharp (but continuous) spatial gradient in the refractive index near the boundary of the vacuum-dielectric region. It should be noted that QLA is an initial value algorithm. There are no internal boundary conditions imposed at the vacuum-dielectric interface. There are no Fresnel-like boundary conditions imposed, but the reflection and transmission wave fronts are self-consistently generated in QLA.

2.1. QLA for dispersive media

The results presented here assumed the instantaneous (so-called ‘optical’) response of the medium to the given electromagnetic field u={E,H}T. Dispersion can be included in the constitutive equations by introducing the susceptibility kernel G^ (Citation13) (9) d(r,t)=W^(r)u(r,t)+0tG^(r,tτ)u(r,τ).(9) Here d={D,B}T, and W^=diag(ϵ(r),μ0). It is convenient to move to the high frequency limit in which the diagonal optical response reduces to that in a vacuum W^vac=diag(ϵ0,μ0). The polarization of the medium is now incorporated into the integral kernel G^. The QLA will be unitary, but would now need to introduce extra qubits at each lattice site for the dynamics of the polarization and the handling of integrals of the form (10) 0te(tτ)ωe2ω2E(r,τ)dωdτ(10) where ωe is a characteristic frequency of the medium.

2.2. QLA for dissipative media

The inclusion of dissipation into the plasma equations requires a fundamental change in the QLA representation. One method is to employ the techniques of quantum information science (QIS) when dealing with quantum system that interact with the environment. Such quantum systems are termed ‘open’ systems since there is an energy exchange between it and the environment. However by considering the extended system of the dissipative quantum system and its environment one again recovers a closed system with energy conservation. This will then permit a unitary representation for the extended system.

The non-unitary time evolution of the open system takes the form (Citation13) (11) iψt=[D^0iD^diss]ψ(11) where D^0 and D^diss are Hermitian. iD^diss is anti-Hermitian and represents the dissipation in the system. Thus (12) ψ(Δt)=U^(Δt)ψ(0)=expiΔt[D^0iD^diss]ψ(0).(12) A first crude approximation is to apply the zeroth order-Suzuki-Trotter decomposition to Equation (Equation12) (13) expiΔt[D^0iD^diss]=eiΔtD^0eΔtD^diss+O(Δt2),(13) which neglects the effect of the non-commutation of D^0 and D^diss. This approximation, extremely common in QIS, permits the treatment of the non-unitary operator exp[ΔtD^diss] separately from the unitary operator exp[iΔtD^0].

In QIS, one technique to handle the non-unitary operators is the introduction of Kraus operators K^μ for the evolution of the open system density matrix ρS (14) ρS(t)=μK^μρS(0)K^μ.(14) The individual Kraus operators are arbitrary, but subject to the sum constraint be unitary: (15) μK^μK^μ=I.(15) By defining the Kraus operator K^0 (16) K^0=exp{ΔtD^diss}(16) and introducing a second Kraus operator K^1 such that K^1K^1=IK^0K^0 one can extend to a higher dimensional Hilbert space (which in QIS is called a dilation) in which the dilation operator U^diss is unitary (17) U^diss=[K^0K^1K^1X^K^0X^].(17) The operator X^, is an appropriate extension of the Pauli X^ operator to the appropriate dimensionality.

2.3. QLA for Plasma-Maxwell system

To develop a QLA to simulate directly the nonlinear two fluid plasma equations for mass, momentum and energy is not at all straightforward. Extending the work of Meng and Yang (Citation14), one may utilize the Madelung transformation on the 3D NLS BEC equation (known in condensed matter at the Gross-Pitaevskii equation) for the scalar wavefunction ψ: (18) ψ=ρe.(18) One can immediately identify ρ=ψψ as the fluid density, and v=ϕ as the fluid velocity. The scalar BEC equation for ψ can be rewritten in the form of fluid conservation equation of mass, momentum and energy, not unlike the compressible Navier-Stokes system. The major difference between the quantum NLS equation and the classical Navier-Stokes system is the addition of an extra quantum pressure term in the momentum equation and the fact that for scalar NLS quantum vortices are singular, with ρ0 at the vortex core. A classical vortex, on the other hand is non-singular. To remove these quantum irregularities, Meng & Yang achieve extra degrees of freedom by moving to a quaternion representation of the qubit fields whose zeroth moment yields the wave function, and thereby remove the quantum pressure term and singular vortices.

It seems very worthwhile to extend this approach to spinor BECs, with the Hamiltonian augmented to incorporate the electromagnetic field. We already have very well benchmarked and parallelized QLA's for spinor BECs and separate QLA's for Maxwell equations.

Disclosure statement

No potential conflict of interest was reported by the author(s).

Additional information

Funding

This research was partially supported by Department of Energy grants DE-SC0021647, DE-FG0291ER-54109, DE-SC0021651, DE-SC0021857 and DE-SC0021653. This work has been carried out partially within the framework of the EUROfusion Consortium. E.K has received funding from the Euratom research and training program WPEDU under grant agreement no. 101052200 as well as from the National Program for Controlled Thermonuclear Fusion, Hellenic Republic. K.H is supported by the National Program for Controlled Thermonuclear Fusion, Hellenic Republic. The views and opinions expressed herein do not necessarily reflect those of the European Commission. This research used resources of the National Energy Research Scientific Computing Center (NERSC), a U.S. Department of Energy Office of Science User Facility located at Lawrence Berkeley National Laboratory, operated under Contract No. DE-AC02-05CH11231 using NERSC award FES-ERCAP0020430.

Notes on contributors

George Vahala

George Vahala is a professor of Physics at WIlliam & Mary, Lattice algorithms, and applications to plasma physics.

Efstratios Koukoutsis

Efstartios Koukoutsis is a PhD student in National Technical University of Athens, with research in developing quantum algorithms for dispersive dissipative plasma models.

Min Soe

Min Soe is a professor at Rogers State University - parallelization of algorithms and 3D graphics.

Kyriakos Hizanidis

Kyriakos Hizanidis is a professor of Electrical and Computer Engineering at National Technical University of Athens - Clifford algebra representation of Maxwell equations, quantum computing algorithms.

Linda Vahala

Linda Vahala is an associate professor of Electrical & Computer Engineering, Old Dominion University - quantum and qubit lattice algoritihms, symmetry properties.

Abhay K. Ram

Abhay K. Ram Plasma Science and Fusion Center, MIT - wave propagation in plasmas, unitary algorithms.

References

  • Boghosian, B.M.; Taylor IV, W. Quantum Lattice Gas Models for the Many-Body Schrodinger Equation. Int. J. Modern Phys. C 1997, 8, 705–716.
  • Boghosian, B.M.; Taylor IV, W. Simulating Quantum Mechanics on a Quantum Computer. Phys. D1998, 120, 30–42.
  • Yepez, J.; Boghosian, B.M. An Efficient and Accurate Quantum Lattice-Gas Model for the Many-Body Schroedinger Wave Equation. Comput. Phys. Commun. 2002, 146, 280–294.
  • Vahala, G.; Vahala, L.; Yepez, J. Quantum Lattice Gas Representation of Some Classical Solitons. Phys. Lett. A 2003, 310, 187–196.
  • Vahala, L.; Vahala, G.; Yepez, J. Lattice Boltzmann and Quantum Lattice Gas Representations of One-Dimensional Magnetohydrodynamic Turbulence. Phys. Lett. A 2003, 306, 227–234.
  • Vahala, G.; Vahala, L.; Yepez, J. Inelastic Vector Soliton Collisions: a Lattice Based Quantum Representation. Phil. Trans. Math. Phys. Eng. Sci. R. Soc. 2004, 362, 1677–1690.
  • Vahala, G.; Vahala, L.; Soe, M.; Ram, A.K. Unitary Quantum Lattice Simulations for Maxwell Equations in Vacuum and in Dielectric Media. J. Plasma Phys. 2020, 86, 905860518.
  • Succi, S. The Lattice Boltzmann Equation for Fluid Dynamics and Beyond; Oxford University Press: Oxford, 2001.
  • Frapoli, N.; Chikatamaria, S.S.; Karlin, I.V. Entropic Lattice Boltzmann Model for Compressible Flows. Phys. Rev. E 2015, 92, 061301.
  • Dorschner, B.; Bosch, F.; Karlin, I.V. Particles on Demand for Kinetic Theory. Phys. Rev. Lett. 2018,121, 130602.
  • Kallikounis, N.G.; Karlin, I.V. Particles on Demand Method: Theoretical Analysis, Simplification Techniques and Model Extensions. arXiv:2302.00310v1, 2023.
  • Koukoutsis, E.; Hizanidis, K.; Ram, A.K.; Vahala, G. Dyson Maps and Unitary Evolution for Maxwell Equations in Tensor Dielectric Media. Phys. Rev. A. 2023, 107, 042215.
  • Koukoutsis, E.; Hizanidis, K.; Ram, A.K.; Vahala, G. Quantum Simulation of Dissipation for Maxwell Equations in Dispersive Media. arXiv:2308.00056, 2023.
  • Meng, Z.; Yang, Y.U.E. Quantum Computing of Fluid Dynamics Using the Hydrodynamic Schrodinger Equation. arXiv:2302.09741v1, 2023.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.