Abstract
The promise of quantum computing lies in harnessing programmable quantum devices for practical applications such as efficient simulation of quantum materials and condensed matter systems. One important task is the simulation of geometrically frustrated magnets in which topological phenomena can emerge from competition between quantum and thermal fluctuations. Here we report on experimental observations of equilibration in such simulations, measured on up to 1440 qubits with microsecond resolution. By initializing the system in a state with topological obstruction, we observe quantum annealing (QA) equilibration timescales in excess of one microsecond. Measurements indicate a dynamical advantage in the quantum simulation compared with spatially local update dynamics of path-integral Monte Carlo (PIMC). The advantage increases with both system size and inverse temperature, exceeding a million-fold speedup over an efficient CPU implementation. PIMC is a leading classical method for such simulations, and a scaling advantage of this type was recently shown to be impossible in certain restricted settings. This is therefore an important piece of experimental evidence that PIMC does not simulate QA dynamics even for sign-problem-free Hamiltonians, and that near-term quantum devices can be used to accelerate computational tasks of practical relevance.
Subject terms: Computational science, Phase transitions and critical phenomena, Quantum simulation
Experimental demonstration of quantum speedup that scales with the system size is the goal of near-term quantum computing. Here, the authors demonstrate such scaling advantage for a D-Wave quantum annealer over analogous classical algorithms in simulations of frustrated quantum magnets.
Introduction
Recent experiments on random circuit sampling in a superconducting quantum processor1,2 lend credence to the ultimate viability of quantum computing, but leave open the question of quantum advantage in practical applications. In absence of quantum error correction, the utility of gate-model quantum computers has yet to be determined3. Meanwhile, analog quantum simulations are an attractive proving ground for near-term quantum devices: the application can be chosen to suit the strengths of the platform, allowing the demonstration of a variety of engineered many-body quantum phenomena in noisy hardware. Examples include the Kibble-Zurek mechanism4,5, dynamical phase transitions6,7, many-body localization8, Coulomb blockade9, and magnetic phase transitions in quantum systems10,11. Having established the possibility of simulating complex quantum phenomena on a manufactured quantum device, as Feynman famously proposed12, one comes to the next question: can the quantum device confer a computational advantage?
We address this question using a superconducting flux-qubit quantum annealing (QA) processor13 to simulate frustrated quantum magnets. Statistics of these systems at thermal equilibrium can be estimated using quantum Monte Carlo (QMC) methods with no numerical sign problem14. Although there are many types of QMC, the most appropriate choice in this setting is path-integral Monte Carlo (PIMC)15,16—we discuss the limitations of other approaches in the Supplementary Information. Ever since the appearance of QA processors, PIMC has been promoted as a classical analog, and even as a simulator of QA17–22. PIMC was even shown to simulate QA dynamics for single-path incoherent tunneling through a barrier23, casting doubt on the ability of QA to offer a computational advantage over PIMC. Furthermore, no previous experiment to date has shown QA to systematically outperform PIMC-based simulations of QA in scaling19,21, although a scaling advantage has been shown to be possible in theory, for ideal QA22,24,25.
Here we provide experimental evidence that a QA processor can provide a computational advantage over PIMC in a quantum simulation task. As we tune parameters to make the simulation more difficult, the advantage of QA grows, showing a real-world example in which QA exploits dynamics not available to PIMC. Up to now, equilibration dynamics of QA in this simulation have been too fast to observe directly. However, in this experiment, we have found a slow unwinding mechanism relevant to equilibration and tied to important statistics of the models, which we can now measure within experimental timescales.
Results
Simulated quantum magnets
We simulate a square-octagonal lattice (Fig. 1a) in the transverse field Ising model (TFIM), whose Hamiltonian can be written as
1 |
where s is a time-dependent annealing parameter, Jij are 2-local coupling terms, J(s) is a global coupling energy prefactor, and represent Pauli operators on the ith spin, and Γ(s) is the transverse field, which induces quantum fluctuations. We study equilibration of the system at fixed H(s).
The lattice contains four-qubit ferromagnetic chains coupled together with antiferromagnetic bonds in a geometrically frustrated configuration26,27: no plaquette (square or octagon) can satisfy all its bonds simultaneously. Fully frustrated lattices are known to exhibit rich phase diagrams due to the interplay of quantum and thermal fluctuations11,16,26 (Supplementary Fig. 3). It was recently shown that the exotic physics of a topological phase transition in this system can be simulated in a QA processor11. However, the methods and apparatus did not allow accurate measurement of equilibration timescales. Here we introduce new experimental methods and apply them using an improved QA processor fabricated with lower-noise processes.
The lattice under study exhibits “order-by-disorder”, a phenomenon in which the introduction of the transverse field creates long-range order that does not exist in the classical setting26. Due to frustration in the lattice, each four- or eight-spin plaquette has six classical ground states; these can be represented by six orientations of a pseudospin (Fig. 1b, c). In the classical case (Γ = 0), these local ground states can combine to form a global ground state provided that neighboring pseudospins are approximately aligned, but this is not enough to impose long-range order28. If a four-qubit chain can be flipped without changing the energy, the addition of a small transverse field can put this chain in symmetric superposition of its “up” and “down” states: . Maximizing these energetically favorable configurations leads to long-range order, in which the pseudospins align ferromagnetically11 (Supplementary Discussion). Order is defined as the average pseudospin, captured by the complex order parameter
2 |
where m1, m2, and m3 are magnetizations of the three sublattices partitioning the lattice spins, indicated by color in Fig. 1b (also Supplementary Fig. 2). The phase diagram of the model has been established through analysis of the scaling of the real order parameter m, which varies as a function of transverse field Γ, temperature T, and lattice width L (ref. 11).
Escape from topological obstruction
Our goal in this experiment is to measure the speed of equilibration in QA and PIMC simulations. A major limitation in probing QA dynamics is the lower bound on experimental timescales imposed by control circuitry19,21, in this case 1 μs. This limits our observations to slow equilibration processes. For the lattices under study, we have identified a slow mode in both QA and PIMC dynamics that can be attributed to topological winding in the pseudospin field. This slow equilibration signal can be amplified and observed clearly by initializing the simulation in a counterclockwise (CCW) or clockwise (CW) wound state, in addition to an ordered state with no topological obstruction (Fig. 1d and Supplementary Fig. 4). The pseudospin field rotates once (m = 0) or zero times () around the periodic boundary direction in these initializations. The timescale associated with the unwinding/winding of these initial conditions—which requires global reconfiguration of the state—is captured in the convergence of m to its equilibrium distribution.
In PIMC, convergence is quantized into Monte Carlo sweeps, providing a fine-grained time series of system evolution. In QA, we emulate this discrete process by using a “quantum evolution Monte Carlo” (QEMC) protocol11 that iterates over initialization, pause, and quench operations (Fig. 2a). We equilibrate Eq. (1) at annealing parameter s* at device physical temperature T as follows: we initialize the QA processor in a specified classical state (Fig. 1d) at s = 1, where both quantum and thermal fluctuations are negligible and dynamics are frozen, and then rapidly reduce s to s*; we then pause, evolving according to the system parameters H(s*) and T, for a duration tp ranging from 1 to 4 μs; we then quench the system, rapidly increasing s back to 1 and reading out a state projected to the computational basis. Iterating this process many times allows us to measure QA equilibration in steps, as a time series with microsecond resolution. Figure 2b shows this time-series convergence in terms of the average order parameter at time t, for QA and PIMC from each of the initial conditions to equilibrium.
The QA readout quench, a non-ideal approximation to projective readout, is a destructive process that eliminates entanglement and allows for some local relaxation of energy. However, as shown in the Supplementary Information (Supplementary Figs. 7 and 17), only the pause portion of the QEMC protocol contributes significantly to determining QA timescales, whereas the number and duration of initialize/quench interruptions has a small impact. Local relaxation in the quench boosts ; to model this in PIMC, we apply a fast classical greedy descent to projected states, resulting in roughly a 0.02 increase in that is recoverable (Supplementary Fig. 18). This simple model largely explains the discrepancy between QA and PIMC estimates (Fig. 2c). The remaining deviation between QA and PIMC we can attribute largely to disorder in the QA Hamiltonian, which suppresses at low temperatures. As with initialization/quench, this weak disorder does not significantly affect dynamics on longer timescales (Supplementary Fig. 16). Up to these small corrections, QA faithfully simulates not only the mean value of m, but the entire distribution (Fig. 2d). Moreover, it accurately simulates subtle details of winding asymmetry as seen in the pseudospin Fourier transform (Fig. 2e). In the Supplementary Discussion, we explore accuracy of winding and two-point correlation decay in greater detail.
We perform simulations over a range of QA parameters: annealing parameter s* ranges from 0.30 to 0.40, and physical temperature T ranges from 13.7 mK to 25.0 mK. This maps to a region in the (Γ/J, T/J) plane (Fig. 3a). Figure 3b, c shows quenched QA and PIMC estimates of and the deviation between them. Across a large swath of the parameter space, QA estimates of agree with quenched PIMC estimates to within 0.03; we discard experiments outside this tolerance.
Measuring computation time
The computational task performed by PIMC and QA is the equilibration of the simulated system with fixed Hamiltonian parameters. We quantify the speed of this process by measuring convergence of starting from initial states with CCW and CW winding (Fig. 1d)—this slow process is the computational bottleneck of the simulation. At the longest timescale, we find an exponential decay to provide a good fit (Fig. 2b), using the form
3 |
with fitting parameters m0, mf, and τ. To ensure quality of data, we measure convergence time t such that m(t) − mf = 0.05. The use of a fit and threshold method allows a lower variance estimator of the timescale, but quantitatively similar results are found in using the exponent (τ) or a direct non-parametric estimate of time to threshold from the data (Supplementary Fig. 6). The geometric mean of CCW and CW convergence times, which are close, are presented in Fig. 3d. QA timescales less than the minimum experimental resolution of 1 μs are discarded. We emphasize that as in other experimental investigations of QA performance scaling, we have ignored times such as programming and readout which are not associated with the physical dynamics we attempt to quantify, since they give the false appearance of flat scaling.
We now consider scaling of QA and PIMC convergence time as a function of temperature T, transverse field Γ, and lattice width L (Fig. 1a). We employ continuous-time PIMC code that updates four-qubit FM chains collectively, thereby obviating any local cluster bottleneck that might favor QA. This and potential alternatives are detailed in the Supplementary Discussion. Convergence timescales of both QA and PIMC increase as temperature decreases and as lattice width L increases (Fig. 4a, b). Testing the hypothesis that PIMC can act as a simulator of physical (QA) dynamics, we measure PIMC convergence in Monte Carlo sweeps, but find that QA and PIMC scaling differ significantly. The advantage of QA, given as the ratio of PIMC and QA convergence times, varies systematically not only in T and L, but also in Γ (Fig. 4c, d). Thus, the computational advantage conferred by the quantum hardware increases at harder parameterizations (increasing L and decreasing T) and as quantum mechanical effects increase (increasing Γ and decreasing T).
The scaling forms give us some information about quantum computational resources in this simulation. Both QA and PIMC scaling in J/T (Fig. 4a) resemble thermal activation t ∝ e−a/T with different exponents a, indicating that equilibration is not dominated by a global tunneling event whose timescale saturates at low temperature. On the other hand, QA is clearly accessing resources beyond the four-qubit scale, otherwise the four-qubit updates in PIMC would negate any scaling advantage. Therefore, QA equilibration in this system is governed by quantum processes that are neither fully global nor fully local.
The slow escape from topological obstruction allows us to observe QA equilibration longer than 1 μs, which is crucial to the measurement of QA dynamics. We have examined alternative classical estimators and found PIMC to be the strongest classical competition among standard estimators for TFIMs (see Supplementary Information, Section 5).
Discussion
We have experimentally demonstrated a computational scaling advantage over classical PIMC dynamics in simulating quantum magnetism with a programmable QA processor. In contrast to previous benchmarking studies21,29,30, our work shows not only a large absolute advantage, but also a scaling advantage for QA over the cluster-aware classical method in natural correspondence, on inputs that are of independent interest. Although PIMC is a leading classical approach to this type of simulation task, our study does not constitute a demonstration of superiority over all possible classical methods: there is a possibility that sophisticated algorithmic tricks or metaheuristic tools could accelerate PIMC. In the same vein, these tricks could be used to accelerate QA estimators in the form of hybrid algorithms. We expect the development and analysis of hybrid QA algorithms to be an active area of research in the coming years3,31.
These experiments provide evidence of a scaling advantage for QA over PIMC, and a detailed measurement of QA equilibration in a large frustrated system with high transverse field. This is essential evidence supporting the viability of QA as a computing platform. Far from being an artificial benchmark, the simulated lattice demonstrates the exotic topological phenomena that can arise in frustrated quantum Ising systems11. As Monte Carlo inference is an effective tool in the study of both idealized frustrated systems16,26 and real frustrated magnetic compounds such as Ca3Co2O6 (ref. 32) and TmMgGaO4 (ref. 33), our experiment is closely related to real-world applications.
These results constitute an encouraging milestone: a programmable quantum system can simulate quantum condensed matter far faster than the corresponding classical method, and with better scaling in problem size and hardness. Extensions of this work abound: related phenomena of great interest include material properties in the vicinity of a quantum critical point34, and dynamics of monopole excitations in artificial quantum spin ice35,36. Simulating these near the zero-temperature limit in QA would benefit from processors with more flexible lattice connectivity, higher coupling energy, lower noise, and improved projective readout. These programmable quantum simulations may ultimately be applied to the design of exotic new materials that are just beyond the computational horizon. The advantage reported in this work also opens the door to hybrid approaches that could be used to accelerate high-performance computing tasks. As various quantum computing technologies mature, we anticipate similar scaling advantages in the simulation of quantum systems—such demonstrations are crucial waypoints for the field as a whole.
Supplementary information
Acknowledgements
We are grateful to Tameem Albash, Itay Hen, Daniel Lidar, Vadim Smelyanskiy, Karsten Kreis, Juan Carrasquilla, and Stephen Face for helpful conversations.
Author contributions
A.D.K., J.R., T.L., S.V.I., M.M., and M.H.A. conceived the experiment and wrote the manuscript. G.P.L., S.E., W.B., I.O., A.Y.S., and M.R. performed the supporting experiments and device characterization. A.K., J.R., S.V.I., and W.B. designed and performed the PIMC experiments with logistical support provided by H.N. T.L., G.P.L., S.E., I.O., A.Y.S., M.R., F.A., M.B., C.B., A.J.B., J.B., P.I.B., H.C., C.E., B.E., R.H., E.H., S.H., K.J., A.K., N.L., R.L., P.A.L., A.J.R.M., D.M., G.M., T.M., R.M., R.N., M.N., T.O., I. Pavlov, I. Perminov, T.P., C.R., Y.S., B.S., G.S., L.J.S., N.T., M.H.V., J.D.W., W.W., J.Y., J.P.H., E.L., M.W.J., and M.H.A. designed, fabricated, and maintained the QA system.
Data availability
The datasets generated and analyzed during the current study are available from the corresponding author on reasonable request.
Code availability
Simplified PIMC code is available at https://github.com/dwavesystems/dwave-pimc. The open-source implementation is discussed in the Supplementary Information.
Competing interests
All authors except S.V.I., M.M., and H.N. are current or recent employees and/or shareholders of D-Wave, which designs, fabricates, and sells quantum annealing processors such as the one described in this work, and declare a competing financial interest on this basis. S.V.I., M.M., and H.N. declare no competing interests.
Footnotes
Peer review information Nature Communications thanks Shu Tanaka and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
These authors contributed equally: Jack Raymond, Trevor Lanting.
Supplementary information
The online version contains supplementary material available at 10.1038/s41467-021-20901-5.
References
- 1.Arute F, et al. Quantum supremacy using a programmable superconducting processor. Nature. 2019;574:505. doi: 10.1038/s41586-019-1666-5. [DOI] [PubMed] [Google Scholar]
- 2.Pednault, E., Gunnels, J. A., Nannicini, G., Horesh, L. & Wisnieff, R. Leveraging secondary storage to simulate deep 54-qubit sycamore circuits. Preprint at http://arxiv.org/abs/1910.09534 (2019).
- 3.Preskill J. Quantum computing in the NISQ era and beyond. Quantum. 2018;2:79. doi: 10.22331/q-2018-08-06-79. [DOI] [Google Scholar]
- 4.Keesling A, et al. Quantum Kibble-Zurek mechanism and critical dynamics on a programmable Rydberg simulator. Nature. 2019;568:207. doi: 10.1038/s41586-019-1070-1. [DOI] [PubMed] [Google Scholar]
- 5.Bando Y, et al. Probing the universality of topological defect formation in a quantum annealer: Kibble-Zurek mechanism and beyond. Phys. Rev. Res. 2020;2:033369. doi: 10.1103/PhysRevResearch.2.033369. [DOI] [Google Scholar]
- 6.Zhang J, et al. Observation of a many-body dynamical phase transition with a 53-qubit quantum simulator. Nature. 2017;551:601. doi: 10.1038/nature24654. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Jurcevic P, et al. Direct observation of dynamical quantum phase transitions in an interacting many-body system. Phys. Rev. Lett. 2017;119:080501. doi: 10.1103/PhysRevLett.119.080501. [DOI] [PubMed] [Google Scholar]
- 8.Roushan P, et al. Spectroscopic signatures of localization with interacting photons in superconducting qubits. Science. 2017;358:1175. doi: 10.1126/science.aao1401. [DOI] [PubMed] [Google Scholar]
- 9.Hensgens T, et al. Quantum simulation of a Fermi-Hubbard model using a semiconductor quantum dot array. Nature. 2017;548:70. doi: 10.1038/nature23022. [DOI] [PubMed] [Google Scholar]
- 10.Harris R, et al. Phase transitions in a programmable spin glass simulator. Science. 2018;165:162. doi: 10.1126/science.aat2025. [DOI] [PubMed] [Google Scholar]
- 11.King AD, et al. Observation of topological phenomena in a programmable lattice of 1,800 qubits. Nature. 2018;560:456. doi: 10.1038/s41586-018-0410-x. [DOI] [PubMed] [Google Scholar]
- 12.Feynman RP. Simulating physics with computers. Int. J. Theor. Phys. 1982;21:467. doi: 10.1007/BF02650179. [DOI] [Google Scholar]
- 13.Johnson MW, et al. Quantum annealing with manufactured spins. Nature. 2011;473:194. doi: 10.1038/nature10012. [DOI] [PubMed] [Google Scholar]
- 14.Loh EY, et al. Sign problem in the numerical simulation of many-electron systems. Phys. Rev. B. 1990;41:9301. doi: 10.1103/PhysRevB.41.9301. [DOI] [PubMed] [Google Scholar]
- 15.Suzuki M. Relationship between d-dimensional quantal spin systems and (d+1)-dimensional Ising systems: equivalence, critical exponents and systematic approximants of the partition function and spin correlations. Prog. Theor. Phys. 1976;56:1454. doi: 10.1143/PTP.56.1454. [DOI] [Google Scholar]
- 16.Isakov SV, Moessner R. Interplay of quantum and thermal fluctuations in a frustrated magnet. Phys. Rev. B. 2003;68:104409. doi: 10.1103/PhysRevB.68.104409. [DOI] [Google Scholar]
- 17.Kadowaki T, Nishimori H. Quantum annealing in the transverse Ising model. Phys. Rev. E. 1998;58:5355. doi: 10.1103/PhysRevE.58.5355. [DOI] [Google Scholar]
- 18.Boixo S, et al. Evidence for quantum annealing with more than one hundred qubits. Nat. Phys. 2014;10:218. doi: 10.1038/nphys2900. [DOI] [Google Scholar]
- 19.Rønnow TF, et al. Defining and detecting quantum speedup. Science. 2014;345:420. doi: 10.1126/science.1252319. [DOI] [PubMed] [Google Scholar]
- 20.Brady LT, van Dam W. Quantum Monte Carlo simulations of tunneling in quantum adiabatic optimization. Phys. Rev. A. 2016;93:032304. doi: 10.1103/PhysRevA.93.032304. [DOI] [Google Scholar]
- 21.Albash T, Lidar DA. Demonstration of a scaling advantage for a quantum annealer over simulated annealing. Phys. Rev. X. 2018;8:031016. [Google Scholar]
- 22.Mbeng GB, Privitera L, Arceci L, Santoro GE. Dynamics of simulated quantum annealing in random Ising chains. Phys. Rev. B. 2019;99:064201. doi: 10.1103/PhysRevB.99.064201. [DOI] [Google Scholar]
- 23.Isakov SV, et al. Understanding quantum tunneling through quantum Monte Carlo simulations. Phys. Rev. Lett. 2016;117:180402. doi: 10.1103/PhysRevLett.117.180402. [DOI] [PubMed] [Google Scholar]
- 24.Andriyash, E. & Amin, M. H. Can quantum Monte Carlo simulate quantum annealing? Preprint at https://arxiv.org/abs/1703.09277 (2017).
- 25.Kechedzhi, K. et al. Efficient population transfer via non-ergodic extended states in quantum spin glass. In 13th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2018), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 111 (ed. Jeffery, S.) 9:1–9:16 (Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, Dagstuhl, Germany, 2018).
- 26.Moessner R, Sondhi SL. Sondhi, Ising models of quantum frustration. Phys. Rev. B. 2001;63:1. doi: 10.1103/PhysRevB.63.224401. [DOI] [Google Scholar]
- 27.Moessner R, Ramirez AP. Geometrical frustration. Phys. Today. 2006;59:24. doi: 10.1063/1.2186278. [DOI] [Google Scholar]
- 28.Wannier GH. The triangular Ising net. Phys. Rev. 1950;79:357. doi: 10.1103/PhysRev.79.357. [DOI] [Google Scholar]
- 29.Denchev VS. What is the computational value of finite-range tunneling? Phys. Rev. X. 2016;6:031015. [Google Scholar]
- 30.Mandrà S, Zhu Z, Wang W, Perdomo-Ortiz A, Katzgraber HG. Strengths and weaknesses of weak-strong cluster problems: a detailed overview of state-of-the-art classical heuristics versus quantum approaches. Phys. Rev. A. 2016;94:1. doi: 10.1103/PhysRevA.94.022337. [DOI] [Google Scholar]
- 31.Morley JG, Chancellor N, Bose S, Kendon V. Quantum search with hybrid adiabatic-quantum-walk algorithms and realistic noise. Phys. Rev. A. 2019;99:1. doi: 10.1103/PhysRevA.99.022339. [DOI] [Google Scholar]
- 32.Kamiya Y, Batista CD. Formation of magnetic microphases in Ca3Co2O6. Phys. Rev. Lett. 2012;109:2. doi: 10.1103/PhysRevLett.109.067204. [DOI] [PubMed] [Google Scholar]
- 33.Li H, et al. Kosterlitz-Thouless melting of magnetic order in the triangular quantum Ising material TmMgGaO4. Nat. Commun. 2020;11:1111. doi: 10.1038/s41467-020-14907-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Sachdev, S. Quantum Phase Transitions (Cambridge University Press, 2011).
- 35.Henry L-P, Roscilde T. Order-by-disorder and quantum Coulomb phase in quantum square ice. Phys. Rev. Lett. 2014;113:1. doi: 10.1103/PhysRevLett.113.027204. [DOI] [PubMed] [Google Scholar]
- 36.Farhan A, et al. Emergent magnetic monopole dynamics in macroscopically degenerate artificial spin ice. Sci. Adv. 2019;5:1. doi: 10.1126/sciadv.aav6380. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The datasets generated and analyzed during the current study are available from the corresponding author on reasonable request.
Simplified PIMC code is available at https://github.com/dwavesystems/dwave-pimc. The open-source implementation is discussed in the Supplementary Information.