PaperThe following article is Open access

An expressive ansatz for low-depth quantum approximate optimisation

, , , and

Published 13 February 2024 © 2024 The Author(s). Published by IOP Publishing Ltd
, , Citation V Vijendran et al 2024 Quantum Sci. Technol. 9 025010DOI 10.1088/2058-9565/ad200a

2058-9565/9/2/025010

Abstract

The quantum approximate optimisation algorithm (QAOA) is a hybrid quantum–classical algorithm used to approximately solve combinatorial optimisation problems. It involves multiple iterations of a parameterised ansatz that consists of a problem and mixer Hamiltonian, with the parameters being classically optimised. While QAOA can be implemented on near-term quantum hardware, physical limitations such as gate noise, restricted qubit connectivity, and state-preparation-and-measurement (SPAM) errors can limit circuit depth and decrease performance. To address these limitations, this work introduces the eXpressive QAOA (XQAOA), an overparameterised variant of QAOA that assigns more classical parameters to the ansatz to improve its performance at low depths. XQAOA also introduces an additional Pauli-Y component in the mixer Hamiltonian, allowing the mixer to implement arbitrary unitary transformations on each qubit. To benchmark the performance of XQAOA at unit depth, we derive its closed-form expression for the MaxCut problem and compare it to QAOA, Multi-Angle QAOA (MA-QAOA) (Herrman et al 2022 Sci. Rep.12 6781), a classical-relaxed algorithm, and the state-of-the-art Goemans–Williamson algorithm on a set of unweighted regular graphs with 128 and 256 nodes for degrees ranging from 3 to 10. Our results indicate that at unit depth, XQAOA has benign loss landscapes with local minima concentrated near the global optimum, allowing it to consistently outperform QAOA, MA-QAOA, and the classical-relaxed algorithm on all graph instances and the Goemans–Williamson algorithm on graph instances with degrees greater than 4. Small-scale simulations also reveal that unit-depth XQAOA invariably surpasses both QAOA and MA-QAOA on all tested depths up to five. Additionally, we find an infinite family of graphs for which XQAOA solves MaxCut exactly and analytically show that for some graphs in this family, special cases of XQAOA are capable of achieving a much larger approximation ratio than QAOA. Overall, XQAOA is a more viable choice for variational quantum optimisation on near-term quantum devices, offering competitive performance at low depths.

Export citation and abstractBibTeXRIS

Original content from this work may be used under the terms of the Creative Commons Attribution 4.0 license. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.

1. Introduction

Full-fledged fault-tolerant quantum computers capable of executing quantum algorithms that can solve problems of interest are expected to involve at least millions of physical qubits, high-fidelity gate operations, and quantum error correction techniques [1]. While the physical realisation of such devices is still a long way off, noisy intermediate-scale quantum (NISQ) devices capable of running quantum algorithms with limited circuit depth are becoming more widely available [2, 3]. Particularly promising are the variational quantum algorithms (VQAs) [48] capable of potentially realising a quantum advantage on NISQ devices. Unlike traditional quantum algorithms like Shor’s algorithm [9] that use specially designed quantum circuits to solve specific problems, VQAs use parameterised quantum circuits whose objective is to drive a quantum state close to the desired state that minimises a cost function by varying the gate parameters.

The quantum approximate optimisation algorithm (QAOA) [8] is one such algorithm that can solve optimisation problems by encoding their solutions into the ground state of a quantum Hamiltonian and preparing a quantum state that approximates this ground state. QAOA involves a p-level quantum circuit described by a collection of 2p classical parameters to generate a quantum state. The classical parameters are fine-tuned to optimise the expectation of the cost for the generated quantum state. This quantum state can then be measured to obtain an approximate solution to the optimisation problem. Besides its ability to solve combinatorial optimisation problems, QAOA can be used to perform universal quantum computation [10, 11]. Moreover, even at its lowest level p = 1, QAOA can efficiently generate probability distributions that likely cannot be generated efficiently by classical computers [12, 13].

Several variants of the original QAOA algorithm have been developed, each with different operators and initial states [1426] or different objective functions for tuning the variational parameters [27, 28]. Depth-reduction techniques [29, 30] or methods like circuit cutting [31, 32] that optimise QAOA circuits while taking into account quantum hardware limitations; as well as classical aspects such as hyper-parameter optimisation and exploitation of problem structure, have been studied as well [18, 19, 3340]. However, one key drawback of realistic QAOA implementations is the need for deep quantum circuits with many qubits [4146]. This poses a hurdle since NISQ devices are significantly limited due to their restricted qubit connectivity, inadequate qubit control, limited coherence times, and absence of quantum error correction, causing noise to grow with circuit depth and eventually affecting the fidelity of the resulting quantum state [4756].

There are several approaches that have been proposed to improve the performance of low-depth QAOA by adding new parameters to the ansatz [23, 5761]. These approaches include multi-angle QAOA (MA-QAOA) [57], which increases the number of classical parameters added in each layer for more precise control of the optimisation process; free-axis mixer QAOA (FAM-QAOA) [58], which includes additional variational parameters in the mixer Hamiltonian that allow for rotation about an axis in the XY plane; QAOA with adaptive bias fields (AB-QAOA) [59], which adds a Pauli-Z component to the mixer Hamiltonian; adaptive derivative assembled problem tailored QAOA (ADAPT-QAOA) [60], which grows the ansatz iteratively using a gradient criterion; and QAOA+ [23], which augments the traditional QAOA ansatz with an additional multi-parameter layer that is independent of the specific problem being solved. Despite these improvements, there remains an imperative for problem-inspired quantum ansatzes with minimal computational overhead, which are not only expressive but also readily trainable allowing for greater flexibility in the optimisation process.

This paper presents a modified version of the QAOA called eXpressive QAOA (XQAOA). It shares the same inspiration behind the recently proposed MA-QAOA approach [57] but goes beyond it by including an additional Pauli-Y component in the mixing Hamiltonian. This modification strategically overparameterises the quantum ansatz, facilitating the exploration of all relevant directions of the Hilbert space by allowing the mixer to effectively implement arbitrary unitary operations on each qubit with just a single iteration. As a result, XQAOA does not suffer from reachability deficits [44, 62]; with appropriately chosen angles, XQAOA can output any computational-basis state. To quantify the performance of the quantum algorithm, we apply it to the problem of maximum cut (MaxCut) on arbitrary graphs. We derive closed-form expressions for XQAOA, MA-QAOA, and QAOA at p = 1 for the MaxCut problem and benchmark their performance against a naive classical-relaxed (CR) algorithm and the state-of-the-art Goemans–Williamson (GW) [63] algorithm on unweighted D-regular graphs—graphs where every node is connected to D other nodes—with 128 and 256 nodes for $3 \unicode{x2A7D} D \unicode{x2A7D} 10$. The benchmark reveals that at p = 1, XQAOA outperforms MA-QAOA, QAOA, and the CR algorithm on all graph instances and the GW algorithm on graphs with D > 4; interestingly, the CR algorithm also outperforms QAOA and MA-QAOA on all graphs with QAOA matching MA-QAOA’s performance for graphs with D > 5. We find that the exceptional performance of the XQAOA ansatz is attributed to the favourable characteristics of its benign loss landscape, which is notably free of barren plateaus and spurious local minima, with any remaining local minima being concentrated around the global optimum. Lastly, we show that for unweighted triangle-free graphs with edges of odd degrees, XQAOA can solve MaxCut exactly. Here, the edge degree d(e) of an edge $e = \{u,v\}$ is defined as the number of neighbours of e, i.e. $ d(e) = |\mathcal{N}(u)\cup \mathcal{N}(v)|-2$, where $\mathcal{N}(w)$ is the set of all nodes connected to the node w.

The structure of the remainder of this paper is as follows: in section 2, we review the necessary background material, where we explain the MaxCut problem and the challenges in finding its optimal solution (section 2.1), the traditional QAOA ansatz and its application to the MaxCut problem (section 2.2), and the MA-QAOA ansatz and its extension to MaxCut on arbitrary graphs in (section 2.3). In section 3, we introduce XQAOA and discuss its variants and other notable properties. In section 4, we present the results of our numerical simulations. In section 5, we interpret and discuss our results, and in section 6, we provide some concluding remarks.

2. Preliminaries

2.1. Maximum cut (MaxCut)

Many real-world problems can be phrased as combinatorial optimisation problems [64]. Here, we lay emphasis on XQAOA’s application to an archetypal problem known as MaxCut, which has numerous applications in computer science and operations research, including statistical physics and circuit layout design [65], analysis of social networks [66], data clustering [67], semi-supervised learning [68], and more [69, 70]. The (weighted) MaxCut problem is an optimisation problem in which we are given an undirected weighted graph and asked to partition its vertices into two disjoint sets S and $\overline S$ such that the sum of the weights of the edges between the two sets is as large as possible.

Formally, given an undirected graph $G = (V, E)$ and non-negative weights $w_{uv} = w_{vu}$ on the edges $\{u, v\} \in E$, the MaxCut problem is that of finding a set S of vertices that maximises the weight of the edges in the cut $(S, \overline{S})$; that is, the weight of the edges with one endpoint in S and the other in $\overline{S}$. The MaxCut problem can be formulated as a binary quadratic program of the form

Equation (1)

The optimisation problem given by equation (1) is $\mathsf{NP}$-hard 4 , which suggests that it is highly plausible that no efficient algorithm exists that can solve it.

However, there are approximation algorithms that can find good solutions in polynomial time for many instances of the problem. The GW algorithm holds the current record for an approximation ratio guarantee on generic graphs, achieving an approximation ratio of $r^* \approx 0.87856$ using semidefinite programming [63]. When confined to unweighted three-regular graphs, this lower bound can be increased to $r^* \approx 0.9326$ [72]. 5 Assuming the unique games conjecture [74] 6 and that $\mathsf{P} \neq \mathsf{NP}$, this is the best possible approximation ratio for MaxCut [7577] that polynomial-time classical algorithms can achieve. Additionally, it has been proven that it is $\mathsf{NP}$-hard to approximate the MaxCut value with an approximation ratio that is better than $r^* \unicode{x2A7E} 16/17 \approx 0.94117$ [78, 79].

2.2. QAOA

Combinatorial optimisation problems can be formulated using n bits and m clauses, where each clause represents a constraint on a subset of the bits that is satisfied for certain combinations of values for those bits but not for others. We consider the case when each clause µ is associated with a cost $c_\mu \in \mathbb{R}$. The objective function defined on n-bit strings is then given by the sum of the costs of the satisfied clauses:

Equation (2)

where $z = z_1 z_2\cdots z_n \in \{0,1\}^n$ is an n-bit string and $C_{\mu} (z) = c_\mu$ if z satisfies the clause µ and 0 otherwise. An approximate optimisation algorithm aims to find a string z that achieves a desired approximation ratio $r^\star$, i.e. it seeks a string z that satisfies

Equation (3)

where $C_{\text{max} } = \text{max} _{z} C(z)$. The QAOA algorithm consists of two operators (see figure 1): the problem unitary and the mixing unitary, which are generated by the problem Hamiltonian and mixing Hamiltonian, respectively. The problem unitary is defined as the following unitary operator $U (C,\gamma)$ which depends on a real-valued angle $\gamma \in \mathbb{R}$:

Equation (4)

The operators $C = \sum_z C(z) \left|z\right\rangle \!\!\left\langle z \right|$ and $C_\mu = \sum_z C_\mu(z) \left|z\right\rangle \!\!\left\langle z \right|$ are the diagonal operators whose entries are the objective function values. Next, the mixing unitary is defined as the β-dependent product of commuting one-qubit unitaries

Equation (5)

where $\beta \in [0, \pi)$ and B is the sum of all single-qubit Pauli-X operators

Equation (6)

For any positive integer $p \unicode{x2A7E} 1$, the QAOA algorithm generates an angle-dependent quantum state using 2p angles, $\boldsymbol{\gamma} = [\gamma_1, \gamma_2, \ldots, \gamma_p]$ and $\boldsymbol{\beta} = [\beta_1, \beta_2, \ldots, \beta_p]$, where the subscripts of γ and β indicate the iterate number of the quantum ansatz. The quantum state has the form

Equation (7)

where $ \left|s\right\rangle $ denotes the uniform superposition over all n-bit strings

Equation (8)

We then compute the expectation value of C for the variational state described in equation (7)

Equation (9)

which is accomplished by repeated measurements of fresh copies of the quantum system in the computational basis. The optimal parameters $(\boldsymbol{\gamma}^*, \boldsymbol{\beta}^*)$ that maximise the expectation value $\langle C \rangle$ are found using a classical computer:

Equation (10)

Typically, this is performed by estimating the parameters and then optimising them using simplex or gradient techniques. The approximation ratio $r^*$ is a relevant metric for assessing the performance of QAOA, where

Equation (11)

Figure 1. Refer to the following caption and surrounding text.

Figure 1. (a) A specific instance of a graph for which we want to identify a set of vertices that maximises the number of edges that are cut. (b) A quantum circuit with a single iteration of a quantum ansatz applied to it. The quantum ansatz consists of a unitary operation specific to the problem being solved and a problem-independent mixing unitary. (c) Decomposing the problem and mixing unitaries for QAOA, MA-QAOA, and XQAOA into CNOT and single-qubit rotation gates.

Standard image High-resolution image

We will focus on applying QAOA to the MaxCut problem for the rest of this paper. To this end, note that the optimisation problem in equation (1) is equivalent to finding the maximum eigenvalue of the problem Hamiltonian C for MaxCut:

Equation (12)

where Zi denotes the Pauli-Z matrix acting on the ith qubit.

Before proceeding with the rest of the section, let us make a few definitions that will be used throughout the paper. For $w \in V$, let $\mathcal{N}(w) = \{x \in V: \{x,w\} \in E \}$ be the set of neighbours of w, i.e. vertices which are adjacent to w. Then, for an edge $\{u, v\} \in E$, we have that

  • $e = \mathcal{N}(v) \backslash \{u\}$ is the set of vertices other than u that are connected to v.
  • $d = \mathcal{N}(u) \backslash \{v\}$ is the set of vertices other than v that are connected to u.
  • $F = \mathcal{N}(u) \cap \mathcal{N}(v)$ is the set of vertices that form a triangle with the edge $\{u,v\}$. In other words, F is the set of vertices that are neighbours of both u and v.

The following theorem can be used to compute the expectation value of the cost function for QAOA at p = 1 (QAOA1) for MaxCut on arbitrary weighted graphs, thereby allowing us to assess the performance of QAOA1.

Theorem 1. Consider the $\mathrm{QAOA}_1$ state $\left|\gamma,\beta\right\rangle$ for MaxCut on an arbitrary weighted graph G. Then, the expectation value of C in $\left|\gamma,\beta\right\rangle$ is $\left\langle \gamma,\beta \right| C\left|\gamma,\beta\right\rangle = \sum_{\{u,v\}\in E} \langle C_{uv}\rangle$, where

Equation (13)

and $\gamma^{^{\prime}}_{ij} = \gamma w_{ij}$.

In appendix D.3, we give a proof of theorem 1, which we show follows as a straightforward corollary of our main theorem (theorem 3). By taking $w_{ij} = 1$ if $\{i,j\}\in E$ and 0 otherwise, equation (13) simplifies for unweighted graphs to:

Equation (14)

which has previously appeared as equation (14) of [80]. 7

From theorem 1, we see that at p = 1, the expectation value $\left\langle C_{u v}\right\rangle$ of any edge in a graph depends on only the nodes and edges adjacent to it. The overall expectation value for QAOA1 can then be calculated by summing the expectation values over all edges in the graph. For an n-node graph, the right-hand side of equation (13) can be computed in linear time O(n). Since the total number of edges in any graph is at most $\binom{n}{2} = O(n^2)$, computing the expectation value of QAOA would take at most $O(n^3)$ time. However, to find an actual bit string that represents an approximate solution for an arbitrary graph, here we use the QAOA quantum circuit to generate a quantum state on which measurement is performed.

2.3. MA-QAOA

The MA-QAOA [57] varies from the original QAOA in that it allows each summand of the problem and mixing Hamiltonians to have its own angle, as opposed to these Hamiltonians having a single angle each 8 . In this modification for p = 1 (called MA-QAOA1), the problem and mixing unitaries are defined as

Equation (15)

Equation (16)

respectively, where $\boldsymbol{C} = (C_\mu)_{\mu = 1,\ldots,m}$ and $\boldsymbol{B} = (B_\nu)_{\nu = 1,\ldots,n}$ denote collections of operators. Thus, MA-QAOA1 generates an angle-dependent quantum state of the form

Equation (17)

where $\boldsymbol{\gamma} = [\gamma_1, \gamma_2, \dots, \gamma_m]$ and $\boldsymbol{\beta} = [\beta_1, \beta_2, \dots, \beta_n]$. The subscript in γµ refers to the µth clause, and the subscript in βν refers to the νth qubit. In the context of MaxCut, µ and ν index the edges and vertices, respectively, of the graph involved. The approximation ratio obtained using QAOA lower bounds that of MA-QAOA, and MA-QAOA’s guarantee of convergence to the exact solution as $p \to \infty$ follows immediately from [8, equation (10)] and from noting that MA-QAOA is a generalisation of QAOA.

Herrman et al [57] provide an analytical formula for computing the performance of MA-QAOA1 on MaxCut for unweighted triangle-free graphs. We generalise their result with the following theorem, where we present an analytical formula for the expectation value of the cost function for MA-QAOA1 for MaxCut on arbitrary weighted graphs, allowing for the assessment of MA-QAOA1’s performance on general graphs.

Theorem 2. Consider the $\mathrm{MA\textrm{-}QAOA}_1$ state for MaxCut on an arbitrary graph G. Then, the expectation value of C in $\left|\boldsymbol{\gamma},\boldsymbol{\beta}\right\rangle$ is $\left\langle \boldsymbol{\gamma},\boldsymbol{\beta} \right| C\left|\boldsymbol{\gamma},\boldsymbol{\beta}\right\rangle = \sum_{\{u,v\}\in E} \langle C_{uv}\rangle_{\mathrm{MA}}$, where

Equation (18)

and $\gamma_{jk}^{^{\prime}} = \gamma_{jk}w_{jk}$.

We present, in appendix D.3, a proof of theorem 2, which again, is a straightforward corollary of our main theorem (theorem 3). Like equation (13), the expectation value $\left\langle C_{u v}\right\rangle_{\mathrm{MA}}$ for any edge in a graph depends on only its neighbouring nodes and edges, and the overall expectation value is the sum of the expectation values over all edges in the graph; hence, computing equation (18) for an arbitrary graph has a time complexity of $O(n^3)$. However, this time complexity has a larger constant prefactor compared to that of computing equation (13). While QAOA1 involves only two hyperparameters regardless of the size of the problem, MA-QAOA1 involves $|V| + |E| = O(n) + O(n^2)$ classical hyperparameters.

3. Expressive QAOA (XQAOA)

The XQAOA builds on MA-QAOA by introducing an additional α -dependent unitary operator to the mixing Hamiltonian. Let us define the α -dependent operator to be the following product of commuting one-qubit operators:

Equation (19)

where $\boldsymbol{A} = (A_i)_{i = 1,\ldots,n}$, and $\alpha \in [0, \pi)$. 9

The mixing unitary is then given by the product of the $U (\boldsymbol{B}, \boldsymbol{\beta})$ and $U (\boldsymbol{A}, \boldsymbol{\alpha})$ unitary operators:

Equation (20)

Thus at p = 1, XQAOA generates an angle-dependent quantum state of the form

Equation (21)

where $\boldsymbol{\alpha} = [\alpha_1, \alpha_2, \dots, \alpha_n]$, $\boldsymbol{\beta} = [\beta_1, \beta_2, \dots, \beta_n]$, and $\boldsymbol{\gamma} = [\gamma_1, \gamma_2, \dots, \gamma_m]$. Similarly to the equation (17), the subscript in γi denotes the ith clause, and the subscripts in αi and βi refer to the ith qubit, which in the context of MaxCut correspond to the edges and vertices, respectively, of the graph.

One motivation for introducing the XQAOA is that, unlike QAOA and MA-QAOA, the XY mixer 10 in equation (20) is the most general product (with respect to the n registers in the circuit) unitary operator one could write for p = 1 XQAOA, up to an unphysical global phase incurred when the system is measured immediately after the mixer unitary is applied. This makes XQAOA a natural generalisation of QAOA to consider, as one aims to maximise the expressiveness of the ansatz given the limitations on its depth, and also gives XQAOA the ability to output any computational-basis state given appropriate angles γ , β , and α . To see this, note that if we set the angles $\boldsymbol{\gamma} = \boldsymbol{\beta} = \mathbf{0}$ in (21), we are left with single-qubit Y-rotations on the $\left|+\right\rangle$ states. Choosing appropriate angles αj on each qubit will bring $\left|+\right\rangle$ to $\left|0\right\rangle$ or $\left|1\right\rangle$. The same is true for when $\boldsymbol{\gamma} = \mathbf{0}$ and $\boldsymbol{\alpha} = \boldsymbol{\beta}$. Consequently, as we mentioned in section 1, XQAOA is able to eschew any reachability deficits [44, 62].

From equation (21), it is clear that several variations of the XQAOA ansatz can be generated by placing restrictions on the allowed angles of the mixing unitaries. The MA-QAOA is a special case of the XQAOA ansatz obtained by setting all $\alpha_i = 0$. Other configurations of the XQAOA ansatz worth noting are those with the XY Mixer, Y Mixer, and the X = Y Mixer, respectively. The XY Mixer is the most general mixer and uses individual angles αi , βi for each unitary in the mixing Hamiltonian. The Y Mixer consists of only Pauli-Y gates and is obtained by setting all βi to zero. The X = Y Mixer includes both Pauli-X and Pauli-Y gates but uses a single angle for both, with αi equal to βi .

As we summarise in table 1, the XQAOA ansatzes with the XY mixer, Y mixer, and X = Y mixer for n qubits and m clauses require the classical optimisation of $2n + m$, n + m, and n + m angles, respectively. While the performances of these mixers are not known a priori, the XY mixer is expected to have a higher computational overhead than the other two mixers due to the presence of an additional n classical parameters. The X = Y mixer is expected to perform better than the Y mixer because it is able to trace a larger portion of the Bloch sphere due to its non-trivial trajectory, whereas the Y mixer is limited to the XZ plane .

Table 1. Summary of the XQAOA ansatz family and the associated number of free parameters for p iterations of the ansatz for MaxCut on graphs with n vertices and m edges.

AnsatzNo. of parameters
MA-QAOAp $(n+m)p$
XQAOA$^{\textrm{XY}}_p$ $(2n+m)p$
XQAOA$^{\textrm{Y}}_p$ $(n+m)p$
XQAOA$^{\textrm{X = Y}}_p$ $(n+m)p$

In the remainder of the paper, we will use the superscript notation to indicate the specific variant of the XQAOA ansatz being used, i.e. $\mathrm{XQAOA}_1^{\mathrm{XY}}$, $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$, and $\mathrm{XQAOA}_1^{\mathrm{Y}}$ refer to p = 1 XQAOA with the XY, X = Y, and Y mixers, respectively. The next theorem—the main theorem of this paper—allows us to calculate the expectation value of the cost function for $\mathrm{XQAOA}_1^{\mathrm{XY}}$ for MaxCut on arbitrary weighted graphs, which in turn allows us to evaluate the performance of XQAOA.

Theorem 3. Consider the $\mathrm{XQAOA}_1^{\mathrm{XY}}$ state $\left|\boldsymbol{\gamma}, \boldsymbol{\beta}, \boldsymbol{\alpha}\right\rangle$ for MaxCut on an arbitrary weighted graph G. Then, the expectation value of C in $\left|\boldsymbol{\gamma},\boldsymbol{\beta}, \boldsymbol{\alpha}\right\rangle$ is $\left\langle \boldsymbol{\gamma},\boldsymbol{\beta}, \boldsymbol{\alpha} \right| C\left|\boldsymbol{\gamma},\boldsymbol{\beta}, \boldsymbol{\alpha}\right\rangle = \sum_{\{u,v\}\in E} \langle C_{uv}\rangle_{\mathrm{XY}}$, where

Equation (22)

and $\gamma_{jk}^{^{\prime}} = \gamma_{jk}w_{jk}$.

We present a proof of theorem 3 in appendix D.2. Like equations (13) and (18), the expectation value of any edge in a graph $\left\langle C_{u v}\right\rangle_{\mathrm{XY}}$ is determined by its neighbouring nodes and edges, and the overall expectation value is the sum of the expectation values of all edges in the graph. Calculating equation (22) for an arbitrary graph also has a time complexity of $O(n^3)$, but has a larger prefactor compared to both equations (13) and (18). While QAOA1 requires only two parameters regardless of the problem size and MA-QAOA1 requires $n + n^2$ parameters, $\mathrm{XQAOA}_1^{\mathrm{XY}}$ requires $2n + n^2$ parameters. In contrast, both $\mathrm{XQAOA}_1^{\mathrm{Y}}$ and $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ require $n + n^2$ parameters.

In the following corollary, we show that for unweighted graphs with edges of odd edge degrees, the $\mathrm{XQAOA}_1^{\mathrm{Y}}$ ansatz can solve MaxCut exactly. Here, the edge degree d(e) of an edge $e = \{u, v\}\in E $ is defined as the number of neighbours of e, i.e. $ d(e) = |\mathcal N(u)\cup \mathcal N(v)|-2$.

Corollary 4. Consider an unweighted graph G where the edge degree of every edge is odd. Then, when $\gamma = \pi$ and $\alpha = \frac{\pi}{4}$, the $\mathrm{XQAOA}_1^{\mathrm{Y}}$ state $\left|\gamma, \alpha\right\rangle$ provides the exact MaxCut solution for G, where $\left|\gamma, \alpha\right\rangle$ denotes the state in equation (21) where all $\gamma_i = \gamma$, $\beta_i = 0$, and $\alpha_i = \alpha$.

We give a proof of corollary 4 in appendix D.4. One consequence of corollary 4 is that it allows us to identify a graph instance for which we can analytically prove a separation between $\mathrm{XQAOA}_1^{\mathrm{Y}}$ and $\mathrm{QAOA}_1$. Our next corollary elucidates this result.

Corollary 5. For the unweighted five-vertex star graph G, $\mathrm{XQAOA}_1^{\mathrm{Y}}$ with optimal angles (say, from corollary 4) computes the MaxCut of G with an expected (and worst-case) approximation ratio of 1, whereas the expected approximation ratio of $\mathrm{QAOA}_1$ with optimal angles is only 0.75.

We give a proof of corollary 5 in appendix D.5. While our result above pertains to the five-vertex star graph (see figure 2), one can readily generalise this proof to any t-vertex star graph, where $t\unicode{x2A7E} 5$ is odd (here, the oddness criterion arises because it is only for odd-vertex star graphs that the edge degrees of the graph are all odd). The statement that QAOA1 achieves an optimal expected approximation ratio of 3/4 for these graphs could be considered a finite-dimensional analogue of [57, section IV]’s result that in the limit as the number of vertices tends to infinity, the performance of QAOA1 approaches 0.75 for star graphs. In terms of the expected approximation ratio that can be achieved, this infinite class of graphs instantiates a clear advantage that XQAOA has over QAOA.

Figure 2. Refer to the following caption and surrounding text.

Figure 2. Diagrammatic representation of the five-vertex star graph S4, which we use to show an advantage that XQAOA has over QAOA. More specifically, we show that while $\mathrm{XQAOA}_1^{\mathrm{Y}}$ can find the MaxCut of S4 with an approximation ratio of 1, QAOA1 can achieve an approximation ratio of at most 3/4.

Standard image High-resolution image

4. Computational results

We evaluate the performance of the XQAOA algorithm by benchmarking it on the MaxCut problem on unweighted D-regular graphs that were generated using an algorithm developed by Steger and Wormald [85]. Since the three different configurations $\mathrm{XQAOA}_1^{\mathrm{XY}}$, $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ and $\mathrm{XQAOA}_1^{\mathrm{Y}}$ of XQAOA that we consider have performances that are not known a priori, we first benchmark them on 10 randomly generated instances of 3-regular graphs with 128 vertices. The best-performing configuration of XQAOA1 is then benchmarked against MA-QAOA1, QAOA1, and the CR and GW algorithms on 25 instances of D-regular graphs with 128 and 256 vertices for $3 \unicode{x2A7D} D \unicode{x2A7D} 10$. The XQAOA1, MA-QAOA1, QAOA1, and CR algorithms are benchmarked by performing 100 runs of the classical optimiser with random initial points, whereas the GW algorithm is benchmarked by first solving the relaxed problem and then generating 100 random vectors for hyperplane rounding. For an explanation of the GW algorithm, we refer the reader to appendix A. The CR algorithm computes the MaxCut by simply running the optimiser on the relaxed version of equation (1), i.e.

Equation (23)

where the maximisation is performed over angles θu and θv .

To compute the approximation ratio, we need to obtain the exact MaxCut values, which we did using the GUROBI solver [86], a widely used industry tool. Although proving optimality with GUROBI takes exponential time, it can find solutions quickly. GUROBI was able to identify optimal solutions for 128-node graphs and near-optimal solutions for 256-node graphs with at most $6\%$ MIPGap 11 . To compute the expectation values of QAOA1, MA-QAOA1, and XQAOA1 for large n, we used the analytical results from theorems 13. The parallel-LBFGS algorithm was used to optimise the variational parameters of QAOA1, MA-QAOA1, XQAOA1, and the CR algorithm.

Finally, to assess the performance of quantum algorithms at increased depths, we expanded our benchmarking to include depths ranging from 1 to 5 for the most effective XQAOA variant, as well as QAOA and MA-QAOA. Due to the lack of analytical formulas for larger p values and the significant computational complexity associated with simulating deep quantum circuits, we conducted our benchmarks using the Qiskit [87] simulator on small graphs.

4.1. Benchmark results for p = 1

Our comparative analysis of the three XQAOA variants on three-regular graphs revealed that the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ variant performed the best (see figure 3). When benchmarked against MA-QAOA1, QAOA1, CR, and the GW algorithm on D-regular graphs with 128 and 256 vertices for $3 \unicode{x2A7D} D \unicode{x2A7D} 10$, $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ consistently outperformed QAOA1, MA-QAOA1, and the CR algorithm on all graph instances. Notably, $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ demonstrated competitive performance against the GW algorithm for three and four-regular graphs and exceeded it for D-regular graphs with D > 4 (see figure 4) 12 . The boxplots reveal that the lower, middle and upper quartile values of $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ are significantly higher than those of the GW algorithm for graphs with D > 4, indicating that $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ is more likely to produce a better solution irrespective of the parameter initialisation strategy. This robustness of the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ to initial parameter choices can be attributed to its overparameterised ansatz, which is further explained in section 5.3.

Figure 3. Refer to the following caption and surrounding text.

Figure 3. Improvement of $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ ansatz over the $\mathrm{XQAOA}_1^{\mathrm{XY}}$ and $\mathrm{XQAOA}_1^{\mathrm{Y}}$ ansatz for ten different instances of three-regular graphs with 128 vertices. For each of the three ansatz variants, the parallel-LBFGS optimiser was run 100 times with random initial values for each of the ten graph instances.

Standard image High-resolution image
Figure 4. Refer to the following caption and surrounding text.

Figure 4. This boxplot compares the sizes of cuts obtained by quantum and classical algorithms against the maximum cut size found by GUROBI. The data used to create the boxplots comes from 100 random cuts generated using the GW algorithm, 100 random initialisations for several other algorithms ($\mathrm{XQAOA}_1^{\mathrm{X = Y}}$, MA-QAOA1, QAOA1, and CR), and 100 informed initialisations for QAOA1 (labelled as QAOA$^*$) applied to 25 different instances of regular graphs with 128 or 256 nodes and degree values ranging from 3 to 10. The whiskers extend up to data points within 1.5 times the interquartile range from the upper and lower quartiles, and crosses represent outliers. For clarity, outliers of QAOA1, with approximation ratios less than 0.7, that resulted from the barren plateau have been omitted. The inset scatterplot compares the best-found solutions for 100 runs for the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ and the GW algorithm on all the graph instances. The points in the upper-left corner show that $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ performs better than GW, while the opposite is true for points in the lower-right corner. The colour of the points indicates the degree of the corresponding graph.

Standard image High-resolution image

Our analysis also highlighted a linear increase in the approximation ratio of QAOA1 with the degree of the graph. Its performance nears that of MA-QAOA1 for D > 5, hinting at a possible reachability deficit [44, 62] , limiting MA-QAOA1’s ability to find an approximate solution close to the optimal. It is also important to note that the QAOA1 ansatz experiences the barren plateau phenomenon [89], with the size of the plateau increasing with the degree of the graph. To mitigate this, careful selection of initial points for the classical optimiser is crucial, as outlined in appendix C. The results of this strategy are also presented in figure 4 as QAOA$^*$.

4.2. Quantum–classical transition

In our numerical simulations with the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ ansatz, we observed that as the classical optimiser converged to an optimum, the optimal angles $(\boldsymbol{\gamma}^*, \boldsymbol{\beta}^*)$ stabilised at specific values. Specifically, $\gamma_{uv}^*$ converged to values in $\{0, \pi, 2\pi\}$, 13 while $\beta_u^*$ converged to values in $\{\pi/4, 3\pi/4\}$ (see figure 5). When $\gamma_{uv}^* \in \{0, 2\pi\}$, the two-qubit R$_{\mathrm{ZZ}}(0) $ and R$_{\mathrm{ZZ}}(2\pi)$ gates act as the identity gate, leaving qubits u and v unchanged. When $\gamma_{uv}^* = \pi$, the two-qubit gate R$_{\mathrm{ZZ}}(\pi) = \left|+,+\right\rangle\left\langle -,- \right| + \left|+,-\right\rangle\left\langle -,+ \right| + \left|-,+\right\rangle\left\langle +,- \right| + \left|-,-\right\rangle\left\langle +,+ \right|$. In other words, it swaps the states $\left|+\right\rangle_u \leftrightarrow \left|-\right\rangle_u$ and $\left|+\right\rangle_v \leftrightarrow \left|-\right\rangle_v$. Since the initial state $\left|s\right\rangle$ is a product state $\left|+\ldots+\right\rangle$, the state after all two-qubit gates will be a product state of $\left|+\right\rangle$s and $\left|-\right\rangle$s. Specifically, qubit u will be in the $\left|+\right\rangle_u$ state if it is swapped an even number of times and in the $\left|-\right\rangle_u$ state if it is swapped an odd number of times. Finally, the action of the mixing gates is to convert the $\left|+\right\rangle$ and $\left|-\right\rangle$ states to $\left|0\right\rangle$ or $\left|1\right\rangle$ depending on the value of $\beta^*$:

Equation (24)

Equation (25)

allowing us to read off the classical bit-string. It is important to acknowledge that due to degenerate local optimums, a relatively small subset of angles might not stabilise at the specified values even after convergence. Given the benign characteristics of the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ ansatz’s loss landscape, such deviations are highly unlikely. However, in cases where deviations occur, we force $\gamma^*_{uv}$ to take the closest value in $\{0,\pi,2\pi\}$. 14

Reviewing figure 5 from a different perspective, we observe that the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ ansatz, initially set with random angles, creates a highly entangled quantum state with a multitude of superposed states. As optimisation progresses, this entanglement gradually decreases, leading to a marked reduction in the number of superposed states. When the optimum is reached, the entangling layer disappears, leaving the system in a singular definitive state. In essence, what begins as a distinctly quantum state, through the course of optimisation, evolves into a classical state. This transition, marked by the disappearance of the entangling layer, facilitates the extraction of the solution through classical means, negating the need for quantum computers. This quantum-to-classical transition raises a natural question of whether the entangling layer is fundamentally necessary. To answer this, we conducted further numerical simulations by setting $\boldsymbol{\gamma} = \mathbf{0}$ and optimising only the β angles. Our numerical results showed that without any entangling layer, the performance of $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ was similar to that of CR (see figure 6). In fact, when we set $\boldsymbol{\gamma} = \mathbf{0}$, equation (22) reduces to

Equation (26)

which is the same as equation (23) with the angles having an additional factor of 2. This demonstrates that the overparameterised entangling layer augments the landscape, making the gradient-based classical optimiser less susceptible to getting trapped in local optima.

Figure 5. Refer to the following caption and surrounding text.

Figure 5. This graph illustrates the changes in the γ and β angles of the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ ansatz as the classical optimiser reaches the optimal solution for a three-regular graph with 32 vertices and 48 edges. Each line in the graph represents a set of evaluated parameters, with the colour indicating the corresponding approximation ratio. The solid red circles in the graph represent the final angles determined by the classical optimiser for the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ ansatz.

Standard image High-resolution image
Figure 6. Refer to the following caption and surrounding text.

Figure 6. Improvement of $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ ansatz over $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ with $\boldsymbol{\gamma} = 0$, and the classical-relaxed algorithms for ten different instances of three-regular graphs with 128 vertices. For each of the three ansatz variants, the parallel-LBFGS optimiser was run 100 times with random initial values for each of the ten graph instances.

Standard image High-resolution image

4.3. Benchmark results for $1 \unicode{x2A7D} p \unicode{x2A7D} 5$

In previous sections, we showed that $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ achieves near-optimal solutions and surpasses QAOA1 and MA-QAOA1. This led us to compare XQAOA$^{\textrm{X = Y}}_p$’s performance with QAOAp and MA-QAOAp for p > 1. Lacking analytical formulas for expectation values for p > 1 and constrained by the computational overhead of large-scale quantum simulation, we performed small-scale simulations using Qiskit [87], benchmarking 20 random three-regular graph instances with 16 vertices each. Given the variability in expectation values due to the limited number of shots (1024), we utilised the Powell optimiser [90] with ten random restarts to optimise the ansatzes’ parameters. The simulation results, presented in figure 7, reveal that the median approximation ratio of XQAOA$^{\textrm{X = Y}}_p$ consistently outperforms QAOAp and MA-QAOAp up to p = 4, with $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$’s median nearly reaching 1.0. Interestingly, while QAOAp shows modest improvement with increasing depth, MA-QAOAp peaks at p = 3 before declining at $p \unicode{x2A7E} 4$. 15 In contrast, XQAOA$^{\textrm{X = Y}}_p$ exhibits a gradual decline in performance beyond p = 1, particularly noticeable at $p \unicode{x2A7E} 4$. This decline is attributed to barren plateaus due to the circuit’s overexpressiveness, rather than a lack of effectiveness at higher depths [92, 93].

Figure 7. Refer to the following caption and surrounding text.

Figure 7. Comparison of approximation ratios achieved by QAOAp , MA-QAOAp , and XQAOA$^{\textrm{X = Y}}_{p}$ for $1 \unicode{x2A7D} p \unicode{x2A7D} 5$, evaluated across 20 instances of three-regular graphs, each with 16 vertices. The Powell optimiser was run ten times with random initialisation for each graph instance across all three algorithms.

Standard image High-resolution image

5. Discussion

5.1. Randomness in the approximation algorithms

We optimise the classical parameters of XQAOA1, MA-QAOA1, QAOA1, and CR algorithms using a gradient-based classical optimiser. We start the optimisation process with a randomly chosen initial point which affects the quality of the solution found, especially if the optimisation landscape is non-convex and has non-trivial features. If the initial point is near a local optimum or barren plateau, the gradient-based optimiser will converge to the local optimum and return a suboptimal solution. As a result, XQAOA1, MA-QAOA1, QAOA1, and CR algorithms have a wide range of approximate solutions for the same problem. The maximum approximation ratio returned by MA-QAOA1 is 0.82, whereas XQAOA1 can often achieve an approximation ratio of 1.0 with the right choice of initial parameters. The range of approximation ratios for the CR algorithm is similar to XQAOA1, but numerical simulations suggest that the cost landscape of the CR algorithm may be difficult to navigate and plagued with local optima, which may require an exponential number of initial points for the CR to match XQAOA1’s performance, thus negating the benefit of having a polynomial-time approximation algorithm.

The GW algorithm also has randomness in its process. After it solves the relaxed version of the MaxCut problem, it generates an n-dimensional random vector r to perform its hyperplane rounding to find the optimal cut. While GW has an expected approximation ratio of $0.87856$ in the worst case at the asymptotic limit, the distribution of the approximation ratio returned by the GW algorithm for a finite number of randomly generated r vectors and problem instances can vary significantly, which is why we see a distribution for the output of the GW algorithm. While XQAOA1, MA-QAOA1, and the CR algorithm each require solving the problem anew for each random initial point, the GW algorithm solves the relaxed MaxCut problem just once and then efficiently generates individual solutions through hyperplane rounding with randomly generated vectors, avoiding repetitive computations.

5.2. Classical simulability of the XQAOA Ansatz

Computing expectation values of QAOA1, MA-QAOA1, and XQAOA1 for MaxCut on arbitrary graphs all have a time complexity of $O(n^3)$, albeit with varying prefactors. XQAOA1 is unique in that its entangling layer vanishes at the optimal solution, in contrast to QAOA1 and MA-QAOA1, which maintain their entangling layer post-convergence. This entangling layer in QAOA1 and MA-QAOA1 requires generating an entangled quantum state through quantum computation followed by measurements to assign values to variables, precluding efficient classical simulation. In contrast, XQAOA1’s optimal state, characterised by zero gammas, is non-entangled and permits classical bit assignment without quantum computation. However, in cases where XQAOA1 falls short, a p > 1 XQAOAp might be required, necessitating quantum computation.

It remains an open question whether a simple analytical formula exists for efficiently computing the mean values of Pauli operators of the XQAOA1, MA-QAOA1, and QAOA1 states when dealing with k-local Ising Hamiltonians for k > 2. Additionally, if the problem assignments take integer-valued arguments, the quantum circuit would require more qubits per variable, further increasing the entangling and non-locality of the circuit, potentially allowing for quantum advantage. The p = 1 recursive QAOA (RQAOA1) [39] is another quantum algorithm that can solve the MaxCut problem classically in time $O(n^4)$ without requiring any quantum computation or multi-qubit measurements.

5.3. Role of overparameterisation in XQAOA

The efficacy of XQAOA largely stems from its overparameterised ansatz. Overparameterisation, which involves introducing additional parameters to increase model dimensionality, reshapes the loss landscape to facilitate easier optimisation. To understand the impact of overparameterisation, consider the role of local minima in this context: a local minimum is a point in the loss landscape with a loss value lower or equal to those of its neighbours within an epsilon radius. While such minima are prevalent in lower dimensions, they become less likely with increasing dimensionality as it becomes harder for their loss values to remain the lowest across all new dimensions, converting them from minima into saddle points. Saddle points differ from local minima as they are not the lowest points in all directions; thus, optimisers can navigate past them more readily. As overparameterisation turns more potential local minima into saddle points, the path to the global minimum becomes less obstructed. Although the overparameterised models may not be completely devoid of local minima, the remaining local minima tend to be close to the global minimum. This proximity reduces the likelihood of settling for suboptimal solutions and facilitates more efficient convergence to the global minimum [9498]. This advantageous effect of overparameterisation is evident in figure 4, where the lower quartiles for $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ consistently surpass 0.92 approximation ratio on all the benchmarked graph instances, strongly hinting at the benign loss landscape devoid of barren plateaus and suboptimal local minima.

While the previous discussion intuitively explains how overparameterisation enhances the efficacy of XQAOA, it is crucial to place this within the wider context of ongoing research on the trainability 16 of parameterised quantum circuits (PQCs). These studies, which form the basis of quantum landscape theory (QLT) [99], offer a deeper understanding of quantum loss landscapes [37, 48, 53, 89, 92, 93, 100106]. QLT defines a PQC to be overparameterised when it has sufficiently many parameters to explore all relevant directions of its state space [99]. An essential aspect of this definition is the inherent expressiveness of the PQC, which is characterised by its ability to generate a wide range of unitaries under varied parameter settings [107]. This distinction is particularly evident when comparing $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ and MA-QAOA1 for the MaxCut problem; despite having an equal number of parameters, $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ consistently outperforms MA-QAOA1 on all problem instances. However, high expressivity also has drawbacks, such as the barren plateau phenomenon, where circuits show vanishingly small gradients due to their expressiveness [92]. XQAOA addresses this by using a problem-specific ansatz, tailoring its circuit design to the task at hand. This approach allows XQAOA to be overparameterised with a quadratic number of parameters, in contrast to generic ansatzes that may require exponentially more parameters and deeper circuits [99, 108]. XQAOA thus achieves an optimal balance, avoiding both the limitations of underparameterisation, such as spurious local minima and reachability deficits [53], and the challenges of high expressivity like barren plateaus. This positions XQAOA in an optimal ‘Goldilocks zone’ of trainability and expressivity.

5.4. Shallow XQAOA vs deep QAOA

The decision to use shallow XQAOA versus deep QAOA circuits hinges on their trainability for a given problem. Trainability depends on the loss landscapes of their ansatzes, influenced by factors like parameter count, initialisation strategy, circuit depth, and hardware noise. These factors can adversely affect trainability, hindering optimisation. Thus, the choice between shallow XQAOA and deep QAOA is determined by their relative trainability under these conditions.

It is evident that to surpass the performance of XQAOA1, QAOA circuits need to be sufficiently deep. For example, it is conjectured that a minimum depth of p = 12 is necessary for QAOA to outperform the GW algorithm on the MaxCut problem on unweighted 3-regular graphs [43]. This conjecture not only posits a depth requirement but also suggests a parameter initialisation strategy of using a set of predetermined angles for warm-starting the optimisation. However, this strategy becomes ineffective in the presence of hardware noise [48]. The noise distorts the loss landscape, leading to barren plateaus, and necessitates deeper, more noise-prone circuits. In contrast, our findings suggest that $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ is adequate for the MaxCut problem, questioning the need for deeper XQAOA circuits on NISQ devices. While XQAOA may require p > 1 for certain problems, necessitating quantum computation, its relatively shallower depth compared to QAOA makes it less susceptible to noise. With sufficiently low noise levels, XQAOA can still achieve near-optimal solutions, albeit with additional random restarts or parameter initialisation strategies [105].

For problems unlike MaxCut on unweighted three-regular graphs, where patterns are ambiguous [37, 106] and a priori information is limited, training deep QAOA circuits is more challenging [109]. This is due to the difficulty in determining the minimal effective depth [110] and suitable parameter initialisation strategies in scenarios where random initialisation is suboptimal [89]. For such problems, where extracting useful a priori information is challenging, XQAOA may be a preferable choice, regardless of whether the quantum computers are NISQ or fault-tolerant. An example of such a problem could be the MaxCut on randomly weighted regular graphs or randomly generated graphs.

6. Conclusion

In this work, we presented the XQAOA ansatz and its variants and explained how they generalise the MA-QAOA and QAOA ansatzes. Our numerical simulations reveal that a single iteration of the XQAOA ansatz, especially with the X = Y mixer, outperforms a single iteration of both MA-QAOA and QAOA. This enhanced performance of XQAOA is attributed to its overparameterised ansatz, which enables exploration in all relevant directions of its state space. The incorporation of the Pauli-Y rotation gate also significantly contributes to this improved efficacy. Our benchmarks also reveal that XQAOA performs just as well as the state-of-the-art GW algorithm and even outperforms it for unweighted regular graphs with degrees greater than 4. Additionally, we find that the naive CR algorithm with fewer classical parameters than MA-QAOA performs better by a large margin and that the performance of QAOA grows arbitrarily close to MA-QAOA for regular graphs with increasing degrees. Finally, we find an infinite family of graphs for which XQAOA solves MaxCut exactly and show analytically that for some graphs in this family, special cases of XQAOA are capable of achieving a much larger approximation ratio than QAOA.

Interestingly, we found that as the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ ansatz converges to an optimum, its entangling layer disappears, leaving behind only single-qubit unitaries, making it possible to efficiently solve and extract the solution classically. Although the entangling layer disappears as the ansatz reaches an optimal solution, it is necessary for the optimisation process, without which the performance of the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$ ansatz deteriorates to that of the CR algorithm. Although for the problem of MaxCut, the efficient classical simulation of the p = 1 XQAOA ansatz eliminates quantum advantage, it remains open whether this is still the case for larger p and problems whose Ising formulations are two-local with external fields or k-local with k > 2.

We have also shown that despite the XQAOA ansatz being overparameterised—with a quadratic increase in free parameters in the worst-case scenario—it is significantly easier to train compared to the underparameterised QAOA ansatz and the adequately parameterised CR algorithm. The QAOA ansatz struggles with issues like spurious local minima, barren plateaus, and reachability deficits, while the CR algorithm often encounters sub-optimal local minima far from the global optimum. In contrast, the XQAOA ansatz, like other overparameterised models, features a more benign loss landscape, free from barren plateaus, spurious local minima, and reachability deficits. This characteristic enables the classical optimiser to consistently converge to optimal or near-optimal solutions, independent of the parameter initialisation strategy. While the increased number of free parameters in XQAOA might suggest higher computational costs, its faster convergence rate, eliminating the need for specific initialisation strategies or random restarts, compensate for the extra parameters’ computational overhead.

Our work opens up new avenues for further research into improving quantum optimisation algorithms as well as their impact on various applications. For example, QAOA and its variants have already found numerous potential uses in solving various optimisation problems beyond MaxCut, including problems in graph theory [111113], finance [114], chemistry [115, 116], and others [15, 117]. Future work could extend these results by adopting and exploiting the advantages of XQAOA in various applications. In addition, due to its advantages at low depth, XQAOA could be tested and implemented on near-term quantum hardware and compared against existing experimental benchmarks [112, 117119].

Acknowledgments

V V is thankful to Ye Jun from the A*STAR Institute of High Performance Computing and the A*STAR Computational Resource Centre for supporting this work through the use of their high-performance computing facilities. V V is thankful to Aaron Tranter for the stimulating discussions and insightful suggestions. We thank Truman Ng for helpful comments on an earlier version of this manuscript. This research is supported by A*STAR C230917003 and the Australian Research Council Centre of Excellence CE170100012. DEK acknowledges funding support from the A*STAR Central Research Fund (CRF) Award for Use-Inspired Basic Research; and the National Research Foundation, Singapore and A*STAR under the Quantum Engineering Programme (NRF2021-QEP2-02-P03).

Data availability statement

The data that support the findings of this study are openly available at the following URL/DOI: https://github.com/vijeycreative/XQAOA-Dataset [120].

Appendix A: Goemans–Williamson (GW) algorithm

The GW algorithm [63] is a polynomial-time approximation algorithm for approximately solving the MaxCut problem. The algorithm works by constructing a semidefinite programming relaxation of the MaxCut problem and then rounding the solution to get a near-optimal cut in the original graph.

Recall in section 2.1 that the MaxCut problem can be formulated as a binary quadratic program of the form

Equation (A1)

We can relax this program to a vector program by allowing the binary variables yi to be n-dimensional vector variables v i that lie on the n-dimensional unit sphere Sn . Replacing the product of scalar terms in equation (A1) with the corresponding inner product, we obtain the following vector program for MaxCut,

Equation (A2)

This relaxed vector program can be efficiently solved by semidefinite programming, which allows us to obtain a set of optimal vectors $\boldsymbol{v}^*_i$ for each node in the original graph. The GW algorithm then uses a random n-dimensional vector r from Sn to partition the vertices into two sets by assigning $\textrm{sign}(\boldsymbol{r} \cdot \boldsymbol{v}^*_i)$ to each node. The sign function returns 1 for non-negative inputs and -1 elsewhere, meaning that each node’s rounding depends on its position relative to the hyperplane defined by r that passes through the origin. The probability of the hyperplane rounding cutting an edge $\{i, j\}$ is proportional to the angle between the vectors and can be expressed as

Equation (A3)

The expected weight of the cut found by the algorithm is calculated by adding up the expected contributions of each edge, where the contribution of an individual edge is its probability of being cut. We can write the sum as follows

Equation (A4)

To find the approximation ratio, we need to compare the expected weight of the cut produced by the algorithm to the optimal cut. This is done by comparing the ratio α of individual edge contributions for each edge $\{i, j\}$ in equations (A4) and (A2) and finding the minimum value:

Equation (A5)

where $\theta = \text{arccos}{(\boldsymbol{v}_i \cdot \boldsymbol{v}_j)}$ is the angle between the vectors $\boldsymbol{v_i}$ and $\boldsymbol{v_j}$. Minimising the above expression, we get

Equation (A6)

Having determined that each edge’s contribution to the cut is expected to be no less than $0.87856$ of the optimal value for $\theta = 2.331122$, we can use the linearity of expectation to conclude that the total expected value is also no less than $0.87856$ of the optimal value. If the unique games conjecture [7477] proves true, this method offers the strongest possible guarantee that any classical algorithm can achieve in polynomial time.

Appendix B: Parallel-LBFGS algorithm

The XQAOA1 and MA-QAOA1 methods require more classical effort to identify angles that maximise the approximation ratio due to the presence of more variables to optimise. To compute the angles for QAOA1, MA-QAOA1, and XQAOA1 on the collection of graphs, we used a parallel implementation of the limited-memory Broyden–Fletcher–Goldfarb–Shanno (LBFGS) [121] algorithm. This implementation, similar to that described in [122], utilises parallelism to compute each variable’s approximate gradients and function in parallel through the use of a wrapper class that interfaces with the standard LBFGS code. Approximate gradients are calculated using a numeric central difference gradient approximation (CGA), which requires 2n evaluations of the objective function if the function has n parameters. The LBFGS algorithm sequentially evaluates the objective function $1 + 2n$ times per iteration. When run on p available processor cores, the Parallel-LBFGS algorithm can evaluate all objective function calls in parallel, reducing the running time by a factor of p. Figure 8 illustrates the operation of the parallel-LBFGS algorithm.

Figure 8. Refer to the following caption and surrounding text.

Figure 8. The parallel-LBFGS algorithm and CGA method are used to optimise an objective function. The objective function $f(\boldsymbol{x})$, gradient function $\widetilde{gr}(x_i)$, and initial points $\boldsymbol{x} = (x_1, x_2, \dots, x_n)$ are provided to the LBFGS algorithm, which is initialised with p asynchronous processes. A gradient pool distributes the gradient calculation across p available processors. When the LBFGS algorithm calls either the objective or gradient function, the wrapper interface (blue box) begins evaluating the objective function and all the gradients in parallel. The results are then combined and returned to the LBFGS algorithm. This process is repeated until the optimisation converges to a solution (i.e. when all the gradients are less than or equal to the specified gradient tolerance value).

Standard image High-resolution image

Appendix C: Barren-plateau free classical optimisation of QAOA ansatz

It has been previously demonstrated in [106] that when the problem instance comes from a reasonable distribution, the cost landscape and the optimal parameters of the QAOA1 ansatz are independent of the specific instance. This means that, for typical instances, the value of the objective function and optimal parameters are nearly the same. As a result, a strategy for finding good parameters is to take one instance of the problem and invest time and resources into finding good parameters. Although this may be computationally expensive, once this has been done, these same parameter values will result in good cost function values on other randomly chosen instances. In other words, the overall cost of solving multiple instances becomes smaller as the number of instances increases. In the case of the MaxCut problem on D-regular graphs, all graphs have this property: all vertices are connected to D other vertices. This same reasoning will apply to other combinatorial search problems that have a restriction where the number of clauses in which any variable can appear does not grow with n or at least grows only slowly with high probability.

While we are not focused on reducing the computation cost of optimising the QAOA1 ansatz for a group of graphs, we are interested in identifying the location of the barren plateaus in the cost landscape in order to avoid choosing initial points in these areas. Figure 9 shows the contour plots of the optimisation landscape of the QAOA1 ansatz for regular graphs with 128 vertices and degrees ranging from 2 to 10. The flat lightly coloured regions without contour lines are the barren plateaus, and it is important to avoid these areas as initial points for the classical optimiser, as failing to do so may result in the optimiser converging to a suboptimal solution and not providing the maximal solution possible using the QAOA1 ansatz. Choosing good initial points is especially important for regular graphs with larger degrees, as the barren plateau’s size increases with the graph’s degree.

Figure 9. Refer to the following caption and surrounding text.

Figure 9. The cost function for QAOA1 ansatz for D-regular graphs with 128 vertices is plotted on contour plots for $2 \unicode{x2A7D} D \unicode{x2A7D} 10$, with the β and γ angles represented on the x and y-axis, respectively. The dark blue (red) regions represent points that maximise (minimise) the objective function. As the degree of the graph increases, the size of the barren plateaus in the cost function also increases. The barren plateaus are those lightly coloured regions without any contour lines. Despite this increase, the locations of the maxima and minima remain almost at similar locations for $0 \unicode{x2A7D} \beta \unicode{x2A7D} \frac{\pi}{4}$ and $\frac{7 \pi}{4} \unicode{x2A7D} \beta \unicode{x2A7D} 2 \pi$, alternating between degrees at $\frac{3 \pi}{4} \unicode{x2A7D} \beta \unicode{x2A7D} \frac{5 \pi}{4}$.

Standard image High-resolution image

In the contour plots shown in figure 9, the locations of the maxima and minima remain nearly the same for $0 \unicode{x2A7D} \beta \unicode{x2A7D} \frac{\pi}{4}$ and $\frac{7 \pi}{4} \unicode{x2A7D} \beta \unicode{x2A7D} 2 \pi$, alternating between degrees at $\frac{3 \pi}{4} \unicode{x2A7D} \beta \unicode{x2A7D} \frac{5 \pi}{4}$. Therefore, to help the classical optimiser converge on the best possible solution, we can set the initial points $\gamma \in [0, \frac{\pi}{4}]$ and $\beta \in [0, \frac{\pi}{4}]$, which will allow the classical optimiser to always converge on the optimal solution in the lower left corner of the optimisation landscape.

Appendix D: Quantifying the performance of XQAOA, MA-QAOA, and QAOA

The goal of this appendix is to derive the analytical expressions given by equations (22), (18) and (13) for the components of the $\mathrm{XQAOA}_1^{\mathrm{XY}}$, MA-QAOA and QAOA cost functions, respectively.

D.1. Some useful identities

Before proceeding with derivations of the analytical formulas, let us first state and prove some identities that will be used in this paper. We denote the set of positive integers by $\mathbb{Z}^+ = \{1,2,\ldots\}$ and the set of n-bit strings by $\mathbb{F}_2^n = \{0,1\}^n$. When n = 1, we write $ \mathbb{F}_2 = \mathbb{F}_2^1 = \{0,1\}$.

Lemma 6. Let $f \in \mathbb{Z}^+$ and $x_1, x_2, \dots, x_f, y_1, y_2, \dots, y_f \in \mathbb{R}$ be real numbers. Then,

Equation (D1)

Equation (D2)

where $|\mu| = \sum_{i = 1}^f \mu_i$.

Proof. The first identity equation (D1) follows from recognising that for any $a,b\in \mathbb{R}$, the sum a + b can be written as the following sum of products:

Equation (D3)

Applying equation (D3) to each term of the sum $\text{cos} x_i \text{cos} y_i + \text{sin} x_i \text{sin} y_i$ gives

Equation or symbol description not available

The identity in equation (D2) follows immediately from replacing each yi in equation (D1) with $-y_i$. □

By taking the sum (difference, respectively) of equations (D1) and (D2), only the even (odd, respectively) terms remain. Hence, it follows that

Lemma 7. Let $f \in \mathbb{Z}^+$ and $x_1, x_2, \dots, x_f, y_1, y_2, \dots, y_f \in \mathbb{R}$. Then, we have that

Equation (D4)

Equation (D5)

We now make a remark about the above identities: while the right-hand sides of equations (D1), (D2), (D4) and (D5) each involves a sum over exponentially (in f) many terms (the cardinality of $\mathbb{F}_2^f$ is 2f ), their left-hand sides involve just products of polynomially (in f) many terms. Hence, going from the right-hand sides of these identities to their left-hand sides results in exponential savings in computational cost. This will be useful for the expressions that we derive in appendix D.2.

D.2. Proof of theorem 3

Proof of theorem 3. Consider the XQAOA ansatz applied to MaxCut with $\left|s\right\rangle = \left|+\right\rangle^{\otimes n}$ and $Q = e^{-i \boldsymbol{\alpha}\cdot \boldsymbol{Y}}e^{-i \boldsymbol{\beta}\cdot \boldsymbol{X}}e^{-i \boldsymbol{\gamma}\cdot \boldsymbol{C}}$, where $\boldsymbol{\alpha}\cdot \boldsymbol{Y} = \sum_{i = 1}^n \alpha_i Y_i$, $\boldsymbol{\beta}\cdot \boldsymbol{X} = \sum_{i = 1}^n \beta_i X_i$, and $\boldsymbol{\gamma}\cdot \boldsymbol{C} = \sum_{\{u,v\}\in E} \gamma_{uv} C_{uv} = \frac 12\sum_{\{u,v\}\in E} \gamma_{uv} w_{uv}(I-Z_u Z_v) $.

Observe that

Equation (D6)

Hence, to compute the expectation value $\langle C \rangle_{\mathrm{XY}}$, it suffices to compute each term

Equation (D7)

in the sum separately.

For the rest of this proof, we fix an edge $\{u,v\} \in E$. We shall evaluate the product $Q^{\dagger} Z_{u} Z_{v}Q$ in equation (D7) by conjugating the Pauli operator $Z_{u} Z_{v}$ by the mixing unitary and then by the problem unitary. By the commutation properties of the Pauli matrices Λ and the fact that they satisfy $e^{-i \theta \Lambda} = \text{cos} \theta I-i \text{sin} \theta \Lambda$, it follows that most of the terms in the mixing unitary $e^{-i \boldsymbol{\alpha}\cdot \boldsymbol{Y}}e^{-i \boldsymbol{\beta}\cdot \boldsymbol{X}} = \prod_{j = 1}^{n} e^{-i \alpha_j Y_{j}}e^{-i \beta_j X_{j}}$ commute through $Z_u Z_v$ and annihilate their inverses. Hence,

Equation (D8)

The factors in the above Kronecker product can be expanded as follows. For $a\in\{u,v\}$,

Equation (D9)

Substituting this into equation (D8) gives

Equation (D10)

Hence, by substituting this expression into equation (D7), the expected cost function corresponding to the edge $\{u,v\}\in E$ can be written as

Equation (D11)

where for single-qubit Pauli matrices $P,Q \in \{X,Y,Z\}$, we have defined

Equation (D12)

Equation (D13)

Moving forward, the approach we take is as follows. Firstly, we shall evaluate the expression for $\eta(P,Q)$ in equation (D13) for all $P,Q \in \{X,Y,Z\}$. Secondly, we shall substitute our expressions for $\eta(P,Q)$ into equation (D12) to derive analytical expressions for $\xi(P,Q)$. Thirdly and also finally, we shall substitute these analytical expressions into equation (D11) to obtain our desired expression equation (22).

Before we execute these three steps, we first introduce some notation to help us keep track of the neighbours of the edge $\{u,v\}$: let

Equation (D14)

be the set of neighbours of u that are of distance 2 or greater from v. Similarly, let

Equation (D15)

be the set of neighbours of v that are of distance 2 or greater from u. Next, let

Equation (D16)

where $a_i = \omega_{b+i} = q_{c+i}$ for $i = 1,\ldots ,f$, be the set of vertices that are neighbours of both u and v, i.e. $\mathcal N_{uv}$ comprises those nodes in V that form a triangle with both u and v. Finally, let

Equation (D17)

be the set of neighbours of u that are not v and let

Equation (D18)

be the set of neighbours of v that are not u. We are now ready to execute our aforementioned three steps.

Step 1: evaluation of $\eta(P,Q)$

First, we rewrite equation (D13) as

Equation (D19)

where

Equation (D20)

since the term $\frac 12\sum_{\{u,v\}\in E} \gamma_{uv} w_{uv} I$ in Cuv is cancelled by its inverse and does not contribute to equation (D13). Next, we expand $ \boldsymbol{\gamma}\cdot \boldsymbol{C^{^{\prime}}} $ as

Equation (D21)

where

Equation (D22)

contains terms involving u but not v, and

Equation (D23)

contains terms involving v but not u, and $E_{(uv)} = \{\{a,b\}\in E : a,b \notin \{u,v\}\}$ denotes the set of edges that do not contain either u or v as an endpoint. By substituting equation (D21) into equation (D19), we obtain

Equation (D24)

where $\Gamma_{PQ} = \eta(P,Q) P_u Q_v$. By using the fact that Pauli operators either commute or anti-commute, evaluating equation (D24) gives

Equation (D25)

Equation (D26)

Equation (D27)

Equation (D28)

To evaluate equation (D25), we first compute

Equation (D29)

where we applied the trick in equation (D3) to each term in the above product. In the above expression, $|x| = \sum_{i = 1}^d x_i$ denotes the Hamming weight of the string $x\in \{0,1\}^d$. Similarly,

Equation (D30)

By taking the product of equations (D29) and (D30), and using equation (D16) to relabel the vertices in $\mathcal N_{uv}$ by ai ’s, we obtain the following expression for equation (D25):

Equation (D31)

Next, by substituting equation (D29) into equation (D26), we obtain

Equation (D32)

Similarly, by substituting equation (D30) into equation (D27), we obtain

Equation (D33)

This completes Step 1, where $\eta(P,Q)$ is specified by equations (D24), (D31), (D32), (D33) and (D28).

Step 2: evaluation of $\xi(P,Q)$

There are $3^2 = 9$ different choices of $PQ \in \{X,Y,Z\}^2$. We will split these choices into four cases, as follows:

  • Case 1: $PQ = XX, XY, YX, YY$. By substituting equations (D24) and (D31) into equation (D12), we obtain
    Equation (D34)
    By writing the initial state as $\left|s\right\rangle\!\!\left\langle s \right| = \bigotimes_{j = 1}^n \frac{1}{2}(I+X_j)$, the last line of equation (D34) can be expanded as
    Equation (D35)
    Now, for $P \in \{X,Y\}$ and for $|\mu| \in \mathbb{N}$,
    Equation (D36)
    where the $[A]$ denotes the Iverson bracket of statement A; i.e. $[A] = 1$ if A is true and 0 otherwise. Similarly,
    Equation (D37)
    Hence, the product of equations (D36) and (D37) is
    Equation (D38)
    Substituting equation (D38) into equation (D35) gives
    Equation (D39)
    Substituting equation (D39) into equation (D34) and using the Kronecker deltas to eliminate terms in the sum, we get
    Equation (D40)
    Since the Iverson brackets in equation (D40) vanish when PQ = XY or YX, it follows that
    Equation (D41)
    When PQ = XX, equation (D40) reduces to
    Equation (D42)
    where the second equality follows from equation (D4).Similarly, for the case PQ = YY, utilising equation (D5) gives
    Equation (D43)
    which differs from the expression given by equation (D42) for $\xi(X,X)$ by only a single minus sign. As we mentioned in appendix D.1, the identities equations (D4) and (D5) allowed us to simplify the exponential sums in equation (D40) to get exponential savings in the computational cost in the worst case.
  • Case 2: $PQ = XZ, YZ$. By substituting equations (D24) and (D32) into equation (D12), we obtain, for $P = X,Y$,
    Equation (D44)
    By writing $\left|s\right\rangle\!\!\left\langle s \right| = \bigotimes_{j = 1}^n \frac{1}{2}(I+X_j)$, the last line of equation (D44) can be expanded as
    Equation (D45)
    Hence, by substituting equation (D45) into equation (D44), we obtain
    Equation (D46)
    Equation (D47)
  • Case 3: $PQ = ZX, ZY$. This case is identical to Case 2, but with the vertices u and v swapped. Hence, from equations (D46) and (D47), we deduce that
    Equation (D48)
    Equation (D49)
  • Case 4: PQ = ZZ. This case is straightforward. One readily computes that $\xi(Z,Z)$ vanishes:
    Equation (D50)

From the above calculations, we see that for five of the nine choices of P and Q, $\xi(P,Q)$ vanishes: $\xi(Z,Z) = \xi(Z,X) = \xi(Y,X) = \xi(X,Z) = \xi(X,Y) = 0$. The remaining four non-vanishing ones are given by equations (D42), (D43), (D47) and (D49).

Step 3: derivation of equation (22)

We are now essentially done. By substituting the expressions for $\xi(P,Q)$ that we obtained in Step 2 into equation (D11), and noting that $\mathcal N_{v\backslash u} = e$, $\mathcal N_{u \backslash v} = d$, $\mathcal N_{u\backslash\!\!\backslash v} = d\backslash F$, $\mathcal N_{v\backslash\!\!\backslash u} = e\backslash F$, and $N_{uv} = F$, we obtain equation (22). □

D.3. Proofs of theorems 2 and 1

The analytical expressions for the expected cost function of both MA-QAOA and QAOA can be derived from XQAOA’s analytical formula. Setting all αi to 0 in equation (22) gives equation (18) in theorem 2. Moreover, setting all βi to β and γi to γ in equation (18) and simplifying gives equation (13) in theorem 1.

D.4. Proof of corollary 4

Proof of corollary 4. By setting $\beta_k = 0$ for all k in equation (22), we obtain the following expected cost function (corresponding to the edge $\{u,v\}$) for $\mathrm{XQAOA}_1^{\mathrm{Y}}$ :

Equation (D51)

To prove corollary 4, we shall specialise equation (D51) to unweighted graphs with odd edge degrees. First, we show that if every edge degree of a graph $G = (V,E)$ is odd, then the graph is necessarily two-colourable, i.e. there exists a map $\tau:V\rightarrow \{0,1\}$ such that for all edges $\{u,v\}\in E$, $\tau(u)\neq \tau(v)$. Indeed, an instantiation of such a map τ is given by:

Equation (D52)

It now remains for us to prove that τ is indeed a two-colouring: let $\{u,v\}\in E$. Note that the edge degree of an edge $\{i,j\}\in E$ is $\mathrm{deg}(\{i,j\}) = |\mathcal{N}(i)\cup \mathcal{N}(j)|-2 = \mathrm{deg}(i)+\mathrm{deg}(j)-2$. By our assumption, the edge degree $\mathrm{deg}(\{u,v\})$ is odd, and hence $\mathrm{deg}(u) + \mathrm{deg}(v)$ is also odd. This implies that exactly one of $\mathrm{deg}(u)$ and $\mathrm{deg}(v)$ is odd, from which it follows that exactly one of $\tau(u)$ and $\tau(v)$ is equal to 1. Hence, $\tau(u)$ and $\tau(v)$ cannot be equal to each other, i.e. $\tau(u) \neq \tau(v)$. This completes our proof that G is two-colourable.

Now, a graph is two-colourable if and only if it does not contain an odd cycle (see [123, theorem 5.21], for example). Hence, the graph G considered in corollary 4 with all edge degrees being odd must be triangle-free, i.e. G does not contain a three-cycle. This implies that the set F in equation (D51) must be empty.

Therefore, setting $F = \emptyset$, $w_{uv} = 1$, and $\gamma_{ij}^{^{\prime}} = \gamma_{ij}$ for all edges $\{i,j\}\in E$ gives the expected $\mathrm{XQAOA}_1^{\mathrm{Y}}$ cost function (for the edge $\{u,v\}$) for unweighted graphs with all edge degrees being odd:

Equation (D53)

Note that if all the mixer unitary angles $\alpha_i = \alpha$ are equal and all the problem unitary angles $\gamma_{jk} = \gamma$ are equal, then equation (D53) simplifies to

Equation (D54)

In equation (D54), if one takes $\alpha = \tfrac \pi 4$ and $\gamma = \pi$, one obtains

Equation (D55)

By assumption, G has only odd edge degrees. Therefore, $|e|+|d|$ is odd, which implies that

Equation (D56)

So, the optimal expected cost function is given by

Equation (D57)

which coincides with the maximum cut size of two-colourable graphs (the MaxCut of two-colourable graphs is $|E|$ because one could just choose the maximum cut to be the two-colouring).

Therefore, the approximation ratio achieved is 1, i.e. the $\mathrm{XQAOA}_1^{\mathrm{Y}}$ state $\left|\gamma, \alpha\right\rangle$ provides the exact MaxCut solution for G. □

D.5. Proof of corollary 5

In this appendix, we give a proof of corollary 5, which quantifies the advantage that XQAOA has over QAOA for an unweighted $(k+1)$-vertex star graph $G = S_k$, illustrated in figure 2. To keep our analysis general, we will take k to be an arbitrary positive integer for now and only later specialise to k = 4.

Note that when k is even, all the edge degrees in Sk are odd; hence, corollary 4 implies that $\mathrm{XQAOA}_1^{\mathrm{Y}}$ with optimal angles computes the maximum cut of G with an approximation ratio of 1 whenever k is even. Hence, to complete the proof of corollary 5, it remains to show that QAOA1 can do no better than achieve an approximation ratio of $3/4$.

To this end, consider the cost function for QAOA1 given by equation (14). For the star graph Sk , $|e| = |F| = 0$ and $|d| = k-1$. Hence, equation (14) reduces to $\langle C_{uv}\rangle = \frac 12 + \frac 14 \text{sin} 4\beta \text{sin}\gamma(1+\text{cos}^{k-1} \gamma)$, which is independent of the edge $\{u,v\}$. Therefore, the expected value of C can be written as

Equation (D58)

Maximising equation (D58) over all β’s and γ’s gives

Equation (D59)

Equation (D60)

To find the maximum point(s) of gk , we start by taking its derivative. For $k\unicode{x2A7E} 2$, differentiating equation (D60) and simplifying gives

Equation (D61)

which is a degree-k polynomial in $\text{cos} \gamma$. Hence, finding the maximum point(s) of $g_k(\gamma)$ involves finding the roots of this polynomial. At this point, we specialise to k = 4. This allows to factorise the quartic polynomial equation (D61) as

Equation (D62)

Hence, at a maximum point $\gamma^* \in \text{arg}\max_{\gamma \in \mathbb{R}} g_k(\gamma)$, solving $g_4^{^{\prime}}(\gamma^*) = 0$ gives $\text{cos}\gamma^* \in \{0,-1,\tfrac 12\}$. When $\text{cos}\gamma^* = 0$, $g_4(\gamma^*) = \pm 1$; when $\text{cos}\gamma^* = -1$, $g_4(\gamma^*) = 0$; and when $\text{cos}\gamma^* = \tfrac 12$, $g_4(\gamma^*) = \pm \tfrac 9{16}\sqrt{3} \approx \pm 0.974 \lt 1$. Taking the maximum of all these values gives $\max_{\gamma \in \mathbb{R}} g_k(\gamma) = 1$. Substituting this into equation (D59) gives an approximation ratio of

Equation (D63)

In conclusion, for the unweighted 5-vertex star graph S4, $\mathrm{XQAOA}_1^{\mathrm{Y}}$ achieves an approximation ratio of 1, whereas QAOA1 achieves an approximation ratio of at most $\frac 34$.

Footnotes

  • Historically, the $\mathsf{NP}$-hardness of MaxCut was one of the earliest results known in computational complexity theory: the decision version of the MaxCut problem was one of Karp’s first $\mathsf{NP}$-complete problems [71]. Here, a decision problem is a problem in which a yes-or-no answer is sought. A decision version of the MaxCut problem may be phrased as follows: given a graph G and an integer j, determine if G has a cut whose size is at least j.

  • This bound by Halperin et al is an improvement over an earlier result by Feige et al, who found a smaller lower bound of $r^* \approx 0.924$ for unweighted three-regular graphs [73].

  • The unique games conjecture asserts that the problem of estimating the approximate value of a certain type of game, known as a unique game, has an $\mathsf{NP}$-Hard computational complexity.

  • One could also find similar analytical expressions for unweighted MaxCut in, for example, [81, equation (5.10)]. See also [39, 82, 83], which provide analytical expressions for more general cost functions.

  • Predating Herrman et al [57] was earlier work by Farhi et al [84], who first considered allowing for multiple angles in QAOA.

  • Due to the $\alpha\rightarrow \alpha+\pi$ and $\beta\rightarrow \beta+\pi$ translational symmetries of the QAOA output state, one could without loss of generality assume that α and β lie in the interval $[0, \pi)$. For the purposes of our simulations though, we do not place such an explicit restriction, since α and β repeat in intervals of π (in addition, for unweighted graphs, γ repeats in intervals of 2π) anyways. The data in figure 5 were adjusted to fit the ranges mentioned in this paper.

  • 10 

    The XY mixer used in XQAOA differs from Wang et al [17]’s approach. We utilise a single-qubit mixer to increase the range of Hilbert Space explored for binary combinatorial optimisation, while Wang et al employs a multi-qubit mixer in the Quantum Alternating Operator Ansatz to confine the search space to feasible solutions in integer-valued optimisation problems.

  • 11 

    The MIPGap is the gap between the lower and upper objective bound divided by the absolute value of the incumbent objective value.

  • 12 

    Here, we note that in figure 4, the boxplots for the $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$, CR, and GW algorithms show the distributions of the approximation ratios obtained for individual solutions. Notably, for $\mathrm{XQAOA}_1^{\mathrm{X = Y}}$, individual solutions were classically extracted by leveraging the quantum–classical transition, a phenomenon detailed in section 4.2. In contrast, the boxplots for QAOA1, QAOA$^*_1$, and MA-QAOA1 show the distributions of expected approximation ratios; we do this in lieu of computing the approximation ratios of individual solutions, as the latter would require implementation of the quantum algorithm on a quantum computer in order to obtain samples from measuring the output states of the circuits involved. Hence, the actual solutions obtained from QAOA1, QAOA$^*_1$, and MA-QAOA1 may differ from the expected approximation ratios shown in the boxplots, and could be either higher or lower. For an extended discussion of the distinction between using expected approximation ratios and approximation ratios of individual samples, we refer the reader to Larkin et al [88].

  • 13 

    In weighted graphs, the optimal angles $\gamma_{uv}^*$ are scaled by the edge weight wuv . The effective optimal angle, discounting the weight prefactor, can be calculated as $\gamma_{uv}^* = w_{uv} \gamma_{uv}^* \mod 2\pi$.

  • 14 

    For example, in a two-vertex graph, if $\gamma^*_{uv} \notin \{0, \pi, 2\pi\}$, the final state may be entangled, such as $c_0\left|01\right\rangle + c_1\left|10\right\rangle$. In this scenario, both measurement outcomes ‘01’ and ‘10’ yield the same MaxCut value, rendering the specific choice of $\gamma^*_{uv}$ inconsequential.

  • 15 

    It should be noted that MA-QAOAp ’s performance is lower-bounded by QAOAp when its parameter optimisation is warm-started with the optimal angles of QAOAp . The suboptimal results of MA-QAOAp in our simulations stem from the use of random parameter initialisation. For a detailed analysis of MA-QAOA$_{p\gt1}$’s performance with various parameter initialisation strategies, see Gaidai and Herrman [91].

  • 16 

    In this context, ‘trainability’ refers to the ability of a PQC to efficiently adjust its variational parameters for optimising a cost function. The terms ‘train,’ ‘trainable,’ and ‘trainability’ are often used interchangeably with ‘optimise’ and ‘optimisable’ in quantum algorithms literature due to the parallel drawn between PQCs and Quantum Neural Networks, where the process of optimising network variables is commonly referred to as ‘training.’.

Please wait… references are loading.
10.1088/2058-9565/ad200a