Abstract
The quantum approximate optimization algorithm (QAOA) was originally proposed to find approximate solutions to combinatorial optimization problems on quantum computers. However, the algorithm has also attracted interest for sampling purposes since it was theoretically demonstrated under reasonable complexity assumptions that one layer of the algorithm already engineers a probability distribution beyond what can be simulated by classical computers. In this regard, a recent study has also shown that, in universal Ising models, this global probability distribution resembles pure but thermal-like distributions at a temperature that depends on the internal correlations of the spin model. In this work, through an interferometric interpretation of the algorithm, we extend the theoretical derivation of the amplitudes of the eigenstates and the Boltzmann distributions generated by a single-layer QAOA. We also review the implications of this behavior from practical and fundamental perspectives.
1 Introduction
Variational quantum algorithms (VQAs) are a promising framework for solving computationally hard tasks (; ). These algorithms are based on a quantum circuit with tunable parameters acting as an ansatz. Finding the minimum energy state among a discrete set of possible solutions (combinatorial optimization problems) (; ) and drawing samples from a classical probability distribution (sampling problems) (; ) are two examples of worthwhile challenges addressed in this framework.
Among the plethora of proposed VQAs, the quantum approximate optimization algorithm (QAOA) () has received special attention from the scientific community, with remarkable empirical and theoretical results on the algorithm’s performance (; ; ). The ansatz of the QAOA is inspired by a Trotterized adiabatic evolution capable of approximating the minimum energy state of a given cost function. An advantage of the practical implementation of the QAOA is that the number of variational parameters in the quantum circuit to be optimized is independent of the problem size; in contrast, the depth of the circuit increases with the quality of the approximation of the fundamental state.
Beyond its original use in approximating ground states, the QAOA has recently demonstrated utility from a global sampling perspective (). It has been shown that the shallowest version of the algorithm produces a probability distribution that cannot be simulated by classical computation because otherwise, the polynomial hierarchy would collapse. Therefore, sampling the QAOA circuit in some variational parameter ranges could exhibit quantum supremacy (), which is understood as a task that can be more efficiently done using a quantum computer than a classical one. This result is connected to previous demonstrations of the hardness of simulating quantum circuits, for instance, Boson sampling () or instantaneous quantum polynomial time (IQP) circuits (, ).
Despite the importance of this theoretical result, it gives no clue about the nature of the probability distribution generated by the QAOA, nor whether sampling from it has any practical interest beyond combinatorial optimization or a quantum supremacy demonstration. Following this direction, we studied the global structure and probability distribution in the energy space of the single-layer QAOA ansatz in . In that letter, we provide evidence for a clear connection between the QAOA and thermal distribution sampling with probability amplitude distributions resembling Boltzmann distributions at low temperatures. We call such distributions QAOA pseudo-Boltzmann states. The excellent performance of QAOA revealed at temperatures below the state-of-the-art theoretical limit to fast mixing of Markov Chain Monte Carlo methods ().
In the current manuscript, we expand the theoretical derivation of pure thermal-like QAOA states introduced in . More specifically, we extend the discussion of single-layer QAOA amplitudes by portraying the algorithm as an energy interferometer and providing details on the mathematical derivation of the pseudo-Boltzmann states. We also provide further justification for the assumption of normality in the internal spin model correlations, extend the study of the evolution of the probability distribution with the mixing angle, and shed more light on the implications of these results.
The paper is structured as follows: first, in Section 2, we review the main ingredients of the quantum approximate optimization algorithm and introduce an intuitive picture of the QAOA as an interferometer in energy space. In Section 3.1, we extend the interferometric picture to the multilayer scenario and derive the analytical amplitudes of the final wave function. In Section 3.2, we specify the results of the previous section to the case where an Ising model Hamiltonian defines the cost function. We detail the internal correlations between the eigenstates of the Hamiltonian in degenerate and non-degenerate scenarios, leading to a closed expression for the probability amplitudes of the QAOA wavefunction. We connect such probability amplitudes to the sampling of Boltzmann or thermal-like distributions in Section 4 and also analyze the features that these results reveal about the distribution behavior as we change the variational parameters of the algorithm. We conclude with a perspective on the importance of the pseudo-Boltzmann QAOA states and approximate thermal sampling in Section 5.
2 Interferometric interpretation of the QAOA
2.1 The quantum approximate optimization algorithm
The QAOA aims to find good approximate solutions to combinatorial optimization problems () that are defined by a classical objective function E(x) mapping N-binary strings to real values:The algorithm’s goal is to find a binary string x* that minimizes the function Emin ≡ minxE(x), or at least that achieves a good approximation ratio r ∈ [0, 1].This optimization problem is equivalent to finding the ground state of a spin Hamiltonian , where each binary variable xi describes the state of one spin as :
A well-known approach to solving these problems is the quantum adiabatic algorithm (QAA), which ensures the achievement of the global minimum given a sufficiently long run time T (; ). The adiabatic protocol is guided by a time-dependent Hamiltonian, such aswhere with being the Pauli operator acting on the ith qubit and f(x) is the schedule function with f(0) = 0 and f(1) = 1. The adiabatic theorem guarantees that a sufficiently slow time evolution will keep the system in its ground state. Thus, an evolution that starts with the ground state of ,will approximately bring the system to the ground state of ,To ensure success, the runtime T must scale as , where Δmin is the minimum spectral gap (). The QAOA proposes a Trotterized approximation to adiabatic evolution consisting of a quantum circuit built by the alternation of the following two operators:with H denoting single-qubit Hadamard gates, andwhere γ = (γ1, γ2, …, γp) and θ = (θ1, θ2, …, θp) are set of variational angles that can be tuned to approximate the ground state of the cost Hamiltonian and p is the number of layers that determines the depth of the quantum circuit and the accuracy of the algorithm. The infinite depth limit p → ∞ returns the adiabatic evolution, showing that we can get a good enough approximation to the minimum of the optimization problem for sufficiently large p.
2.2 The QAOA as an interferometer in energy space
Let us highlight the QAOA’s potential in small-depth regimes by introducing an interpretation of the QAOA’s circuit as an interferometer operating globally in energy space. We will derive analytical results for the interference amplitude in later sections, focusing on the p = 1 single-layer ansatz (see Eq. 7):
As sketched in Figure 1, the Hadamard gate splits the quantum state |0⟩ into a superposition of all states in the computational basis, acting like a multidimensional “mirror”:Then, the evolution with the diagonal cost Hamiltonian , given by the operator , imparts phases on all states, acting like the branches of the interferometer:Finally, the mixing operator Rx(θ)⊗N recombines the energy states so that the interference transforms the energy-dependent relative phases in measurable probability amplitudes:
FIGURE 1
This intuition is much clearer when looking at the algorithm operating on a single qubit, with rotation Rx(θ):Consider the following two-state subspace:where xi = {0, 1} (so x0 and x1 differ by only 1 bit), with energies and . The probability amplitudes before the local interference arerespectively. After applying the local gate in Eq. 14 on the qubit that corresponds to the different bit, the interference shifts the amplitudes to and :where . Thus, the probability amplitudes becomeNote that the relative phase between the states controls the amplification. Therefore, assuming and γ > 0 or vice versa and provided the angle γ is sufficiently small, the interference term always increases the population of the lowest energy state and reduces that of the other. Furthermore, Eq. 17 also reflects how the relative sign between and γ controls the direction of optimization. The probability amplitude of the lowest/highest energy state is enhanced when the signs are opposite/equal.
This interferometric behavior expanded to the N-level scenario imposes non-trivial, structure-dependent upper bounds on the |θ| and |γ| angles to avoid symmetries and random scrambling of the energy states. In particular, Eq. 17 shows that for the single-qubit interference:with . The N-qubit interference makes this picture richer and more complicated, as derived in the next sections. Analytical and numerical results for the single-layer QAOA on general Ising spin models show that the optimal |γ| for an N-qubit system actually scales as (; ), where |e| is the number of edges or non-null elements in the coupling matrix J (see Eq. 27). For instance, in the two-level system the probability of measuring the ground state |σz = −1⟩ and the highest energy state |σz = +1⟩ iswhich is maximal with optimal angles and (see Figure 2).
FIGURE 2
3 Multi-level interferometer amplitude
3.1 General scenario
Let us extend the two-level picture to a general framework dealing with the complete interference spectrum of a single-layer QAOA circuit. We focus on how the QAOA transforms the wavefunction amplitudes:where x is any eigenstate in the energy spectrum that we will denote as the reference state. As previously shown, a local Rx rotation acting on the ith qubit mixes the amplitude between each state x with the corresponding state x′ that differs only on the value of the ith bit (see Eq. 17). Thus, the action of the whole mixing operator is that of a complete mixing between all states in the computational basis:The weight of each mixing process depends on the number of bits that must be flipped to go from one state x to the other x′, that is, the Hamming distance between both states, and also on the oscillating terms induced by the angles θ and γ. The amplitude of the state generated by the algorithm after the mixing operator is given by an interference formula,where is the Hamming distance between two bit configurations x and x′ that represent the eigenstates of a spin model with energy Ex and . We can unify the weight sum terms into a single exponential by the following change of variables in which the rotation angle θ is reparameterized in terms of an exponent r and a normalization R,where, due to the symmetries of the interference, we consider without loss of generality. The sign of γ allows us to define if the interference increases the population of lower or higher energy states so that we cover all the possibilities. By this transformation, the interference amplitudes in Eq. 22 become a sum of exponentials over the entire configuration space,
Because Eq. 24 encompasses all eigenstates of the system encoded in its energy and Hamming distance with the reference state x, it is convenient to introduce a probability distribution relating distances in the computational base to the energy spectrum,
This expression represents the relative number of eigenstates that, given a reference state x, have a Hamming distance H to that state and energy equal to E. In other words, this distribution captures the internal correlations inherent to the specific spin model. With this definition at hand, we can express the previous sum in Eq. 24 as the average over this probability distribution:Hence, the interference amplitude in Eq. 20 depends on the structure of the energy levels of the spin system manifested in the probability distribution p(H, E; x). In the following sections, we study such a structure to derive a unified expression of the QAOA probability amplitudes for universal Ising spin models.
3.2 Ising models
Next, we focus on a universal set of non-deterministic polynomial time hard (NP-hard) Ising models () and derive this scenario’s interference probability amplitude formula.
A broad spectrum of combinatorial optimization problems can be represented as a spin model described by an Ising Hamiltonian (),where s = {−1,+1}N, N is the number of variables, J is an N-by-N square coupling matrix, and the magnetic field h is a vector of N coefficients. The quantum version of this Hamiltonian is simply obtained by replacing the spin variables s with the corresponding Pauli-Z matrices σz. The coupling matrix defines a structure in the problem that can be represented by a weighted graph with N vertices, connected by undirected edges i ↔ j that have associated weights Jij, Jji. In this work, we study families of models in which the Jij coefficients are randomly drawn from a normal distribution N(μ = 0, σ2).
This structure, together with the magnetic field values, defines families of optimization problems with different inner correlations and degeneracies. In the following subsections, we derive the interference amplitude for two scenarios that involve distinct energy level structures due to intrinsic global symmetries in the model. These differences necessitate a separate study of each case. Nevertheless, as explained below, the slightly different behaviors of these models converge to a common expression of the QAOA probability amplitude distribution |F(x)|2 in Eq. 20. The two scenarios are represented by two well-known combinatorial optimization problems: quadratic unconstrained binary optimization (QUBO) (; ), with a non-degenerate energy spectrum, and the maximum cut (MaxCut) (; ; ), which exhibits a global symmetry.
3.2.1 Non-degenerate Ising models
The family of QUBO problems is composed of NP-hard binary combinatorial optimization problems with the following associated cost function:where x ∈ {0,1}N, and Q is an N-by-N square matrix. The mapping of Eq. 28 to the Ising Hamiltonian in Eq. 27, , leads towhere J = Q and hj = ∑i(Qij + Qji)/2. We consider Q matrices where the non-zero coefficients are randomly drawn from a standard normal distribution N(μ = 0, σ2 = 1). Note that the optimization of the function in Eq. 29 is then equivalent to that of Eq. 28.
The cost function in Eq. 29 exhibits no global symmetries. In such non-degenerate situations, the eigenstates appear to be ordered from low to excited states, developing a unique probability distribution p(H, E; x) that is centered at the center of the spectrum and shows a remarkable correlation between and . Such behavior can be observed in Figure 3. Here, we plot the distribution in the Hamming distance-energy plane of 25,000 samples drawn from a continuous approximation to p(H, E; x) of a single instance of QUBO. Specifically, we first estimate the continuous probability density function by a kernel density estimation (KDE) on the actual discrete instance data (all and pairs). Then, we sample from such density function to obtain the plotted distributions. We also perform a fitting of the final distribution to a Gaussian mixture of one or two Gaussians using variational inference and plot the corresponding confidence ellipsoid. This fit was obtained with the BayesianGaussianMixture method of the Python package scikit-learn (). We show the result for x being the ground state (a) and the highest energy state (c). For the sake of clarity, let us consider the upper-left plot, which illustrates the probability distribution p(H, E; x) for the reference state x as the ground state. All alternative states x′ possess higher energy values than Ex. The difference shows a potential correlation with the number of spin flips required to transition from x to x′, that is, the Hamming distance . This positive correlation is evident through the presence of a Gaussian function oriented along a diagonal. In contrast, opting for x as the highest energy state (bottom-left plot) reveals an opposite trend: the greater the number of spin flips, the lower the energy level. The Gaussian orientation depends on the covariance between H and E,which is highly correlated with the energy of the reference state Ex, as shown in Figure 4 of . In Eq. 30, denotes the expected value of the variable.
FIGURE 3
FIGURE 4
Our simulations confirm that, in the non-degenerate scenario, the probability distribution p(H, E; x) resembles a bivariate Gaussian with a correlation between the variables defined by x and its rank in the energy spectrum:whereThe spin model defines all the parameters of the bivariate Gaussian except the correlation parameter ρ, which encapsulates the whole dependence of the distribution on x.
To test the hypothesis that p(H, E; x) in Eq. 25 is well approximated by the continuous bivariate Gaussian distribution (Eq. 31), we perform a graphical multivariate normality test on the data of 1,000 independent instances of QUBO. As shown in Figure 3, we analyze both the low- and the high-energy regimes with x as the ground state and the highest energy state, respectively. We use a technique based on the squared Mahalanobis distances between the sample points and their averages over all bit configurations x′:where is the covariance matrix and . The Mahalanobis distance is a multivariate measure to quantify the distance between a point and a distribution (). Moreover, it is a useful tool to check when multidimensional data were sampled from a normal distribution because the probability density p of a set of normally distributed samples s in any dimension is entirely determined by the Mahalanobis distance:Therefore, showing that the Mahalanobis distance DM(s), with , follows the chi-squared distribution with two degrees of freedom:would demonstrate that p(H, E) is compatible with a bivariate Gaussian distribution sampling (see Eq. 31). Indeed, Figures 4A, C show the perfect agreement for at least 99.8% of the spectrum, and Figure 5 shows that the deviation from a bivariate Gaussian distribution does not increase along the energy spectrum.
FIGURE 5
Hence, returning to the probability amplitude of a single-layer QAOA on non-degenerate Ising models, Eq. 26 together with the probability distribution in Eq. 31 leads to the following interference amplitude:
3.2.2 Degenerate Ising models
The MaxCut problems are a family of combinatorial optimization problems consisting of minimizing the following objective function:with x ∈ {0,1}N and Q is an N-by-N square matrix. Finding the minimum or an approximate solution very close to the minimum is known to be NP-hard (). Again, we can map the binary cost function optimization in Eq. 37 to an equivalent spin Hamiltonian optimization (Eq. 27):where J = Q, and the magnetic field h cancels out. As in the non-degenerate case, the non-zero coefficients of Q are drawn from N(μ = 0, σ2 = 1). This class of problems includes the Sherrington–Kirkpatrick model () when all vertices of the graph are connected; that is, when the coupling matrix has no null coefficients.
In contrast to QUBO, the cost function in Eq. 38 exhibits a global symmetry that keeps invariant the energy under a global spin flip , or what is the same, . In the non-degenerate scenario (Eq. 29), the presence of the magnetic field h breaks the symmetry. The existence of such global symmetries in the Hamiltonian results in the division of the Hilbert space into two or more distinct hierarchies of eigenstates. Note that if represents a ground state, then there is another ground state in the opposite sector xb = 1 − xa. Consequently, a single excited state x′ can be seen now as arising from flipping spins in either of the ground states xa or xb. Accordingly, an identical spin configuration exhibits significantly different Hamming distances to both ground states, while its energy remains unchanged. Specifically, the Hamming distance reaches its maximum when considering the separation between the two degenerate ground states, where . Then, this symmetry implies that given any two states x and x′, there is a unique alternative state x″ such that Ex′ = Ex″ and .
This phenomenon results in the separation of the probability distribution into a sum of two distributions, each measured with respect to one of the eigenstate hierarchies,wherewith and being two complementary subspaces in the bit configurations space that represent the two eigenstate hierarchies. Because each distribution defines itself a non-degenerate Hilbert subspace, it is natural to expect that they individually behave similarly to the probability distribution of the non-degenerate scenario explained in the previous section. Indeed, as shown in Figure 3, these distributions resemble two shifted bivariate Gaussian distributions:where μE, μH, and σH are the same as Eq. 32, h0 > 0 is a constant shift, and we have two separate correlation factors ρ+(x) = −ρ−(x) ≡ ρ. As in QUBO, we prove the Gaussian distribution of the eigenstates by a multivariate normality test based on the Mahalanobis distance. In this case, we first need to group the states into two clusters that represent and hierarchies. As previously explained, we do this by fitting the sample points to a mixture of two Gaussians so that we identify which states should belong to p+ or p−. Then, we calculate the Mahalanobis distance of all samples using their corresponding mean and covariance estimated from the Gaussian mixture fit. Again, we find a good correspondence between the Mahalanobis distance and the distribution for the vast majority of the energy spectrum and conclude that p±(H, E; x) are well approximated by the Gaussian expressions in Eqs 42, 44.
As in the non-degenerate case, the correlation factors ρ± encapsulate the entire dependency in x, but we now have two functions that influence one another. Equation 22 along this p+, p− interference leads toTherefore, we observe that the interference translates into a mixture of two exponentials together with an oscillatory termwith β′ ≡ − γπσEσH. Nevertheless, except in the regime when r = − log(tan θ) ≈ 0 (θ ≈ π/4), one exponential is clearly dominant over the other due to the presence of the h0-shift:where sgn(⋅) is the sign function. Thus, the interference amplitude in Eq. 45 becomesNote that this formula is consistent with the non-degenerate scenario in Eq. 36 except for small corrections caused by the merging of eigenstate hierarchies (see Eq. 48) and the role of r that defines two different regimes for and .
4 QAOA thermal-like distributions
The interferometric model, in combination with the approximate Gaussian correlations between energy and Hamming distance, is a powerful tool that allows us to approximate the probability distribution generated by the QAOA variational circuit. In the following discussion, we will indeed show that, with minimal assumptions, the single-layer QAOA state approximates a Boltzmann distribution with effective temperature determined by the γ and θ angles, as shown by .
To achieve this goal, we analyze the single-layer QAOA interference amplitudes (Eqs 36, 49) in energy spaceIn order to examine this probability amplitude distribution of energy states, we should only pay attention to the terms of |F(x)|2 that are influenced by the spin configuration x and its associated energy Ex. In the previous section, we derived that the single-layer QAOA probability amplitude of Ising Hamiltonian eigenstates for both non-degenerate and degenerate spectra can be expressed aswhere ρ = σEH/(σEσH) with σEH = sgn(r)σEH in the degenerate scenario. As previously mentioned, the correlation factor captures the whole variability of Eq. 52 in energy space. All the other terms are set by the spin model and are, therefore, independent of the state x. The only contributing part to the amplitude isHence, in terms of the distribution in energy space, we can write the quantum probability amplitude as the following exponential:
Let us recall that σEH(x) represents the covariance between the Hamming distance from excited x′ to the reference state x and its energy (Eq. 30). The place of x in the energy spectrum is highly correlated with σEH(x). In non-degenerate spaces, when x is the ground/highest energy state, it is more likely to find low/high energy states close to the reference state and high/low energy states far from the reference state , leading to a high positive/negative covariance. In the degenerate scenario, we have the same behavior for subspace p+ and the exact opposite for the complementary subspace . This intuition translates into an evident σEH − Ex correlation that can be numerically observed in Figure 4 of . This dependence can be expressed as the sum of a linear function and a stochastic value ω with zero mean:where . Despite the presence of the random term ω, the trend in Eq. 55 is noticeable. Therefore, introducing Eq. 55 into Eq. 54 leads to a thermal-like probability amplitude distribution for the Ising models:where β = cπγ for non-degenerate problems and β = sgn(r)cπγ for degenerate ones play the role of the inverse temperature. Then, the probability distribution in energy space can be expressed aswhere d(E) is the density of states that in Ising models resembles a normal distribution centered in intermediate energies.
The Boltzmann distribution in Eq.
56,together with the random fluctuations
ω, manifests in regimes of optimized parameters, but the distribution may be modified by manipulating the angles
θ∈ (0,
π/2) and
γ(see
Figures 6,
7). By analyzing Eq.
56and previous expressions, additional conclusions can be drawn about the shape of the distribution.
• The angle γ controls the direction of the optimization. For specific γ regimes, the single-layer QAOA probability amplitude distribution on Ising models resembles a thermal distribution at temperature such that the ground state of the system aligns with the peak amplitude. Switching the sign of this angle is the same as changing the sign of the energy and, therefore, of the temperature . These negative temperature states increase the probability of the highest excited state.
• The degenerate Ising models exhibit antisymmetric behavior at the angle θ because , with r = − log(tan θ). Therefore, for θ < π/4 and θ > π/4, the pure QAOA state resembles a thermal-like distribution with positive/negative temperature. Equation 45 shows that when θ ≈ π/4, the thermal type distribution disappears, and we find a mixture of two Boltzmann exponentials with opposite temperatures. This behavior can be observed in Figure 7B.
• The Boltzmann distribution is apparent for a finite interval of angles γ ∈ (0, γc]. The lowest temperature T is reached near γ ≈ γopt, where γopt is the angle that minimizes the mean energy in the variational principle. The random noise βω/c = πγω in Eq. 56 grows with γ so that the smaller the γ, the lower the noise and the more noticeable the Boltzmann distribution. When |γ| > γc, the fluctuations are such that the Boltzmann term becomes marginal.
• For γ < γc, we observe that β grows linearly with the angle γ, consistent with the numerical results of .
FIGURE 6
FIGURE 7
5 Outlook
Sampling from complex probability distributions is a valuable computational task, both for its difficulty and its broad applicability. Quantum states projected on the computational basis are, in essence, classical probability distributions, and measuring them is the same as sampling from such distributions. Therefore, a quantum computer can be roughly seen as a machine capable of creating exotic or suitable probability distributions thanks to quantum phenomena. Indeed, the first claim of quantum supremacy () was performed on a sampling problem (), and this task has also been envisioned as one of the candidates to show a practical quantum advantage in the near term (; ; ).
In this context, the Boltzmann distributions of Ising models could be good candidates to show such quantum advantage for two reasons. First, these distributions are classically intractable at low-temperature regimes. The most popular strategy to simulate thermal distributions is the use of Markov chain Monte Carlo (MCMC) algorithms that guarantee convergence to the Boltzmann distribution at a given temperature T. While these methods work very well for relatively high temperatures, the number of iterations needed to converge scales exponentially when the temperature is too low. Much effort has been expended to determine the range of temperatures that ensure rapid mixing and, therefore, the polynomial convergence of MCMCs. To the best of our knowledge, the state-of-the-art theoretical bound indicates that an MCMC always converges in polynomial time to the thermal distribution of an Ising model at a temperature higher than ‖J‖ (), although practical realizations and state-of-the-art methods (e.g., parallel tempering and population annealing) might overcome this threshold. showed that the single-layer QAOA already approximates Boltzmann distributions at temperatures beyond this theoretical MCMC bound.
Second, a wide range of fields would be impacted by an improvement in Boltzmann distribution sampling. In statistical mechanics, sampling from this distribution is crucial for simulating physical systems at thermal equilibrium and for computing observables such as magnetization in Ising models. Furthermore, machine learning uses this distribution in unsupervised learning techniques known as Boltzmann machines (). Combinatorial optimization is another field of interest because some algorithms employ Boltzmann distribution sampling at decreasing temperatures as a subroutine to find the minimum of a cost function ().
The thermal-like distributions of the single-layer QAOA reveal a nice connection between quantum algorithmics and statistical physics that can help gain a better understanding of the behavior of these ansatzes. However, from a broader perspective, the QAOA sampling from approximate Boltzmann distributions, also known as Gibbs sampling, may be extended to the multilayer scenario with an improvement in the achievable temperature () or to QAOA mixed-state ansatzes to train unsupervised learning models as implemented in . Furthermore, because the QAOA resembles a Trotterized approximation to an adiabatic quantum evolution, this picture might be expanded to the infinite depth scenario p → ∞ and the engineering of general time-dependent adiabatic passages.
Additionally, the approximate Boltzmann distributions of single-layer QAOA states present collateral implications in quantum information theory. For example, this behavior makes them suitable as warm initial states for more complex ansatzes, as demonstrated in . Another recent work () shows how a tight dependence between the energy distribution of the spin model and the final probability amplitude of the QAOA states allows a more efficient classical heuristic optimization of the QAOA parameters. The Boltzmann distribution unambiguously connects the energy of the eigenstates with their amplitudes, thus providing further arguments and explanations on these heuristics.
We are confident that this study and earlier work by are two initial works in a new field in which variational and other types of circuits are analyzed from a physical perspective, understanding not only their computational power but also offering potentially significant physical insights into the quantum computer’s dynamics.
Statements
Data availability statement
The original contributions presented in the study are included in the article/Supplementary Material; further inquiries can be directed to the corresponding author.
Author contributions
PD-V: Conceptualization, Formal analysis, Investigation, writing–original draft. DP: Conceptualization, Funding acquisition, Supervision, writing–review and editing. JG-R: Conceptualization, Funding acquisition, Project administration, Software, Supervision, writing–review and editing.
Funding
The authors declare that financial support was received for the research, authorship, and/or publication of this article. This work was supported by the European Commission FET Open project AVaQus Grant Agreement 899561, the Proyecto Sinérgico CAM 2020 Y2020/TCS-6545 (NanoQuCoCM), the Spanish CDTI through Misiones Ciencia e Innovación Program (CUCO) under Grant MIG-20211005, and the CSIC Interdisciplinary Thematic Platform (PTI) Quantum Technologies (PTI-QTEP).
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1
AckleyD. H.HintonG. E.SejnowskiT. J. (1985). A learning algorithm for Boltzmann machines. Cognitive Sci.9, 147–169. 10.1016/S0364-0213(85)80012-4
2
AlbashT.LidarD. A. (2018). Adiabatic quantum computation. Rev. Mod. Phys.90, 015002. 10.1103/revmodphys.90.015002
3
AruteF.AryaK.BabbushR.BaconD.BardinJ. C.BarendsR.et al (2019). Quantum supremacy using a programmable superconducting processor. Nature574, 505–510. 10.1038/s41586-019-1666-5
4
BarahonaF. (1982). On the computational complexity of ising spin glass models. J. Phys. A Math. General15, 3241–3253. 10.1088/0305-4470/15/10/028
5
BhartiK.Cervera-LiertaA.KyawT. H.HaugT.Alperin-LeaS.AnandA.et al (2022). Noisy intermediate-scale quantum algorithms. Rev. Mod. Phys.94, 015004. 10.1103/revmodphys.94.015004
6
BlekosK.BrandD.CeschiniA.ChouC.-H.LiR.-H.PandyaK.et al (2023). A review on quantum approximate optimization algorithm and its variants. arXiv:2306.09198
7
BremnerM. J.JozsaR.ShepherdD. J. (2010). Classical simulation of commuting quantum computations implies collapse of the polynomial hierarchy. Proc. R. Soc. A Math. Phys. Eng. Sci.467, 459–472. 10.1098/rspa.2010.0301
8
BremnerM. J.MontanaroA.ShepherdD. J. (2016). Average-case complexity versus approximate simulation of commuting quantum computations. Phys. Rev. Lett.117, 080501. 10.1103/physrevlett.117.080501
9
BrodD. J. (2015). Complexity of simulating constant-depth BosonSampling. Phys. Rev. A91, 042316. 10.1103/physreva.91.042316
10
CerezoM.ArrasmithA.BabbushR.BenjaminS. C.EndoS.FujiiK.et al (2021). Variational quantum algorithms. Nat. Rev. Phys.3, 625–644. 10.1038/s42254-021-00348-9
11
Díez-ValleP.PorrasD.García-RipollJ. J. (2023). Quantum approximate optimization algorithm pseudo-Boltzmann states. Phys. Rev. Lett.130, 050601. 10.1103/physrevlett.130.050601
12
EldanR.KoehlerF.ZeitouniO. (2021). A spectral condition for spectral gap: fast mixing in high-temperature ising models. Probab. Theory Relat. Fields182, 1035–1051. 10.1007/s00440-021-01085-x
13
FarhiE.GoldstoneJ.GutmannS. (2014). A quantum approximate optimization algorithm. 1411.4028. 10.48550/arxiv.1411.4028
14
FarhiE.GoldstoneJ.GutmannS.LapanJ.LundgrenA.PredaD. (2001). A quantum adiabatic evolution algorithm applied to random instances of an np-complete problem. Science292, 472–475. 10.1126/science.1057726
15
FarhiE.GoldstoneJ.GutmannS.SipserM. (2000). Quantum computation by adiabatic evolution. arXiv.quant-ph/0001106
16
FarhiE.GoldstoneJ.GutmannS.ZhouL. (2022). The quantum approximate optimization algorithm and the sherrington-kirkpatrick model at infinite size. Quantum6, 759. 10.22331/q-2022-07-07-759
17
FarhiE.HarrowA. W. (2019). Quantum supremacy through the quantum approximate optimization algorithm. arXiv:1602.07674.
18
HarriganM. P.SungK. J.NeeleyM.SatzingerK. J.AruteF.AryaK.et al (2021). Quantum approximate optimization of non-planar graph problems on a planar superconducting processor. Nat. Phys.17, 332–336. 10.1038/s41567-020-01105-y
19
HåstadJ. (2001). Some optimal inapproximability results. J. ACM48, 798–859. 10.1145/502090.502098
20
KirkpatrickS.GelattC.VecchiM. (1983). Optimization by simulated annealing. Sci. (New York, N.Y.)220, 671–680. 10.1126/science.220.4598.671
21
KochenbergerG.GloverF.RegoC.et al (2004). A unified modeling and solution framework for combinatorial optimization problems. OR Spectr.26, 237–250. 10.1007/s00291-003-0153-3
22
KochenbergerG.HaoJ.LewisM.LüZ.WangH.et al (2014). The unconstrained binary quadratic programming problem: a survey. J. Comb. Optim.28, 58–81. 10.1007/s10878-014-9734-0
23
LaydenD.MazzolaG.MishmashR. V.MottaM.WocjanP.KimJ.-S.et al (2023). Quantum-enhanced Markov chain Monte Carlo. Nature619, 282–287. 10.1038/s41586-023-06095-4
24
LeonticaS.AmaroD. (2023). Exploring the neighborhood of 1-layer QAOA with instantaneous quantum polynomial circuits. Phys. Rev. ResearcharXiv:2210.05526
25
LotshawP. C.SiopsisG.OstrowskiJ.HerrmanR.AlamR.PowersS.et al (2022). Approximate Boltzmann distributions in quantum approximate optimization. Phys. Rev.arXiv:2212.01857
26
LucasA. (2014). Ising formulations of many NP problems. Front. Phys.2. 10.3389/fphy.2014.00005
27
LundA. P.BremnerM. J.RalphT. C. (2017). Quantum sampling problems, BosonSampling and quantum supremacy. npj Quantum Inf.3, 15. 10.1038/s41534-017-0018-2
28
MahalanobisP. C. (1936). On the generalised distance in statistics. Proc. Natl. Inst. Sci. India2, 49. 10.1007/s13171-019-00164-5
29
MollN.BarkoutsosP.BishopL. S.ChowJ. M.CrossA.EggerD. J.et al (2018). Quantum optimization using variational algorithms on near-term quantum devices. Quantum Sci. Technol.3, 030503. 10.1088/2058-9565/aab822
30
NanniciniG. (2019). Performance of hybrid quantum-classical variational heuristics for combinatorial optimization. Phys. Rev. E99, 013304. 10.1103/physreve.99.013304
31
NemhauserG. L.WolseyL. A. (1988). Integer and combinatorial optimization. USA: John Wiley & Sons, Ltd.
32
OzaetaA.van DamW.McMahonP. L. (2022). Expectation values from the single-layer quantum approximate optimization algorithm on ising problems. Quantum Sci. Technol.7, 045036. 10.1088/2058-9565/ac9013
33
PedregosaF.VaroquauxG.GramfortA.MichelV.ThirionB.GriselO.et al (2011). Scikit-learn: machine learning in Python. J. Mach. Learn. Res.12, 2825–2830.
34
PreskillJ. (2018). Quantum computing in the NISQ era and beyond. Quantum2, 79. 10.22331/q-2018-08-06-79
35
SherringtonD.KirkpatrickS. (1975). Solvable model of a spin-glass. Phys. Rev. Lett.35, 1792–1796. 10.1103/PhysRevLett.35.1792
36
SudJ.HadfieldS.RieffelE.TubmanN.HoggT. (2022). A parameter setting heuristic for the quantum alternating operator ansatz. Phys. Rev. Research.arXiv:2211.09270.
37
SungK. J.YaoJ.HarriganM. P.RubinN. C.JiangZ.LinL.et al (2020). Using models to improve optimizers for variational quantum algorithms. Quantum Sci. Technol.5, 044008. 10.1088/2058-9565/abb6d9
38
VerdonG.BroughtonM.BiamonteJ. (2019). A quantum algorithm to train neural networks using low-depth circuits. 1712. 05304, 10.48550/arXiv.1712.05304
39
WildD. S.SelsD.PichlerH.ZanociC.LukinM. D. (2021). Quantum sampling algorithms for near-term devices. Phys. Rev. Lett.127, 100504. 10.1103/physrevlett.127.100504
40
WuY.BaoW.-S.CaoS.ChenF.ChenM.-C.ChenX.et al (2021). Strong quantum computational advantage using a superconducting quantum processor. Phys. Rev. Lett.127, 180501. 10.1103/physrevlett.127.180501
41
ZhongH.-S.DengY.-H.QinJ.WangH.ChenM.-C.PengL.-C.et al (2021). Phase-programmable Gaussian boson sampling using stimulated squeezed light. Phys. Rev. Lett.127, 180502. 10.1103/physrevlett.127.180502
Summary
Keywords
quantum computing, quantum algorithms, quantum optimization, adiabatic computing, variational algorithms, statistical physics, machine learning, quantum sampling
Citation
Díez-Valle P, Porras D and García-Ripoll JJ (2024) Connection between single-layer quantum approximate optimization algorithm interferometry and thermal distribution sampling. Front. Quantum Sci. Technol. 3:1321264. doi: 10.3389/frqst.2024.1321264
Received
13 October 2023
Accepted
22 January 2024
Published
14 February 2024
Volume
3 - 2024
Edited by
Jonathan Wurtz, QuEra Computing, United States
Reviewed by
Leo Zhou, California Institute of Technology, United States
Prasanta Panigrahi, Indian Institute of Science Education and Research Kolkata, India
Updates
Copyright
© 2024 Díez-Valle, Porras and García-Ripoll.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Pablo Díez-Valle, pablo.diez@csic.es
ORCID ID: Pablo Díez-Valle, orcid.org/0000-0001-8338-7973; Diego Porras, orcid.org/0000-0003-2995-0299; Juan José García-Ripoll, orcid.org/0000-0001-8993-4624
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.