Exact sampling hardness of Ising spin models
Bill Fefferman, Michael Foss-Feig, and Alexey V. Gorshkov

TL;DR
This paper demonstrates that classically sampling from the output distribution of certain Ising spin models is computationally hard, linking quantum dynamics to complex computational problems and extending the understanding of quantum sampling hardness.
Contribution
The paper constructs a specific Ising Hamiltonian whose exact output sampling is classically hard, advancing the classification of quantum sampling problems and connecting to complexity theory.
Findings
Exact sampling from the Ising model is computationally hard.
The results extend the classification of two-qubit commuting Hamiltonians.
Physical implementations may soon reach problem sizes where classical sampling is infeasible.
Abstract
We study the complexity of classically sampling from the output distribution of an Ising spin model, which can be implemented naturally in a variety of atomic, molecular, and optical systems. In particular, we construct a specific example of an Ising Hamiltonian that, after time evolution starting from a trivial initial state, produces a particular output configuration with probability very nearly proportional to the square of the permanent of a matrix with arbitrary integer entries. In a similar spirit to BosonSampling, the ability to sample classically from the probability distribution induced by time evolution under this Hamiltonian would imply unlikely complexity theoretic consequences, suggesting that the dynamics of such a spin model cannot be efficiently simulated with a classical computer. Physical Ising spin systems capable of achieving problem-size instances (i.e. qubit…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Exact sampling hardness of Ising spin models
B. Fefferman
Joint Center for Quantum Information and Computer Science, NIST/University of Maryland, College Park, MD 20742 USA
M. Foss-Feig
United States Army Research Laboratory, Adelphi, MD 20783, USA
Joint Quantum Institute, NIST/University of Maryland, College Park, MD 20742 USA
Joint Center for Quantum Information and Computer Science, NIST/University of Maryland, College Park, MD 20742 USA
A. V. Gorshkov
Joint Quantum Institute, NIST/University of Maryland, College Park, MD 20742 USA
Joint Center for Quantum Information and Computer Science, NIST/University of Maryland, College Park, MD 20742 USA
Abstract
We study the complexity of classically sampling from the output distribution of an Ising spin model, which can be implemented naturally in a variety of atomic, molecular, and optical systems. In particular, we construct a specific example of an Ising Hamiltonian that—after time evolution starting from a trivial initial state—produces a particular output configuration with probability very nearly proportional to the square of the permanent of a matrix with arbitrary integer entries. In a similar spirit to BosonSampling, the ability to sample classically from the probability distribution induced by time evolution under this Hamiltonian would imply unlikely complexity theoretic consequences, suggesting that the dynamics of such a spin model cannot be efficiently simulated with a classical computer. Physical Ising spin systems capable of achieving problem-size instances (i.e. qubit numbers) large enough so that classical sampling of the output distribution is classically difficult in practice may be achievable in the near future. Unlike BosonSampling, our current results only imply hardness of exact classical sampling, leaving open the important question of whether a much stronger approximate-sampling hardness result holds in this context. As referenced in a recent paper of Bouland, Mancinska, and Zhang Bouland et al. (2016), our result completes the sampling hardness classification of two-qubit commuting Hamiltonians.
I Introduction
It is often taken for granted that quantum computers can efficiently perform certain computational tasks that classical computers cannot. But finding a quantum task that, on the one hand, admits compelling complexity-theoretic arguments against efficient classical simulation, and on the other hand admits experimental demonstration with technology that is feasible in the near future, remains an important and challenging task in the field of quantum information science. An extremely exciting line of work, starting with results of Terhal and DiVincenzo and Bremner, Jozsa, and Shepherd, has shown that quantum computers are capable of sampling from distributions that cannot be sampled exactly by randomized classical algorithms Terhal and DiVincenzo (2004); Bremner et al. (2010). The BosonSampling protocol Aaronson and Arkhipov (2013), proposed by Aaronson and Arkhipov, gives a hardness of sampling result that may be within reach for near-term quantum experiments. The basic idea is to send photons through a network of linear optical devices, arranged in such a way that the probabilities of typical output configurations of the photons are proportional to the squares of permanents of matrices with independent and Gaussian-distributed random entries. Given reasonable assumptions about the hardness of computing permanents of such matrices, the ability to efficiently classically sample from any distribution even close (in total variation distance) to this distribution would imply extremely unlikely complexity theoretic consequences.
A number of proof-of-principle experiments implementing BosonSampling have already been carried out Broome et al. (2013); Spring et al. (2013); Tillmann et al. (2013); Crespi et al. (2013). However, a remaining bottleneck to producing an experimentally convincing demonstration of BosonSampling is the technical difficulty of building linear-optical systems that are large enough and clean enough to realize BosonSampling instances for which classical sampling is actually difficult. By comparison, state preparation and readout of individual spins can be done with high fidelity and relative ease, and the ability to massively parallelize spin-spin interactions between large numbers of qubits is reasonably sophisticated; experiments have successfully implemented some simple instances of the Ising model with system sizes ranging from tens Richerme et al. (2014) to many hundreds of spins Bohnet et al. (2016). Moreover, recent developments in ion-trapping experiments raise the exciting prospect of implementing arbitrary Ising interaction graphs in systems of (potentially) many tens of trapped ions Debnath et al. (2016). For this reason, finding results analogous to BosonSampling for simple spin models is highly desirable, and potentially affords a simpler route towards the experimental demonstration of an efficient quantum task that, under extremely plausible assumptions about classical complexity theory, cannot be efficiently performed by a classical system Bremner et al. (2010); Peropadre et al. (2015).
Our goal in this manuscript is to show that the dynamics of an experimentally implementable commuting spin model—the Ising model with no transverse field—can induce an output distribution over the spin states that is hard to sample from classically. The general strategy, which will be elaborated on below, is to divide a set of Ising spins into two mutually interacting registers, each having spins (see Fig. 1). The spins in the first and second register can be placed in correspondence with the row and column labels, respectively, of an matrix ; each of the pairwise Ising couplings between a spin () in one register and a spin () in the other is a matrix element of . By initializing the system in a spatially homogeneous product state and then letting it evolve under Ising interactions for a short time, it can be shown that a single probability of the output distribution induced by measurement is proportional to the square of the permanent of , plus an correction. This is enough, using a tool known as “Stockmeyer counting” Stockmeyer (1985), to imply a hardness of “exact sampling” result: no efficient classical randomized algorithm can sample from exactly this distribution, under a ubiquitous hardness assumption (namely, that the Polynomial-time Hierarchy does not collapse). Note that in a recent paper Peropadre et al. (2015), BosonSampling was directly generalized to the context of spin Hamiltonians. However, our work encounters the permanent in a fundamentally different way; an important difference is that our results do not rely on a “diluteness criterion”, and thus is set by—as opposed to much less than—the number of physical qubits. Much like other “exact sampling” results, our result also demonstrates hardness to classically sample from any distribution in which all probabilities are within a constant multiplicative factor of the ideal quantum distribution. However, unlike BosonSampling, a recent proposal of Bremner, Montanaro and Shepherd (sometimes called “IQP” sampling), and Quantum Fourier Sampling, it is not yet clear whether the distributions we consider can be used to show an “approximate-sampling” hardness result Aaronson and Arkhipov (2013); Bremner et al. (2010); Fefferman and Umans (2016). This would show something far stronger: there is no classical algorithm that can sample from any distribution inverse polynomial in total variation distance from the ideal quantum distribution.
II The model
The model we consider consists of spin-1/2 particles, which we divide into two sublattices of spins each, denoted and (blue and red spins in Fig. 1). We consider quench dynamics under an Ising Hamiltonian with exclusively two-body inter-sublattice interactions (but no interactions within either sublattice), which can take arbitrary integer values,
[TABLE]
Here, Pauli operators act on the spins of sublattice , while Pauli operators act on the spins of sublattice . These spins could be, for example, two subsets of ions in a Paul trap, where the and are, respectively, the electronic ground state and some long-lived metastable state (in general either an excited hyperfine level of the electronic ground-state manifold or a dipole-forbidden optical excitation). The Ising interactions can then be implemented via a spatially-structured Mølmer-Sørensen interaction Mølmer and Sørensen (1999); Korenblit et al. (2012); Debnath et al. (2016).
We consider a quantum quench in which the system is initialized at time with all of the spins (in both registers) in the spin-down state along the -direction,
[TABLE]
We then allow the system to evolve under the Hamiltonian in Eq. (1) for a time .
III Output distribution
After evolution for a time under the action of , measurement in the basis samples from the induced probability distribution
[TABLE]
where . We are interested in just one such probability,
[TABLE]
to end in the state with all spins in both registers pointing up. By writing an individual term in the Hamiltonian as
[TABLE]
it is straightforward to see that repeated applications of , and thus time evolution, generates population in all possible spin states in the basis. Expanding as a power series in time, the lowest-order in time non-vanishing contribution to the matrix element arises at order , because every spin needs to be flipped at least once. The contributing terms contain exactly powers of operators , with no repetitions of the indices and , so that each qubit gets flipped from to exactly one time; see Fig. 2 for an illustration of such a term for . It is straightforward to show that, to order , the matrix element is given by
[TABLE]
where the summation is over all permutations of the integers . As a result, and defining , we have
[TABLE]
We next aim to place a constraint on how must scale with in order to ensure that the additive error to the permanent is with respect to the system size .
IV Higher orders in time
As discussed above, the lowest-order in time contribution to the matrix element comes at order . It is not hard to see that all other contributing terms occur at order such that is a positive even integer. In particular, take to be the number of times an operator occurs inside the matrix element, and similarly for , , and , such that . Since we need to flip the same number of qubits in both registers, we must have . Also, the total number of flipped qubits is equal to , and since all qubits need to be flipped, we have . Now, defining to be the parity of the integer , we have
[TABLE]
which shows that is an even integer. The matrix element in question can therefore be expanded as
[TABLE]
and from above we have
[TABLE]
Defining , such that , we can write
[TABLE]
where
[TABLE]
For notational simplicity, here we will assume that the entries of are drawn from the set ; note that nothing about our argument would change if arbitrary integers were used, except that the time would be rescaled in the bounds below by . Using , can be bounded as . Therefore,
[TABLE]
The final inequality in Eq. (13) is valid for , because whenever . Plugging Eqs. (12,13) into Eq. (11) leads to
[TABLE]
with the final inequality obtained by Stirling’s approximation. It follows immediately that is guaranteed as long as
[TABLE]
V Hardness of sampling
Here we prove our main theorem, establishing a very unlikely complexity theoretic consequence which would arise naturally from the presumed existence of a classical algorithm that samples exactly from the output distribution described in the prior sections. Similar arguments to the one sketched here are implicit in other works on quantum hardness of sampling results starting with the BosonSampling proposal Aaronson and Arkhipov (2013).
We first begin with a very brief overview of the computational complexity theoretic components necessary to understand this hardness of sampling result. Computing exactly the permanent of an matrix with integer entries is as hard as computing the number of satisfying assignments to a boolean formula. We therefore say it is a -hard problem, as established by Valiant Valiant (1979). When has nonnegative integer entries this problem is also in .
For our purposes, we will be interested in the complexity of computing multiplicative estimates to the permanent. We say an algorithm efficiently computes a multiplicative estimate to a function if, given input , the output of is within a multiplicative factor of in time polynomial in and . A famous result of Jerrum, Sinclair and Vigoda gives an algorithm for efficiently computing a multiplicative estimate to the permanent of a matrix with nonnegative entries Jerrum et al. (2004). On the other hand, it can be shown using a binary search and padding argument that computing such an estimate to the permanent (or even the square of the permanent) of a matrix with general integer entries is in fact -hard (see e.g., Aaronson and Arkhipov (2013); Aaronson (2011)). Therefore computing these estimates are as hard as computing the permanent exactly. How powerful is ? We know from Toda’s Theorem that any problem in the Polynomial-time hierarchy, or , can be solved using the ability to solve a -hard problem Toda (1991). Being a bit more formal, Toda’s theorem tells us that .
Now, for any matrix define to be the outcome distribution from Section III that arises from starting in the state, evolving for a particular time under the action of the Hamiltonian from Eq. (1) with coupling constants set to the entries of , and measuring in the basis. As shown in Sections III and IV, the probability of observing the outcome at time is proportional to the square of the permanent of plus an correction, provided that is chosen to be . Notice that this probability is exponentially small. Therefore, to get any reasonable estimate by repeated sampling we would need an exponential number of samples. Indeed, this does not imply an efficient quantum algorithm for computing the permanent. Nonetheless, we can use the fact that a single exponentially small amplitude is proportional to the permanent to argue about the classical intractability of sampling from this distribution.
Suppose we have an efficient classical sampler which samples from the same distribution. We define this to be an efficient randomized algorithm that takes as input an integer matrix and outputs a sample from the distribution . A classic result of Stockmeyer gives an algorithm for computing a multiplicative estimate to the probability of any given outcome of an efficient classical sampler in the third level of the , or Stockmeyer (1985). Using this result, together with the presumed existence of an efficient classical sampler for our quantum distribution, we can compute a multiplicative estimate to the square of the permanent of an arbitrary integer matrix in the third level of the . As mentioned above, this is a -hard problem. This tells us we can solve any problem in in the third level of the Polynomial-time hierarchy, or formally, that . Combining this with Toda’s theorem, we have that , and so the entire Polynomial-time Hierarchy collapses to the third level, as claimed. Therefore, it is very unlikely that an efficient classical sampler for the distribution with probabilities given by Eq. (3) exists.
VI Discussion and implications
These results extend several key ideas of BosonSampling to the context of spin dynamics under Ising spin Hamiltonians. Just like non-interacting bosons, the Ising model without a transverse field is often viewed—from the perspective of many-body quantum physics—to be trivial, since it can be trivially diagonalized. However, just as with non-interacting bosons, this point of view stems from a restricted notion of what it means to “simulate” a quantum system. As in the case of non-interacting bosons, it is indeed classically efficient to compute low-order correlation functions of operators in the model we study van den Worm et al. (2013); Foss-Feig et al. (2013), but sampling from the output distribution is simply a more general (and less trivial) task.
Another interesting motivation for our result comes from the desire to classify all two-qubit commuting Hamiltonians. Suppose we start in a computational basis state of qubits, and can apply a fixed two-qubit Hamiltonian to any pair of qubits. A recent result of Bouland, Mancinska, and Zhang gave a hardness of sampling classification for this model Bouland et al. (2016). They prove, in all cases except the one we consider (in which the two qubit Hamiltonian is ) that the corresponding sampling task is classically hard, as long as the commuting Hamiltonian is capable of generating entanglement from a computational basis state. Otherwise, the output is in a product state and clearly classically simulable. Thus our hardness result completes the sampling hardness classification of the complete class of two-qubit commuting Hamiltonians (see their paper for additional details Bouland et al. (2016)).
VII Acknowledgments
We thank A. Deshpande and A. Bouland for helpful discussions. We also thank A. Bouland, Laura Mancinska and Xue Zhang for sharing an early version of their results. A.V.G. acknowledges support by ARL CDQI, ARO MURI, NSF QIS, ARO, NSF PFC at JQI, and AFOSR. This material is based upon work supported by, or in part by, the U. S. Army Research Laboratory and the U. S. Army Research Office under contract/grant number 025989-001.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Bouland et al. (2016) A. Bouland, L. Mancinska, and X. Zhang, in 31st Conference on Computational Complexity, CCC 2016, May 29 to June 1, 2016, Tokyo, Japan (2016) pp. 28:1–28:33. · doi ↗
- 2Terhal and Di Vincenzo (2004) B. M. Terhal and D. P. Di Vincenzo, Quantum Information and Computation 4 , 134 (2004) .
- 3Bremner et al. (2010) M. J. Bremner, R. Jozsa, and D. J. Shepherd, Proceedings of the Royal Society of London A: Mathematical, Physical and Engineering Sciences 467 , 459 (2010) . · doi ↗
- 4Aaronson and Arkhipov (2013) S. Aaronson and A. Arkhipov, Theory of Computing 9 , 143 (2013) .
- 5Broome et al. (2013) M. A. Broome, A. Fedrizzi, S. Rahimi-Keshari, J. Dove, S. Aaronson, T. C. Ralph, and A. G. White, Science 339 , 794 (2013) . · doi ↗
- 6Spring et al. (2013) J. B. Spring, B. J. Metcalf, P. C. Humphreys, W. S. Kolthammer, X.-M. Jin, M. Barbieri, A. Datta, N. Thomas-Peter, N. K. Langford, D. Kundys, J. C. Gates, B. J. Smith, P. G. R. Smith, and I. A. Walmsley, Science 339 , 798 (2013) . · doi ↗
- 7Tillmann et al. (2013) M. Tillmann, B. Dakic, R. Heilmann, S. Nolte, A. Szameit, and P. Walther, Nat. Photon 7 , 540 (2013) . · doi ↗
- 8Crespi et al. (2013) A. Crespi, R. Osellame, R. Ramponi, D. J. Brod, E. F. Galvao, N. Spagnolo, C. Vitelli, E. Maiorino, P. Mataloni, and F. Sciarrino, Nat. Photon 7 , 545 (2013) . · doi ↗
