The Quantum Approximate Optimization Algorithm Needs to See the Whole Graph: A Typical Case
Abstract
The Quantum Approximate Optimization Algorithm can naturally be applied to combinatorial search problems on graphs. The quantum circuit has p applications of a unitary operator that respects the locality of the graph. On a graph with bounded degree, with p small enough, measurements of distant qubits in the state output by the QAOA give uncorrelated results. We focus on finding big independent sets in random graphs with dn/2 edges keeping d fixed and n large. Using the Overlap Gap Property of almost optimal independent sets in random graphs, and the locality of the QAOA, we are able to show that if p is less than a d-dependent constant times log n, the QAOA cannot do better than finding an independent set of size .854 times the optimal for d large. Because the logarithm is slowly growing, even at one million qubits we can only show that the algorithm is blocked if p is in single digits. At higher p the algorithm “sees” the whole graph and we have no indication that performance is limited.
1 Introduction
The Quantum Approximation Optimization Algorithm [1, 2] is designed to find approximate solutions to combinatorial search problems, and here we consider its application to finding large independent sets in random graphs. The graphs have vertices and edges chosen uniformly at random, with , the average degree of each graph, fixed. The quantum algorithm consists of an alternation of unitaries, half of which are single-qubit unitaries and the other half only interact qubits that are connected by an edge in the graph. On a bounded-degree graph, with fixed or growing slowly with , the QAOA does not “see” the whole graph. This means that bits output by the QAOA are uncorrelated at graph distances larger than . Looking at random graphs of average degree , when is less than a multiple of we will show that the power of the algorithm is limited. More precisely if for any and big enough, the QAOA fails to produce an independent set larger than .854 times the optimal. (The ratio of logs is independent of the base of the log.) If is large enough that the algorithm “covers” the whole graph we have no indication that the algorithm has limited power.
In the first QAOA paper [1] it was shown that there exists a set of large Max-Cut instances on which the algorithm fails to achieve an approximation ratio of better than 0.756. These are bipartite 3-regular graphs with squares. Although completely satisfiable, at this shallow depth, the QAOA can not detect if there are large odd length loops which would make it not completely satisfiable and hence the approximation ratio is provably less than . Recently [3] looking at Max-Cut constructed a sequence of -regular bipartite graphs for which the QAOA at depth fails to find an approximation ratio better than some dependent constant less than . This result is similar to the one in this paper as it considers growing logarithmically with . However theirs is a worst case result and ours is for typical instances. Also crucially [3] require that the cost function have a symmetry and that the initial state be an eigenstate of the operator. In our setup these conditions are not needed and for the problem we study they are not met.
Our proof method uses the Overlap Gap Property (OGP) exhibited by the large independent sets of random graphs with bounded average degree established in [4]. Roughly speaking the OGP says that for a given random graph, the intersection of any two large (i.e. nearly optimal) independent sets is either big or small, that is, there is no middle ground. The OGP was established to be an obstruction to a variety of classical algorithms, including local algorithms [4],[5],[6], Markov Chain Monte Carlo (and related) methods, [7],[8],[9], and Approximate Message Passing type algorithms [10]. The application of the OGP as a barrier to quantum algorithms is novel. It depends on the locality of the QAOA: the unitary operators in the algorithm only connect vertices which are connected in the input graph. As a result, because of the bounded average degree, when is a small multiple of , changing a single edge of the graph affects only qubits of the final state. We will use this to show that outputting a large independent set contradicts the OGP.
It is worth remarking that the OGP is conjectured to not hold for the low energy configurations of the Sherrington-Kirkpatrick model. Assuming that the not hold conjecture is true, Montanari recently [11] constructed a polynomial time Approximate Message Passing algorithm for finding a near ground state configuration.
The QAOA has been applied to the Sherrington Kirkpatrick model at fixed in the infinite limit [12]. The associated graph is fully connected (each vertex has degree ) so the QAOA sees the whole graph at the lowest values of . The techniques of this paper for bounded degree graphs cannot be applied to show any obstacle to the performance of the QAOA on this model.
2 Maximum Independent Set
The computational problem we focus on is Maximum Independent Set or MIS. Given a graph defined as a collection of vertices and edges, an independent set is a subset of the vertices with no graph edge between any two vertices in the set. It is easy to find a small independent set. Finding a big independent set is the challenge. In fact finding the largest independent set in an arbitrary graph is an NP-hard problem. But here we focus on random graphs and are interested in finding big independent sets but not necessarily the biggest. We define as the independence ratio which is the size of the biggest independent set in divided by the number of vertices. Given a graph , an algorithm will output an independent set and the quality of the algorithm can be measured by the size of the output divided by as compared to .
We focus on sparse Erdös-Rényi graphs of nodes and edges where with fixed, that is independent of . In other words is a graph with edges chosen by picking this number of edges uniformly at random from the possible edges. The average degree of each graph is . The independence ratio of this graph denoted by is a random variable with the following known properties. First [13] there exists an such that
(1) |
Second, while the value of for finite is unknown, the asymptotic value of as increases is known [14]:
(2) |
We are interested in algorithms that take a graph as input and output a large independent set. The natural question that arises is if a polynomial time algorithm can produce independent sets close to . A simple greedy algorithm achieves asymptotically half of the optimal value, that is, it constructs an independent set of size where denotes a function of converging to as . Finding a polynomial time algorithm that provably goes beyond this would be a major achievement and it mirrors a similar problem in the context of dense Erdös-Rényi graphs, which has been open for more than four decades [15]. Our interest is a quantum algorithm, the QAOA. We will show that if , the depth of the QAOA is less than log with a small constant, then the QAOA fails to go as far as for large. For larger our arguments do not apply and we cannot say if the QAOA gets close to with say growing as a large constant times log . (Actually if we let grow fast enough with the QAOA will find the optimum [1].)
3 The Quantum Approximate Optimization Algorithm
We start by reviewing the QAOA with the graph problem Maximum Independent Set in mind. It is convenient here to work with bits that are valued. Given a classical cost function defined on -bit strings , the QAOA is a quantum algorithm that aims to find a string such that is close to its absolute maximum. The graph-dependent cost function can be written as an operator that is diagonal in the computational basis, defined as
(3) |
We only consider “local” cost functions, that is, those that only have interactions between qubits that are connected on the instance graph. The problem dependent unitary operator depends on and a single parameter
(4) |
Note that conjugating a single qubit operator produces an operator that only involves that qubit and those connected to it on the graph.
The operator that induces transitions between strings uses
(5) |
where is the Pauli operator acting on qubit , and the associated unitary operator depends on a parameter
(6) |
Note that conjugating a single qubit rotates that qubit and has no effect on other qubits.
We initialize the system of qubits in a product state such as
(7) |
or
(8) |
Using a product state for the initial state is the usual choice for the QAOA and is required for the arguments below.
We alternately apply layers of and . Let and . The QAOA circuit prepares the unitary operator
(9) |
which acting on the initial state gives
(10) |
The associated QAOA objective function is
(11) |
By repeatedly measuring the quantum state in the computational basis, one will find a bit string such that is near (11) or better. Different strategies have been developed to find optimal for any given instance [16, 17]. But here we will show that under certain circumstances no set of parameters can achieve a certain level of success so we need not concern ourselves with optimal parameters. So from now on we denote the state produced by the QAOA as .
4 Locality Properties of the QAOA
In this paper we are focusing on combinatorial search problem associated with random graphs of bounded average degree , so it it very unlikely that any vertex has degree much larger than . This means that the cost function unitary (4) conjugating say a single qubit operator typically produces an operator acting on no more than roughly qubits. The “driver” unitary in the form of (6) introduces no spreading at all. We also use for the initial state a product state which has no entanglement. With this form of the QAOA we can establish some general locality properties of the quantum state produced by the quantum circuit. What follows is not restricted to a particular computational problem or to random graphs.
4.1 Distant qubits
Consider an instance of some graph problem with its associated local cost function . The first property has to do with bits that are far away from each other on the graph. Define B() as the set of vertices that are within a distance of the vertex . Let Dist() be the complement of B(, that is, it is the set of vertices at least away from . We are assuming than is small enough so that Dist() is not empty. Let be an operator acting on qubit tensored with the identity acting on all other qubits. Let be an operator acting only on the qubits in Dist(). We now show that
(12) |
as long as is a product state and is of the form (7) with a local cost function.
Proof of (12) . Because the QAOA is local we see that only involves qubits in B(). Because only involves qubits that are away from qubit we see that can only involve qubits in the complement of B(). Now
(13) |
and we will insert between and a complete set with qubits in B() and its complement. Call the set of bits in B() and those in its complement “”. Now the initial state is a product state which we can write as . Insert a complete set in the middle of the right hand side of (13) and we get
(14) |
where the basis set contains and the basis set contains . Now the term collapses the sum on and the term collapses the sum on and we get
(15) |
which results in (12).
In terms of the state produced by the QAOA (12) says that
(16) |
Again is any operator acting on qubit and is any operator acting on qubits at least away from and we see that the measurement outcomes of the two operators are independent. In particular measurement in the state of bit values at and in Dist are independent.
4.2 Far from an edge
For the next property imagine changing the cost function on a single edge. This locality property concerns the influence of this change on qubits that are far away from that edge. Consider two instances of some computational problem which differ only by the presence or absence of a single edge. Or perhaps they differ because the single edge is weighted differently in the two instances. Call the associated cost functions and which give rise to and through (4). Let the edge in question be between vertices and . Let Far be the complement of . We assume that is small enough that Far is not empty. Consider an operator that involves only qubits in Far. Now for the depth algorithm, does not involve the edge so it is same with replaced by that is
(17) |
What this means is that the influence of the edge in question is limited to qubits within a distance of the edge. It also means that the probability of measuring a bit string in Far is unaffected by the change in the edge . Let and so these are the states produced with the unmodified and modified edge sets. Consider which is the bit values of the set of bits in Far. Let tensored with the identity on qubits in . Now write and take the expectation of (17) in the state . Keep fixed and sum on to get
(18) |
This means that the probability of measuring the bit string in Far is unaffected by the edge change.
4.3 Concentration of Hamming weight
Again we are considering the QAOA with a local cost function associated with a graph , a one local driver operator such as in (6), and a product state for . For fixed each vertex has a neighborhood B(. We take small enough that the maximum size of these neighborhoods is less than for some . Run the QAOA to get the state and measure in the computational basis to get a bit string. We now show that the Hamming weight of these measured bit strings concentrates in that, for sufficiently large , each measurement produces the same Hamming weight with a variance that is .
Let the Hamming weight operator be
(19) |
The measurement variance of is
(20) |
which breaks into terms
(21) |
Now for a fixed consider the sum on . If is more than away from we can use (12) to see that this term is . So the only contributions can come from the nearby qubits and we bound the variance by . The expected value of the Hamming weight scales with so the distribution concentrates.
However we need a stronger result for our arguments. Let be a graph with vertices and as before take small enough that the maximum size of B() is less than for some with high probability. We are thinking of as large. For a given QAOA circuit we make the state and measure the Hamming weight. Call the observed value . Then there exists such that for every and for large enough
(22) |
where the graph is fixed and the probability is over measurements of in the state . We are going to prove this in section 8 and also apply it to random graphs.
5 QAOA applied to Maximum Independent Set
We have discussed the QAOA in general and here we specify it for MIS. For any graph we are looking for a big independent set, that is, a string with a large Hamming weight which corresponds to an independent set. If we choose for the cost function the Hamming weight given by (19) we will easily discover strings with a big Hamming weight but they typically will not be independent sets of the input graph. So we also consider the Independent Set cost function:
(23) |
where the sum is only over edges in the graph so is local. We want a big Hamming weight and to be as small as possible. So for the objective cost function consider:
(24) |
When we run the QAOA our goal is to make big. But the cost function that appears in (4) need not be . We can for starters take the cost function that appears in (4) to be with the goal of making the quantum expectation of big. Regardless of what we take to drive this local QAOA, the strings that are output will not be independent sets of the associated graph. However these strings can be pruned to produce independent sets.
Suppose the quantum algorithm outputs a string with a positive value of . By pruning we can produce an independent set of size at least this value. To see this consider the set of graph edges that exist between any of the vertices associated with ’s in the output string. Call the number of these edges . Now for each of these edges pick one of the two associated vertices at random and remove it from the string. This reduces the Hamming weight by at most and reduces by so can not go down. This also shows that the maximum of is the size of the largest independent set. We call the QAOA augmented by this pruning the QAOA+. Note that the pruning process is done randomly and respects the locality of the underlying graph. When we run the QAOA+ at depth we mean that the QAOA is run at depth and the pruning is the last layer.
We now show that the shallowest depth version of the QAOA will produce a string with the objective function value being near for large . Here we pick for the starting state a rotation away from the all zeros state so that the initial Hamming weight is not zero. Introduce a parameter and for take
(25) |
so the QAOA state is given by the three parameter unitary:
(26) |
which we call the QAOA with . Consider the simple case of so the two rotations combine to be one rotation by . This brings the state to one where each bit has expected value . Now the expected value of is whose maximum is at . Letting vary can only improve this.
For arbitrary , and we can evaluate the expectation of in the state by averaging over instances. It is best to write (23) as
(27) |
where each is with probability and with probability . Note that this is not exactly the same as the distribution we analyze in the rest of the paper which is a fixed number of edges . But for the purposes of this calculation including edges with probability is more straightforward. In fact we can do the average over and get the expected value over graphs of the quantum expectation of the objective function
(28) |
as times an explicit function of and the parameters , and . For each we can optimize numerically. For we get . We see for large that (27) approaches and the parameters and go down as . Pulling out a and rescaling and we have a function that has a limit as goes to infinity. The optimum of this function is .
What we have shown is that there is a form of the QAOA that we call the QAOA+ which at its lowest depth finds an independent set whose size is at least a constant times . There are simple classical algorithms that can beat this. Our goal here was to show that the lowest depth QAOA+ can be analyzed on random instances and that it is a good starting point for understanding the QAOA at higher depth.
6 The Overlap Gap Property
We now describe the Overlap Gap Property which is the key to showing the limitation of the QAOA on random graphs. For random graphs, this property is satisfied by independent sets with size larger than a certain multiplicative factor away from optimality. Specifically, this will be done for
(29) |
For each and a graph on nodes let
(30) |
where is the set of all independent sets. That is, is the set of independent sets in which are of size at least times the asymptotic optimal. We call these large independent sets -optimal. For any two node graphs and , and for every , let denote the set of pairs such that and
(31) |
that is, it is the set of pairs of -optimal independent sets whose intersection size normalized by the asymptotic size of the largest independent set is above . Similarly, let denote the set of pairs such that and
(32) |
that is, it is the set of pairs of -optimal independent sets whose intersection size normalized by the asymptotic size of the largest independent set is below .
Let and be chosen independently with distribution . We are going to introduce an interpolation between these two graphs. Let with be the corresponding sets of edges of the two graphs. For every consider an interpolating random graph with edges
(33) |
uses the first edges from and the remaining edges from . For each fixed , the graph is distributed as , modulo the potential repetitions of edges. With high probability, the total number of edge repetitions is with respect to so they can be ignored.
Theorem: Overlap Gap Property For every there exists and such that for all
(34) |
and
(35) |
for all large enough .
The theorem makes two claims. First it says that across all pairs of graphs in the interpolating sequence, every -optimal independent set in and every -optimal independent set in have normalized intersection either at most or at least , except for an exponentially small probability. There is essentially no middle ground of pairs whose normalized intersection size is between and . This is the Overlap Gap Property. The second says, for two independent random graphs sampled from all corresponding pairs of large independent sets have normalized intersection at most . For a proof and further discussion see [4].
7 Overlap Gap Property is an obstruction to the QAOA+
7.1 Main Result
Our main result is that the QAOA+, which is the QAOA augmented by pruning to produce independent sets, applied to random graphs of average degree will fail to find an independent set close to optimal for less than a constant times . More precisely:
Obstruction Theorem
For every and , there is a and a such that for we have: If the QAOA+ is run on a graph with
(36) |
then the probability that the algorithm outputs an independent set of size at least is at most for all sufficiently large.
We will prove this after stating some preliminary results. The first concerns the size of the neighborhoods of vertices in random graphs with edges.
7.2 Preliminary Results
Neighborhood Size Theorem
Fix , and . If
(37) |
then there exist and such that
(38) | ||||
(39) |
Here Prob is with respect to the graph distribution. What this says is that if is smaller than a certain constant times , then in a random graph the neighborhood ball of each vertex contains a fraction of the vertices that vanishes as goes to infinity. We will prove this theorem in the next section.
The next result is an expansion of the purely quantum result in section 4.2 to the QAOA+ which is the depth QAOA run with pruning so all outputs are independent sets. The result (18) says that if a single edge in a graph is modified then the measurement probabilities of qubits far away are unaffected by the edge change. This is a statement about the QAOA but the QAOA outputs strings that need to be pruned back to make independent sets. The pruning process is random and respects the locality of the underlying graph. Let be the probability that the independent set is output by the QAOA+ running on graph . Here the symbol means the graph is fixed and the randomness comes from the quantum measurement and the randomized pruning. So we now state
Far from an edge Lemma
Consider an arbitrary graph with obtained by adding a single edge to . Let be the complement of where is the depth of the QAOA+. Then for every
(40) |
Here we are assuming that is small enough that Far is not empty. The proposition says that the total probability of independent sets which “agree” with on the node set Far, that is those nodes far from the newly added edge, remains the same after the addition of the edge. The proposition is the direct implication of the local property (18) augmented by the fact that pruning is local.
Our next result is concerns the concentration of Hamming weight discussed in section 4.3 now extended to the QAOA+.
Concentration Theorem
1. Let be a graph with vertices and edges. Suppose is chosen such that for some . Let be the output of the QAOA+. Then there exists such that for all
(41) |
for large enough. Here the graph is fixed and the randomness comes from the QAOA+.
2. Now let be a random graph. Suppose for some ,
(42) | ||||
(43) |
Then there exists such that for any ,
(44) |
for large enough. Here and refer to Probability and Expectation coming from the distribution of random graphs combined with the randomness coming from the QAOA+.
This key concentration result will be proven in the next section. We now prove our main result.
7.3 Proof of Obstruction Theorem
Choose . Find and as per the Neighborhood Size Theorem. Consider the interpolation described in the previous section. Denoting by the neighborhood of node in graph , we have by the union bound
(45) |
where is any constant smaller than and is large enough. Let . On the sequence of graphs we construct a coupled sequence of independent sets , where for each fixed , is a single independent set coming from the distribution of the output of the QAOA+ on the random graph . The set-theoretic difference of and will be seen to satisfy
(46) |
By “construct” we do not mean an algorithmically efficient construction, rather we show that such a coupled sequence exists. First produce a single sample by running the QAOA+ on . Next, recall that is obtained from by deleting ’s last edge and adding ’s last edge . Consider the set of nodes
(47) |
Note that has size at most . Find a sample according to the conditional distribution
(48) |
As a result the cardinality of is at most . In the same fashion, we produce samples , where each is found by conditioning on similarly. Again, for all .
Next, we claim that is distributed as . Indeed for every , its probability mass according to this sampling procedure is
(49) |
by property (40). Similarly, we have that is distributed as . We have shown that our desired coupled sequence of independent sets exists.
Note that is independent of , where as before the expectation is both with respect to the randomness of and the QAOA+. We claim that for every
(50) |
for all large enough . Observe that by the Concentration Theorem it suffices to show (50) in order to prove our main result which is that the QAOA+ fails to produce independent sets that are bigger than -optimal.
Assume to the contrary, that (50) is violated for infinitely many . For any such , given , has the distribution , and has the distribution. Taking in (44) and then using the union bound, we have
(51) |
for some . Let . Find from the Overlap Gap Theorem with respect to . Then because we have
(52) |
By (51) and the second part of the Overlap Gap Theorem then
(53) |
Now let us track the intersection as goes from to . For at this is bigger than but at it is less than . However by the Overlap Gap Theorem we know there is (with high probability) no middle ground so there is some where is big but is small. As a general property of sets we have
(54) |
Using (46) we get which is a contradiction for large enough because , , with high probability, see (45). This contradiction shows that the Obstruction Theorem is true.
8 Proofs of Neighborhood Size and Concentration Results
8.1 Neighborhood Size
We begin by restating and then proving the Neighborhood Size Theorem. This result concerns random graphs and makes no reference to the quantum algorithm.
Neighborhood Size Theorem
Fix , and . If
(55) |
then there exist and such that
(56) | ||||
(57) |
To prove this we consider a branching process where each parent has Poisson() children. Let the size of the th generation with . Let
(58) |
where the expectation E is with respect to the Poisson process. We have
(59) |
the Poisson moment generation function, and generally
(60) |
We first show
(61) |
Assume by induction on , that
(62) |
which we show as follows. This holds for , and
(63) |
by hypothesis. Using for , this is
(64) |
Now Markov’s inequality says that for any and
(65) |
which we get by choosing . Note that P is the probability associated with the Poisson branching process. We will pick to make this small, but first we need to bound since this is what we compare with the graph neighborhood. Note that
(66) |
Choose and with to be determined later. Then (for large enough, using )
(67) |
(since the moment generating function for is the biggest) which we can write as
(68) |
for large enough.
This bound applies to Poisson branching. To make contact with our graph neighborhoods we first compare the branching process to Erdos-Renyi graphs and then to our random graphs with a fixed number of edges. In the Erdos-Renyi graph, each vertex has Binomial neighbors which as goes to infinity is Poisson(). For finite the moment generating function of this Binomial is less than the moment generating function of the Poisson, so the -neighborhood of a vertex in the random Erdos-Renyi graph satisfies the same bound as the branching process. Let be the probability that (say) vertex in the Erdos-Renyi graph has its -neighborhood at least as big as , conditioned on the graph having exactly edges. (The number of edges is a Binomial random variable.) Then
(69) |
Starting the sum at we have
(70) |
and since is an increasing function of we have
(71) |
Now is the expected number of edges so this is and we conclude that
(72) |
for large enough. So using the indirect connection between the branching process and our graphs, we have
(73) |
where Prob is with respect to the graph distribution with a fixed number of edges . Now take and recall that by assumption and we have
(74) |
We can take in the above, and writing we get
(75) |
We can pick to make because . By the union bound, can be at most times as large, so choosing yields the first half of the theorem. The other half, for , has in the exponent. End of Proof.
8.2 Concentration
We now restate and prove the Concentration Theorem. This result concerns the concentration of the Hamming weight in the output strings of the shallow depth QAOA+. The first part applies to the QAOA+ acting on a fixed random graph. The second part is a statement about concentration on random graphs.
Concentration Theorem
1. Let be a graph with vertices and edges. Suppose is chosen such that for some . Let be the output of the QAOA+. Then there exists such that for all
(76) |
for large enough. Here the graph is fixed and the randomness comes from the QAOA+.
2. Now let be a random graph. Suppose
(77) | ||||
(78) |
Then there exists such that for any ,
(79) |
for large enough. Here and refer to Probability and Expectation coming from the distribution of random graphs combined with the randomness coming from the QAOA+.
Consider the QAOA+ running on a graph and outputting an independent set . The Hamming weight of is a sum of random variables , where each is independent of the collection for not within a distance of in . With small enough so that the -neighborhoods are small compared to , this is enough to get a sub-exponential bound on the concentration of for a fixed graph . We use the standard technique of moment generating functions (as in the Chernoff bound) to prove (76).
Suppose , with . Let
(80) |
We will first bound and use that to bound , from which (76) will follow. We have
(81) |
Because each , any term in the sum is 0 by independence unless for each , there is an in . The number of nonzero terms is at most - see note at end of this section. Since , we have
(82) |
Multiply both sides by , divide by and sum on to get
(83) |
Now we can prove (76). By the Markov inequality, for any ,
(84) |
which combines with the previous result to give
Choose and , so
(85) |
The bound on is the same (use ). Replace by any and we have
(86) |
for large . This is (76).
The second concentration bound (77) follows from the fact that is very unlikely to vary much as varies as we now show. The random graph consists of edges chosen independently uniformly over the possibilities. (We ignore the collisions.) Let
(87) |
Here the graph is fixed and the expectation is with respect to the QAOA+. As long as the -neighborhoods of the vertices in are small, a change in one edge of makes only a small change in by the locality of the QAOA+. It is natural to use the Azuma inequality which bounds concentration probability in terms of local changes. But the neighborhoods are only small with high probability so we cannot use the Azuma inequality directly on the function . Instead we adjust using a version of Kirzbraun’s Theorem on extending Lipschitz functions.
To set the stage we state the Azuma inequality. Consider a real valued function where is a set of variables with the property that does not change much when one of the variables changes. Let be equal to except in one of the variables with the Lipschitz condition on being
(88) |
for some fixed . Now we take the to be independent random variables. The Azuma inequality states that
(89) |
Return to our function where the are edges in a graph. We will use (78). Let be the set of graphs with vertices and edges that have small neighborhoods
(90) |
so
(91) |
for large enough. If and differ by one edge and both are in the we have
(92) |
since the QAOA+ outputs can only differ on bits in the 4 neighborhoods of the vertices at the ends of the 2 swapped edges. For graphs not necessarily in we need to modify . Let be the number of edge changes needed to turn into . By (92) if e and are in then
(93) |
Now define for any e,
(94) |
For we see that by (93). For any e and , we have
(95) |
To see this, note that there is an with
(96) |
Subtracting these two and using the triangle inequality yields
(97) |
Repeat with e and interchanged and (95) follows. We are going to apply the Azuma theorem to so note that if e differs from in just one edge then is in (95). Then for any the inequality (89) says
(98) |
We are going to use this to bound which appears in (79) since again and agrees with except outside of . Outside of we have the crude bound that so by (91)
(99) |
for any if is big enough. Now
(100) |
Inside we have while the probability of being outside of is bounded by (91) so
(101) |
which by (98) is
(102) |
We can rewrite this (take ) as
(103) |
with less than both and , for large. The first half of the concentration theorem implies
(104) |
where the accounts for graphs with large -neighborhoods.
Now the triangle inequality says
(105) |
By taking smaller than and we obtain
(106) |
for all large. This is (79), as desired, if we go back to the beginning and let go to .
8.3 Counting the number of non-zero terms
To bound the number of non-zero terms in
(107) |
first note that since each , any term in the sum is 0 by independence unless for each , there is an in . We are going to graphically represent the non-zero contributions by considering graphs with vertices , possibly disconnected. A graph will be called valid if no vertex is isolated. We say that a sequence satisfies a graph on if is in the -neighborhood of (and, equivalently, vice-versa) whenever is an edge of . We know that every sequence with satisfies at least one valid graph, and in particular it satisfies some minimal valid graph – minimal means no subgraph with vertices but fewer edges is valid. So we need to bound the number of minimal valid graphs as a function of . Call this number . A minimal valid graph has this form: each of its components is a star, that is, a tree with a central vertex connected to all the other vertices in the component. Suppose the largest component has size . If , then the minimal valid graphs are matchings ( must be even) of which there are for . For , there stars of size , and at most minimal valid graphs which may be overcounting because we’ve singled out one component of size . So for
(108) |
Now suppose inductively that for . (Note that and .) Then for ,
(109) | ||||
(110) |
So there are at most minimal valid graphs with vertices. How many sequences , where , can satisfy a given minimal valid graph? If it has components, then it must have edges. The central vertex in any component corresponds to which has possible values. If is an edge in the minimal valid graph, can have only values, since the sequence is assumed to satisfy this minimal valid graph. So there are at most possible sequences and since , this is . Multiplying by the bound on the number of minimal valid graphs, there are at most
(111) |
nonzero terms in (107).
9 Discussion
No one knows if a quantum computer running a quantum algorithm will be able to outperform a classical computer on a combinatorial search problem. One approach is to build a quantum computer, run a quantum algorithm and see what happens at the available number of qubits. Another approach is to look for a provable quantum speedup over the best known classical algorithms. To this end it is useful know if there are provable limitations to the power of any proposed quantum algorithm.
In this paper we look at the Quantum Approximate Optimization Algorithm applied to finding a large independent set in a random graph of fixed average degree . The performance of the QAOA can only improve with depth but we show that for Maximum Independent Set on random graphs the algorithm will fail to pass a certain performance barrier if is less than for any with big enough. (This ratio is independent of the base of the .) The quantum algorithm consists of unitaries that each respect the locality of the underlying graph. With a fixed average degree of this means that each qubit typically has an influence sphere of roughly other qubits. For qubits further than apart on the graph these influence spheres do not intersect and we can show that measurements of these qubits are uncorrelated. This is key to our showing that the algorithm has limited power. However if is large enough that exceeds our arguments do not apply and we have no indication that the QAOA will fail.
Our results are for random graphs and we do not have results for say a graph which is a dimensional square lattice. In this case perhaps the border between failure and possible success is at . Back to random graphs. Although our proof technique requires big, the intuition is that if then most pairs of qubits will have independent measurement outcomes. Consider the case when the degree is small so the influence spheres are small, the least favorable situation for the QAOA. For example with at one million qubits our result sugggest failure for less than . The bipartite construction of [3] only shows failure at 2 million qubits with for less than . Just beyond this the QAOA “sees” the whole graph and we can not say with certainly what happens at a few million qubits in the shallow circuit depth regime with say in double digits.
Acknowledgement
We thank Aram Harrow for helpful discussion.
References
- [1] Edward Farhi, Jeffrey Goldstone, and Sam Gutmann. A quantum approximate optimization algorithm. arXiv:1411.4028, 2014.
- [2] Edward Farhi, Jeffrey Goldstone, and Sam Gutmann. A quantum approximate optimization algorithm applied to a bounded occurrence constraint problem. arXiv:1412.6062, 2014.
- [3] Sergey Bravyi, Alexander Kliesch, Robert Koenig, and Eugene Tang. Obstacles to state preparation and variational optimization from symmetry protection. arXiv:1910.08980, 2019.
- [4] David Gamarnik and Madhu Sudan. Limits of local algorithms over sparse random graphs. Annals of Probability, 45:2353–2376, 2017.
- [5] David Gamarnik and Madhu Sudan. Performance of sequential local algorithms for the random nae-k-sat problem. SIAM Journal on Computing, 46(2):590–619, 2017.
- [6] Wei-Kuo Chen, David Gamarnik, Dmitry Panchenko, Mustazee Rahman, et al. Suboptimality of local algorithms for a class of max-cut problems. The Annals of Probability, 47(3):1587–1618, 2019.
- [7] Amin Coja-Oghlan, Amir Haqshenas, and Samuel Hetterich. Walksat stalls well below satisfiability. SIAM Journal on Discrete Mathematics, 31(2):1160–1173, 2017.
- [8] Gérard Ben Arous and Aukosh Jagannath. Spectral gap estimates in mean field spin glasses. Comm. Math. Phys., 361(1):1–52, 2018.
- [9] David Gamarnik, Aukosh Jagannath, and Subhabrata Sen. The overlap gap property in principal submatrix recovery. arXiv:1908.09959, 2019.
- [10] David Gamarnik and Aukosh Jagannath. The overlap gap property and approximate message passing algorithms for -spin models. arXiv:1911.06943, 2019.
- [11] Andrea Montanari. Optimization of the Sherrington-Kirkpatrick hamiltonian. arXiv:1812.10897, 2018.
- [12] Edward Farhi, Jeffrey Goldstone, Sam Gutmann, and Leo Zhou. The quantum approximate optimization algorithm and the Sherrington-Kirkpatrick model at infinite size. arXiv:1910.08187, 2019.
- [13] M. Bayati, D. Gamarnik, and P. Tetali. Combinatorial approach to the interpolation method and scaling limits in sparse random graphs. Annals of Probability. (Conference version in Proc. 42nd Ann. Symposium on the Theory of Computing (STOC) 2010), 41:4080–4115, 2013.
- [14] A. Frieze. On the independence number of random graphs. Discrete Mathematics, 81:171–175, 1990.
- [15] Richard M Karp. The probabilistic analysis of some combinatorial search algorithms. Algorithms and complexity: New directions and recent results, 1:1–19, 1976.
- [16] Fernando G. S. L. Brandao, Michael Broughton, Edward Farhi, Sam Gutmann, and Hartmut Neven. For fixed control parameters the quantum approximate optimization algorithm’s objective function value concentrates for typical instances. arXiv:1812.04170, 2018.
- [17] Leo Zhou, Sheng-Tao Wang, Soonwon Choi, Hannes Pichler, and Mikhail D. Lukin. Quantum approximate optimization algorithm: Performance, mechanism, and implementation on near-term devices. arXiv:1812.01041, 2018.