2026 Volume 35 Issue 5
Article Contents

Guanghui Li, Xiaohui Ni, Junjian Su, Sujuan Qin, Fenzhuo Guo, Bingjie Xu, Wei Huang, Fei Gao. Auxiliary-qubit-free quantum approximate optimization algorithm for the minimum dominating set problem[J]. Chinese Physics B, 2026, 35(5): 050304. doi: 10.1088/1674-1056/ae5052
Citation: Guanghui Li, Xiaohui Ni, Junjian Su, Sujuan Qin, Fenzhuo Guo, Bingjie Xu, Wei Huang, Fei Gao. Auxiliary-qubit-free quantum approximate optimization algorithm for the minimum dominating set problem[J]. Chinese Physics B, 2026, 35(5): 050304. doi: 10.1088/1674-1056/ae5052

Auxiliary-qubit-free quantum approximate optimization algorithm for the minimum dominating set problem

  • Received Date: 23/01/2026
    Accepted Date: 09/03/2026
    Available Online: 01/05/2026
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Figures(16)  /  Tables(5)

Article Metrics

Article views(270) PDF downloads(1) Cited by(0)

Access History

Auxiliary-qubit-free quantum approximate optimization algorithm for the minimum dominating set problem

Abstract: Quantum approximate optimization algorithm (QAOA) is a promising framework for solving combinatorial optimization problems on near-term quantum devices. One such problem is the minimum dominating set (MDS), which is known to be NP-hard. Existing QAOA algorithms for this problem typically require numerous auxiliary qubits, increasing circuit overhead and hardware requirements. In this paper, we propose an auxiliary-qubit-free QAOA algorithm based on Hamiltonian evolution (AQFH-QAOA) for the MDS problem. Unlike previous studies that require numerous auxiliary qubits, our algorithm eliminates the need for auxiliary qubits, thereby significantly reducing circuit overhead. In addition, we present an auxiliary-qubit-free optimized implementation of the previously proposed Guerrero’s QAOA algorithm (AQFG-QAOA) by utilizing gate decomposition techniques. Through a detailed analysis of gate complexity, we evaluate the applicability of these two algorithms. Numerical experiments demonstrate that our proposed algorithm achieves competitive solution quality compared with existing QAOA algorithms, making it a promising candidate for implementation on near-term quantum devices.

1.   Introduction
  • Quantum algorithms offer the potential for significant computational speedups over classical algorithms by exploiting fundamental quantum mechanical principles. These algorithms have demonstrated advantages in multiple fields, including cryptanalysis,[1] mathematical optimization,[2,3] and machine learning.[4–9] However, many well-known quantum algorithms, such as Shor’s algorithm,[10] Grover’s algorithm,[11] and the HHL algorithm,[12] rely on fault-tolerant quantum hardware with a large number of high-fidelity qubits, which is beyond the capabilities of current quantum devices.

    To circumvent these limitations, variational quantum algorithms (VQAs) have emerged as a promising framework. VQAs work by combining parameterized quantum circuits (PQCs) with classical optimization routines to iteratively minimize an objective function.[13] This hybrid quantum-classical approach is well-suited for noisy intermediate-scale quantum (NISQ) devices.[14] VQAs can be categorized according to their application domains, including the variational quantum eigensolver (VQE) for quantum chemistry[15] and the quantum approximate optimization algorithm (QAOA) for combinatorial optimization.[16]

    QAOA was originally proposed for unconstrained combinatorial optimization problems (UCOPs) and has become a widely studied quantum optimization method. It encodes the objective function into an objective Hamiltonian whose ground state corresponds to the optimal solution and employs a PQC to find this state. The PQC is constructed by alternating the unitary evolution operators of the objective Hamiltonian and the mixing Hamiltonian. As a promising approach, QAOA has been successfully applied to various UCOPs, including tail assignment,[17] vehicle routing,[18] and job shop scheduling.[19] For problems with hard constraints, the general strategy of QAOA is to utilize the penalty method to incorporate the constraints as penalty terms into the objective function, thereby constructing the objective Hamiltonian.[20] This strategy penalizes infeasible solutions to enforce the hard constraints. Although infeasible solutions that violate constraints may still appear, feasible solutions usually have a higher probability in the output.[21] This extends the applicability of QAOA to a wider range of constrained combinatorial optimization problems (CCOPs).[22–25]

    The minimum dominating set (MDS) problem is a representative CCOP with broad applications in fields such as wireless networks, biological networks, and social networks. Its goal is to find the smallest subset of vertices such that every vertex in the graph is either included in this subset or adjacent to at least one vertex in it.[26] As an NP-hard problem, various exact and approximate algorithms have been proposed to solve it.[27,28]

    In addition to classical algorithms, recent studies have also explored the potential of QAOA for solving the MDS problem. Dinneen and Hua[29] introduced surplus variables to convert the inequality constraints of the MDS problem into equalities and then applied the penalty method to transform the problem into a UCOP, providing a quadratic unconstrained binary optimization (QUBO) model for the MDS problem. Pan and Lu[30] adopted a similar approach but refined the penalty term range and reduced the number of surplus variables for vertices with small degrees. Both methods can be directly mapped into the objective Hamiltonian to construct the corresponding quantum circuit. However, they require a large number of auxiliary qubits, with the worst-case number of qubits reaching O(n+log2n) and n + 2m, respectively, where n and m represent the numbers of vertices and edges. Unlike these methods, Guerrero[31] proposed a QAOA that avoids introducing surplus variables by constructing two clauses to encode the objective function and hard constraints of the MDS problem. However, this algorithm requires multiple high-level multi-OR-controlled phase gates, whose worst-case decomposition requires n auxiliary qubits, posing a challenge to the limited qubit resources of current NISQ devices.

    In this study, we propose an auxiliary-qubit-free QAOA algorithm based on Hamiltonian evolution (AQFH-QAOA) for the MDS problem, which is specifically designed to address the qubit limitations of NISQ devices. Different from previous algorithms, the proposed algorithm transforms the inequality constraints of the MDS problem into equalities via Boolean algebra identities, thereby eliminating the need for auxiliary qubits in the constructed quantum circuit. Furthermore, we provide an auxiliary-qubit-free optimized implementation of Guerrero’s QAOA (AQFG-QAOA) by exploiting gate decomposition techniques. Subsequently, we analyze and compare the gate complexity of both algorithms and discuss their respective applicability on representative 3-regular graphs and Erdös–Rényi (ER) random graphs. The results show that for graphs with a smaller average degree, such as 3-regular graphs, the AQFH-QAOA algorithm is preferable due to its lower gate complexity. For ER random graphs with an edge probability of 0.5, the preferable algorithm depends on the problem size. Numerical experiments demonstrate that the proposed algorithm achieves competitive solution quality compared with existing QAOA algorithms. Additionally, an ablation study based on multi-angle QAOA indicates that the performance of the AQFH-QAOA algorithm can be further improved by replacing shared circuit parameters with independent ones.

    The rest of this paper is organized as follows. In Section 2, we provide background information and a review of related work. In Section 3, we present our proposed AQFH-QAOA algorithm for the MDS problem. In Section 4, we introduce the AQFG-QAOA algorithm and perform an algorithm comparison. In Section 5, we conduct numerical simulations and perform an ablation study to explore performance improvements. Finally, we conclude this work and provide prospects for future research in Section 6.

2.   Background
  • In this section, we provide background information related to this study in three parts. First, we present the definition of the MDS problem. Second, we provide a brief introduction to the QAOA. Finally, we review existing research related to this work, focusing on three representative algorithms.

  • Given an undirected graph G = (V, E), where V is the set of vertices and E is the set of edges, a subset D ⊆ V is called a dominating set if every vertex v ∈ V is either in D or adjacent to at least one vertex in D. The goal of the MDS problem is to find a dominating set with the smallest number of vertices.

    Let xi ∈ {0, 1} be a binary variable associated with each vertex vi ∈ V, where xi = 1 if the vertex vi is included in the dominating set and xi = 0 otherwise. N(vi) represents the set of neighbors of vertex vi. The MDS problem can be formulated as follows:

  • The QAOA is a VQA designed to tackle combinatorial optimization problems on near-term quantum devices. It was first proposed by Farhi et al.[16] as a promising approach for finding approximate solutions to optimization problems. QAOA encodes an optimization problem as a quantum Hamiltonian whose ground state corresponds to the optimal solution. The central idea is to construct a PQC to prepare this ground state through a set of adjustable parameters. The algorithm starts from the ground state of an initial Hamiltonian and evolves the quantum state through an alternating sequence of two parameterized unitary operators. One of the operators is derived from the objective function of the problem and is referred to as the objective Hamiltonian. The other is called the mixing Hamiltonian, which promotes exploration of the solution space.

    Formally, let f(x) be an objective function, where x ∈ {0, 1}⊗n encodes a candidate solution. QAOA starts from an initial state |ψ0〉, which is typically set to a uniform superposition of all computational basis states, i.e., |+〉⊗n. For a given number of circuit layers p, the PQC prepares the quantum state

    where UP(γ) = e−iγHP is the phase-separation operator, i.e., the unitary evolution operator of the objective Hamiltonian HP, and UM(β) = e−iβHM is the mixing operator, i.e., the unitary evolution operator of the mixing Hamiltonian HM. Typically, HM=∑i=1nσix, which is the sum of the Pauli-X operators. The parameters γ=(γ1,γ2,…,γp) and β=(β1,β2,…,βp) are optimized using a classical optimizer (e.g., Adam, Nelder–Mead, or COBYLA) to maximize (or minimize) the expected value

    This quantum–classical hybrid loop continues until the expected value converges or the parameter optimization reaches a predefined number of iterations. The expressive power of the PQC increases with the number of layers p. In theory, sufficiently large p allows the quantum circuit to approximate the optimal solution arbitrarily well. In practice, circuit depth is constrained by hardware limitations. Despite this, even QAOA with low depth has been shown to perform competitively with classical heuristics on certain problem instances.[32]

  • This subsection reviews prior work on QAOA for the MDS problem. Dinneen and Hua,[29] as well as Pan and Lu,[30] encode the MDS problem as a QUBO model but do not explicitly construct the corresponding objective Hamiltonian, although the derivation is straightforward. Nonetheless, their work provides a modeling strategy that bridges classical combinatorial optimization problems and variational quantum algorithms. Different from these two methods, Guerrero designed a QAOA algorithm for the MDS problem without using the QUBO model.[31] While this algorithm also requires auxiliary qubits, it reduces circuit overhead compared with the previous two methods. Collectively, these studies provide valuable modeling strategies and confirm the potential of QAOA for addressing the MDS problem.

  • To solve the MDS problem using standard QAOA, it must first be reformulated as an UCOP. A common approach is the penalty method, which incorporates the problem’s constraints into the objective function to penalize violations. Since the constraints in the MDS problem are inequalities, Dinneen and Hua[29] introduced surplus variables to convert them into equalities and then derived a QUBO formulation for the MDS problem, making it compatible with standard QAOA.

    The objective function to be minimized is

    where

    Here, xi ∈ {0, 1} indicates whether the vertex vi belongs to the dominating set (xi = 1) or not (xi = 0), P represents the penalty coefficient, pi represents the penalty term, N(vi) denotes the set of neighbors of vertex vi, and di denotes the degree of vertex vi. Moreover, yi,k represents the k-th binary surplus variable introduced for vertex vi, where 0 ≤ k ≤ ⌊log2di⌋ and k∈ℤ.

    The objective function F(x) is designed to balance two goals: minimizing the number of selected vertices and penalizing vertices that violate the constraints. The first term ∑vi∈Vxi encourages choosing fewer vertices, and the second term P∑vi∈Vpi, scaled by a positive penalty constant P > 1, penalizes vertices that violate the dominating set constraint. The penalty term pi equals zero if vertex vi is dominated, i.e., xi = 1 or at least one neighbor satisfies xj = 1. If vertex vi is not dominated, the surplus variable expression ∑k=0⌊log2di⌋2kyi,k adjusts the penalty to balance the gap. This expression can represent integers exceeding di, ensuring that even in the extreme case where all vertices in the closed neighborhood {vi} ∪ N(vi) are selected, the penalty term can be offset by appropriately adjusting the value of yi,k.

    Consequently, each vertex requires ⌊log2di⌋ + 1 surplus variables to balance the gap so that the penalty term pi approaches zero. The total number of binary variables is

    This means that the total number of binary variables used is at most O(n+nlog2n).

    The QUBO formulation can be mapped to the objective Hamiltonian of QAOA by substituting the binary variables with Pauli-Z operators. This mapping allows the quantum state to encode candidate solutions and evolve toward the low-energy configuration corresponding to the optimal solution of the minimum dominating set. Using the same initial state and mixing operators as in standard QAOA, the QAOA for solving the MDS problem can be constructed.

  • Inspired by Krauss et al.’s[33] use of quantum annealing to solve the maximum flow problem in QUBO form, Pan and Lu[30] proposed an improved QUBO formulation for the MDS problem. Compared with Dinneen and Hua’s model, their approach adjusts the coefficient of the last surplus variable in the surplus variable expression in Eq. (6) to correct its upper bound and refine its range. Additionally, they reduce surplus variable usage by applying the penalty term proposed by Glover et al.[34] for vertices with degree di = 0 and di = 1, thereby avoiding extra qubits for low-degree vertices.

    Similar to Dinneen and Hua’s method, they convert the inequality constraints in Eq. (2) into equalities via surplus variables and incorporate them into the objective function using the penalty method. The objective function to be minimized is

    where the penalty term pi depends on the degree di of vertex vi. The specific forms are as follows:

    (i) When di = 0, the original constraint reduces to xi ≥ 1, and the corresponding penalty term is given by

    (ii) When di = 1, the original constraint becomes xi + xj ≥ 1, where vj is the sole neighbor of vertex vi. Following the method proposed in Ref. [34], the penalty term can be expressed as

    (iii) When di ≥ 2, surplus variables are introduced to convert the inequality constraints into equalities. Let the surplus variable expression be denoted by S. For vertices with di ≥ 2, the inequality constraint is transformed into xi+∑vj∈N(vi)xj−S=1. Accordingly, the penalty term becomes

    The expression

    where yi,k ∈ {0, 1} are auxiliary variables used to represent integers up to di, thereby offsetting the gap in the original constraints.

    To summarize, vertices with di < 2 do not require any surplus variables, whereas those with di ≥ 2 require ⌊log2di⌋ + 1 surplus variables. Thus, the total number of binary variables is less than n+∑vi∈V(⌊log2di⌋+1). Since

    where n and m are the numbers of vertices and edges, respectively, the total number of binary variables in the worst case of this QUBO formulation is n + 2m. The QUBO formulation is mapped to an objective Hamiltonian and combined with the standard mixing Hamiltonian to construct a QAOA circuit, which requires at most n + 2m qubits.

  • Given a bitstring x = x0x1 ⋯ xn−1 representing n vertices of a graph, each bit xi ∈ {0, 1} indicates whether the vertex vi is included in the dominating set (xi = 1) or not (xi = 0). Guerrero proposed the following objective function to be maximized:[31]

    where

    and

    Here, the Tk(x) clause indicates whether a vertex vk is dominated, so the term ∑k=0n−1Tk(x) counts the total number of vertices dominated by the selected set. The Dk(x) clause indicates whether a vertex vk is excluded from the dominating set, so the term ∑k=0n−1Dk(x) measures the size of the non-dominating set. Maximizing the term ∑k=0n−1Tk(x) ensures that as many vertices as possible are dominated, satisfying the constraint of the MDS problem. Simultaneously, maximizing the term ∑k=0n−1Dk(x) is equivalent to minimizing the size of the dominating set. Taken together, the objective function is formulated as maximizing the sum of these two terms, which balances constraint satisfaction with minimizing the size of the dominating set, aligning with the goal of the MDS problem.

    Guerrero constructed a quantum circuit to implement this objective function, introducing an auxiliary qubit that remains unchanged throughout the circuit. The Dk(x) clause is implemented using a single-controlled phase gate, with the qubit corresponding to vertex vk as the control qubit and the auxiliary qubit as the target qubit. The implementation of the Tk(x) clause is more complicated, as it depends on the neighbors of vertex vk. Specifically, each Tk(x) clause is implemented through a multi-OR-controlled phase gate, where the qubits corresponding to the vertex vk and its neighbors are control qubits and the auxiliary qubit is the target qubit. For vertices with different neighbor structures, the control qubits differ.

    The mixing Hamiltonian is constructed as in standard QAOA for the MaxCut problem, i.e., HM=∑i=0n−1σix, where σix denotes the Pauli-X operator acting on qubit i. The corresponding unitary evolution is given by UM(β)=e−iβHM=∏i=0n−1RX(i)(2β), where RX(i)(2β) represents a rotation operator around the x-axis. The initial state |ψ0〉 is prepared as an equal superposition of all computational basis states over the n qubits, which can be achieved by applying Hadamard gates, i.e., |ψ0〉=H⊗n|0〉⊗n=|+〉⊗n. Both the RX(i)(2β) gates and the Hadamard gates are only applied to the qubits corresponding to vertices, excluding the auxiliary qubit. Figure 1 illustrates the quantum circuit constructed according to this algorithm for the 4-vertex 3-regular graph. All vertices in this graph share the same set of neighbors, so the quantum gate that implements the Tk(x) clause is identical for each vertex.

    Appendix A presents Guerrero’s decomposition method for the multi-OR-controlled phase gate and single-controlled phase gate. According to this decomposition, implementing a multi-OR-controlled phase gate generally requires additional auxiliary qubits. In the worst case, apart from the one auxiliary qubit introduced previously for the Dk(x) and Tk(x) clauses, implementing the Tk(x) clause corresponding to a vertex of degree n − 1 requires n − 1 additional auxiliary qubits. In total, the number of auxiliary qubits can reach n. Consequently, the overall qubit requirement of Guerrero’s QAOA is at most 2n.

  • We summarize the number of qubits required by existing algorithms for the MDS problem in Table 1, where n and m represent the number of vertices and edges, respectively. In all cases, the quantum circuits of these algorithms contain qubits corresponding to the vertices in the graph, while the number of auxiliary qubits used is related to the number of neighbors of each vertex. Therefore, based on the original literature, we summarize the qubit requirements of these algorithms in the worst-case scenario.

3.   Auxiliary-qubit-free QAOA algorithm based on Hamiltonian evolution
  • In this section, we introduce the AQFH-QAOA for solving the MDS problem. We first reformulate the integer programming model of the MDS problem and then construct the corresponding objective Hamiltonian. Using this objective Hamiltonian together with the standard mixing Hamiltonian, we design a PQC that implements the corresponding unitary evolutions. Finally, we summarize the overall algorithm procedure using pseudocode and analyze the gate complexity of the proposed algorithm.

  • Consider an undirected graph G = (V, E). Let N(vi) denote the set of neighbors of vertex vi ∈ V, and let xi ∈ {0, 1} be the binary decision variable associated with vertex vi, where xi = 1 if vertex vi belongs to the dominating set D, and xi = 0 otherwise. The integer programming model of the MDS problem is given in Subsection 2.1. However, since the constraints are inequalities, this model is not compatible with the standard QAOA framework.

    To address this issue, we use Boolean algebra formulations to transform the inequality constraints and reformulate the integer programming model. Inspired by the two clauses proposed by Guerrero,[31] the model can be equivalently rewritten in the following form:

    Equation (16) reformulates the objective function expressed in Eq. (1) by converting the problem of minimizing the size of the dominating set into the equivalent task of maximizing the size of the non-dominating set. Meanwhile, Eq. (17) rewrites the inequality constraints in Eq. (2) as equality constraints using Boolean algebra.

    The Boolean expression xi∨(⋁vj∈N(vi)xj) evaluates to 1 if vertex vi is dominated by itself or by at least one of its neighbors, and 0 otherwise. Since the maximum value of this expression is 1, the constraint in Eq. (17) can be equivalently enforced by maximizing its value. Accordingly, the integer programming model of the MDS problem is further expressed as follows:

    To convert the Boolean expression in Eq. (19) into an arithmetic expression suitable for Hamiltonian construction, we prove the following theorem:

    Theorem 1 Let xi ∈ {0, 1} for all vi ∈ V. The following identity holds:

    Proof

    We begin with a basic Boolean algebra identity: for any a, b ∈ {0, 1}, the OR operation satisfies

    This identity can be verified by checking all possible values of a and b. By induction, it generalizes to any finite disjunction:

    where each xk ∈ {0, 1}.

    Now, let us define Si = {xj | vj ∈ N(vi)} to denote the set of variables corresponding to the neighbors of vertex vi. Then the Boolean expression xi∨(⋁xj∈Sixj) is equivalent to the disjunction over the set {xi} ∪ Si. By applying the generalized OR identity, we obtain

    The right-hand side of Eq. (23) can be rewritten as 1 − (1 − xi) ∏xj∈Si (1 − xj), which completes the proof.

    Using the identity in Theorem 1, the objective function of the MDS problem can be reformulated as

    where the first term encodes the goal of maximizing the size of the non-dominating set, and the second term introduces a penalty for non-dominated vertices. The penalty coefficient λ > 1 is typically chosen empirically to strike a balance between constraint enforcement and objective optimization.

  • In this section, we construct the PQC for the AQFH-QAOA algorithm, which consists of three fundamental components: the initial state, the phase separation operator, and the mixing operator.

  • The initial state is set to the uniform superposition over all computational basis states

    This state is prepared by applying Hadamard gates to |0〉⊗n, providing an unbiased starting point for the subsequent variational optimization.

  • The phase separation operator UP(γ) = e−iγHP is defined as the unitary evolution generated by the objective Hamiltonian HP. The objective Hamiltonian HP is derived from the transformed objective function of the MDS problem, which encodes both the objective and the constraints of the MDS problem.

    Consider an undirected graph G = (V, E), where V = {v0, v1, …, vn−1}. Suppose that the neighbors of vertex vi are vp, vp+1, …, vq. The objective function to be maximized in Eq. (24) can be equivalently reformulated as a minimization problem as follows:

    Using the standard mapping xi=(I−σiz)/2,[35] the binary variable xi is replaced by (I−σiz)/2, where σiz is the Pauli-Z operator acting on qubit i. The objective Hamiltonian is then expressed as

    By expanding the product terms and combining like terms, the objective Hamiltonian can be further simplified as

    After neglecting the constant term in the Hamiltonian, the phase separation operator can be derived as

    It is known that when [A, B] = AB − BA = 0, the identity eA+B = eA ⋅ eB holds. Thus, e−i(A+B)t = e−iAt ⋅ e−iBt. Since all Pauli-Z operators commute, the operator can be further factorized into the product of exponential terms as follows:

    Equation (30) contains multi-qubit operators whose number grows with the number of neighbors of each vertex. By expressing these operators as quantum gates, we obtain

    Here, RZ(i)(θ)=e−iθσiz/2 denotes a single-qubit RZ gate, RZZ(j,k)(θ)=e−iθσjzσkz/2 denotes a two-qubit RZZ gate, and higher-order operators such as RZZZ(j,k,l)(θ) represent multi-qubit RZZZ gates. Figure 2 illustrates the quantum gate decomposition of several operators, from which quantum gates for higher-order operators can be constructed. In fact, each term in UP(γ) can be implemented using only CNOT gates and a single-qubit RZ gate, which makes it straightforward to construct a quantum circuit for the phase separation operator UP(γ). However, graphs with high connectivity produce a large number of multi-qubit operator terms, resulting in excessive circuit depth, which slows down parameter optimization and increases susceptibility to errors.

  • The mixing operator is defined as

    where HM is the mixing Hamiltonian that induces transitions between quantum states. For the MDS problem, we adopt the standard transverse-field Hamiltonian

    with σix denoting the Pauli-X operator acting on qubit i.

    The corresponding mixing operator can then be factorized as

    where β ∈ [0, π] is a variational parameter. Here, each RX(i)(2β) represents a single-qubit RX rotation acting on qubit i, enabling bit flips between |0〉 and |1〉. This mixing operator redistributes amplitude across different computational states, which is essential for exploring the Hilbert space efficiently.

  • This subsection presents the pseudocode and procedural details of the proposed AQFH-QAOA algorithm. The complete pseudocode is provided in Algorithm 1, which adheres to the standard QAOA framework. The algorithm proceeds as follows.

    Step 1: Prepare the initial state as a uniform superposition over all computational basis states, i.e., |ψ0〉 = |+〉⊗n.

    Step 2: Construct the objective Hamiltonian HP based on the transformed integer programming model of the MDS problem given in Subsection 3.1.

    Step 3: Set the mixing Hamiltonian to the standard transverse-field Hamiltonian HM=∑i=0n−1σix;

    Step 4: Initialize the variational parameters γ = (γ1, γ2,…, γp) and β = (β1, β2, …, βp), with γk ∈ [0, 2π] and βk ∈ [0, π] for k = 1, 2, …, p.

    Step 5: For each layer k = 1, 2, …, p, alternately apply the phase separation operator UP(γk) = e−iγkHP and the mixing operator UM(βk) = e−iβkHM to construct the quantum state |ψ(γ,β)〉=(∏k=1pUM(βk)UP(γk))|ψ0〉;

    Step 6: Measure the final state |ψp(γ, β)〉 of the quantum circuit in the computational basis to obtain a bitstring x∼∈{0,1}n and evaluate the expected value Fp(γ, β) = 〈ψp(γ, β) | HP |ψp(γ, β) 〉.

    Step 7: Update the parameters γ and β using a classical optimizer (e.g., Adam, COBYLA, or Nelder-Mead) to minimize Fp(γ, β).

    Step 8: Repeat Steps 5–7 until the maximum number of iterations T is reached.

    Step 9: After the optimization is completed, output the bitstring x* ∈ {0, 1}n with the lowest cost, which approximates the solution to the MDS problem.

  • Next, we analyze the gate complexity of the AQFH-QAOA algorithm. Consider an undirected graph G = (V, E) with n vertices. While vertex degrees may vary, for simplicity we assume each vertex has d neighbors, denoted by vp, vp+1, …, vq, where d = q − p + 1.

    The number of quantum gates in the circuit for the phase separation operator UP(γ) can be estimated from Eq. (31). Some gates can be merged; for instance, a single-qubit RZ(j) can be combined with RZ(i) acting on the same qubit. Multi-qubit gates, however, generally cannot be merged, since they act on different sets of qubits. The worst-case gate count for UP(γ) is therefore

    where we omit the angle parameters and specific qubits for clarity.

    As shown in Fig. 2, a k-qubit RZ⋯Z gate can be decomposed into 2(k − 1) CNOT gates and a single-qubit RZ gate. Using this, the worst-case number of elementary gates in UP(γ) is

    where Cdk is the binomial coefficient.

    Including the n Hadamard gates for preparing the initial state and the n single-qubit RX gates of the mixing operator, a single-layer AQFH-QAOA circuit requires at most n (d − 1) ⋅ 2d+1 + 2n CNOT gates, and n ⋅ 2d+1 − n(d − 1) single-qubit gates. This shows that the total number of gates grows polynomially with n but exponentially with the average degree d.

    For comparison, Appendix A presents the gate count for Guerrero’s QAOA algorithm, which requires 20nd − 6n CNOT gates and 16nd single-qubit gates for a graph of n vertices and average degree d. Since CNOT gates dominate circuit depth due to slower execution and higher error rates,[36] we use NCNOT as a proxy for depth.

    To estimate when AQFH-QAOA loses its advantage over Guerrero’s QAOA, we solve

    yielding d ≈ 3.62. This implies that AQFH-QAOA is advantageous for graphs with average degree d ≲ 3.62. For small d, the total gate count scales approximately as O(n). For example, for 3-regular graphs, a single-layer circuit requires at most 34n CNOT gates and 14n single-qubit gates.

4.   Auxiliary-qubit-free optimized implementation of Guerrero’s QAOA
  • In this section, we present an implementation of Guerrero’s QAOA without using auxiliary qubits, based on gate decomposition techniques described in Subsection 4.1. To distinguish it from the original algorithm, we refer to this version as the AQFG-QAOA algorithm. After decomposing its quantum circuit into elementary gates, we compare its gate complexity with that of the AQFH-QAOA algorithm.

  • In Guerrero’s QAOA, apart from the single auxiliary qubit used to encode the Tk(x) and Dk(x) clauses, additional auxiliary qubits arise from the decomposition of multi-OR-controlled phase gates (see Appendix A).

    In the AQFG-QAOA algorithm, each multi-OR-controlled phase gate can first be decomposed into a sequence of single-qubit gates and multi-controlled X (MCX) gates, as illustrated in Fig. 3. Subsequently, these MCX gates can be further decomposed into elementary gates of quadratic size without requiring any additional auxiliary qubits.[37]

    Throughout this section, the term “auxiliary qubit” excludes the qubit used for encoding the Tk(x) and Dk(x) clauses. Accordingly, we consider an (n + 1)-qubit circuit, where the qubit |0〉aux associated with Tk(x) and Dk(x) is not counted as an auxiliary qubit in our analysis.

    Barenco et al.[37] pioneered a systematic method for decomposing MCX gates, as presented in Corollary 7.6. Subsequent studies[38–41] proposed alternative decompositions of MCX gates into elementary gates of quadratic size without auxiliary qubits, aiming to optimize circuit depth and size. However, most of these works do not provide precise counts of the resulting elementary gates. A notable exception is Liu et al.[38], which presents the exact number of CNOT and single-qubit gates obtained from MCX gate decomposition. In this work, we evaluate the number of elementary gates after multi-OR-controlled phase gate decomposition using the exact counts reported by Liu et al.[38]

    For completeness, we briefly review the MCX decomposition from Refs. [37,38]. An MCX gate with n control qubits (denoted Cn(X)) can be decomposed into two (n − 1)-controlled X gates (Cn−1(X)), one (n − 1)-controlled X gate (Cn−1(X)), and two single-controlled gates, as illustrated in Fig. 4. Here, X denotes a square root of the Pauli-X operator, satisfying X2=X, explicitly given by X=1−i2(I+iX). We note a difference in notation: in Refs. [37,38], Cn(X) denotes a gate with n − 1 control qubits and one target qubit, whereas in this work Cn(X) denotes an (n + 1)-qubit gate with n control qubits and one target qubit. This distinction arises because Guerrero’s QAOA circuit introduces an auxiliary qubit as the target, while the qubits corresponding to a vertex and its neighbors act as controls.

    The next step is to decompose the Cn−1(X) and Cn−1(X) gates generated in the previous step.

    For the Cn−1(X) gate, a naive approach is to iteratively apply the decomposition shown in Fig. 4. However, this leads to exponential growth in circuit size (Lemma 7.1 of Ref. [37]). To avoid this overhead, one can use a single borrowed auxiliary qubit to split the Cn−1(X) gate into four half-sized MCX gates, which are then further decomposed into Toffoli gates, as illustrated in Fig. 5. Here, the auxiliary qubit is borrowed — initially in an arbitrary state and restored after the operation — so no additional qubits are needed.

    Specifically, a Cn−1(X) gate is decomposed into two m1-controlled X gates (Cm1(X)) and two (m2 + 1)-controlled X gates (Cm2+1(X)), where

    Each Cm1(X) gate can be further decomposed into 4⌈n/2⌉ − 8 Toffoli gates (Fig. 7 in Ref. [38]), while each Cm2+1(X) gate is decomposed into 4n − 4⌈n/2⌉ − 8 Toffoli gates (Fig. 8 in Ref. [38]). Qubits not involved in the current gate serve as borrowed auxiliary qubits, and no additional auxiliary qubits are introduced. These decompositions are valid for n ≥ 6; for n < 6, see Table 1 in Ref. [38].

    For the Cn−1(X) gate, the decomposition proceeds recursively using the identity in Fig. 4. The recursion continues n − 2 times until the gate is expressed in terms of Toffoli gates and single-controlled gates. Toffoli gates are implemented via the congruent modulo phase shifts (CMPS) method,[37] which decomposes each Toffoli gate into 3 CNOT gates and 4 single-qubit gates, as shown in Fig. 6. Single-controlled gates are decomposed into elementary gates using the identity in Fig. 7, where Zn denotes the n-th root of the Pauli-Z operator

    Reference [38] presents a cascaded structure for the iterative decomposition of an arbitrary multi-controlled unitary gate, which is equivalent to decomposing a Cn(X) gate when the unitary matrix is X. Using this decomposition method, when n ≥ 6, a Cn(X) gate can be decomposed into 24n2 − 164n + 352 CNOT gates and 32n2 − 224n + 483 single-qubit gates. It is important to note that the above decomposition assumes the absence of auxiliary qubits. If at least one auxiliary qubit is available, the circuit size of MCX gate decomposition can be reduced from O(n2) to O(n).[42,43]

    Combining the decomposition shown in Fig. 3 with the exact number of elementary gates mentioned above, when n ≥ 6, a multi-OR-controlled phase gate with n control qubits can be decomposed into 48n2 − 328n + 704 CNOT gates and 32n2 − 222n + 485 single-qubit gates. For the cases 1 < n < 6, the corresponding number of elementary gates can be calculated from Table 1 of Ref. [38]. We summarize these results in Table 2.

  • In this section, we analyze the gate complexity of the AQFG-QAOA algorithm for different graph structures. Specifically, we consider two representative graph classes: 3-regular graphs and ER random graphs with an edge probability of 0.5. In a 3-regular graph, each vertex has a degree of exactly 3, forming a sparse structure when the number of vertices n is large. In contrast, an ER graph G(n, pe) exhibits a non-uniform degree distribution determined by the edge probability pe.[44] For a fixed constant pe, the expected degree of each vertex is pe (n − 1), corresponding to an unstructured probabilistic connectivity model. For the MDS problem on an ER graph, the graph is extremely sparse when pe is close to 0, making the problem relatively easy to solve. When pe approaches 1, the graph approaches a complete graph, and the problem becomes simple again. The most challenging case occurs when pe takes a value between 0 and 1, at which the ER graph is neither too sparse nor too dense. From an information theory perspective, the Shannon entropy quantifies the uncertainty of the edge structure in a random graph, with higher entropy indicating greater structural complexity.[45] For ER graphs, the Shannon entropy of the edge set is maximized at pe = 0.5. Accordingly, in this work, we focus on ER graphs with edge probability pe = 0.5.

    For a 3-regular graph with n (n ≥ 4) vertices, each vertex has 3 neighbors, plus the vertex itself, which corresponds to 4 control qubits in the multi-OR-controlled phase gate that implements the Tk(x) clause. Consequently, each Tk(x) clause is implemented by a 4-OR-controlled phase gate. According to Table 2, such a gate can be decomposed into 112 CNOT gates and 81 single-qubit gates. Therefore, the circuit part that implements all Tk(x) clauses requires a total of 112n CNOT gates and 81n single-qubit gates. In addition, using the decomposition shown in Fig. A4, all the single-controlled phase gates that implement all Dk(x) clauses can be decomposed into 2n CNOT gates and 4n single-qubit gates. Including the n Hadamard gates for preparing the initial state and the n single-qubit RX(2β) gates in the mixing operator, the single-layer quantum circuit of the AQFG-QAOA algorithm on a 3-regular graph with n vertices contains a total of 114n CNOT gates and 87n single-qubit gates.

    For an ER graph G(n, pe) with edge probability pe = 0.5, the average degree of each vertex is n−12, meaning each vertex is connected to an average of ⌈n−12⌉ other vertices. Including the vertex itself, a multi-OR-controlled phase gate that implements the Tk(x) clause has ⌈n+12⌉ control qubits. When n ≥ 6 and n is odd, such a gate can be decomposed into 12n2 − 140n + 552 CNOT gates and 8n2 − 95n + 382 single-qubit gates. When n ≥ 6 and n is even, it can be decomposed into 12n2 − 116n + 424 CNOT gates and 8n2 − 79n + 295 single-qubit gates. Consequently, for n ≥ 6, implementing all n Tk(x) clauses requires 12n3 − 140n2 + 552n CNOT gates and 8n3 − 95n2 + 382n single-qubit gates when n is odd, and 12n3 − 116n2 + 424n CNOT gates and 8n3 − 79n2 + 295n single-qubit gates when n is even. The number of elementary gates required to implement the n Dk(x) clauses, as well as those used for initial state preparation and the mixing operator, is identical to the corresponding counts for 3-regular graphs. Summing all gates yields the total number of elementary gates needed on an ER graph with edge probability pe = 0.5 using the AQFG-QAOA algorithm. For the cases n < 6, the gate counts must be calculated individually. A summary of these results is provided in Table 3.

  • Here, we compare the gate complexity of the AQFG-QAOA algorithm with that of the AQFH-QAOA algorithm proposed in Section 3. The comparison is summarized in Table 4.

    For 3-regular graphs, the AQFH-QAOA algorithm uses fewer CNOT gates and single-qubit gates than the AQFG-QAOA algorithm, suggesting that the MDS problem on 3-regular graphs is more suitable for solution using the AQFH-QAOA algorithm. For ER graphs with edge probability pe = 0.5, the number of elementary gates used in the AQFG-QAOA algorithm grows polynomially with the number of vertices, whereas the gate count of the AQFH-QAOA algorithm grows exponentially. Nevertheless, the practical applicability of each algorithm can be evaluated by estimating the maximum feasible problem size based on the number of CNOT gates.

    Figure 8 presents the number of CNOT gates required by the AQFG-QAOA and AQFH-QAOA algorithms for the MDS problem on ER graphs with edge probability pe = 0.5 at different vertex sizes. The discrete data points correspond to the exact values computed from Table 4, while the solid curves represent fitted growth trends based on these data. As expected, the number of CNOT gates for both algorithms increases with the number of vertices n, but the growth rates differ substantially. Specifically, the number of CNOT gates in the AQFH-QAOA algorithm grows rapidly with n, exhibiting an exponential growth trend, whereas the AQFG-QAOA algorithm shows a much slower increase that is well approximated by a cubic polynomial. The fitted curves intersect at approximately n ≈ 13.41, and the exact crossover point in terms of integer vertex size satisfies 13 < n < 14. This indicates that for ER graphs with vertex size n ≤ 13, the AQFH-QAOA algorithm requires fewer CNOT gates than the AQFG-QAOA algorithm, suggesting a potential advantage due to its lower circuit overhead. In contrast, for ER graphs with n > 13, the number of CNOT gates for the AQFG-QAOA algorithm is significantly lower than that of the AQFH-QAOA algorithm, demonstrating that the AQFG-QAOA algorithm has superior scalability.

    As described in Subsection 4.2, the average degree of each vertex in an n-vertex ER graph (pe = 0.5) is d=n−12. For such graphs, the AQFH-QAOA algorithm exhibits low gate complexity when the vertex size n ≤ 13, and the corresponding average vertex degree is d = 6. Therefore, for ER graphs with d < 6, the AQFH-QAOA algorithm maintains an advantage in gate complexity even on graphs with larger vertex sizes.

5.   Numerical simulations
  • In this section, we perform numerical simulations using the MindSpore quantum platform.[46] We compare the performance of the AQFH-QAOA algorithm with other related algorithms reviewed in Subsection 2.3. The benchmark instances include 3-regular graphs and ER graphs with an edge probability of 0.5. Algorithmic performance is evaluated using the success probability defined in Definition 1.

    Definition 1 (success probability) The success probability is defined as the probability that the final state |ψp (γ, β) 〉 of the quantum circuit collapses to the ground state |x*〉 of the objective Hamiltonian upon a single measurement, i.e.

    The success probability quantifies the overlap between the final state |ψp(γ, β) 〉 and the ground state |x*〉. A larger value of Psuc indicates better algorithmic performance and a higher likelihood of obtaining a high-quality solution.

  • In the AQFH-QAOA algorithm, the choice of the penalty coefficient λ is crucial for balancing constraint enforcement and objective optimization. If λ is too small, the penalty term may fail to suppress infeasible solutions that violate the dominance constraints. Conversely, excessively large values of λ may distort the optimization landscape and make the classical optimization process more difficult. Therefore, it is important to investigate the influence of the penalty coefficient λ on algorithm performance.

    To this end, we perform numerical experiments by varying the penalty coefficient over the set λ ∈ {1.0, 1.2, 1.5, 2.0, 3.0, 5.0}, with λ = 1.0 used as the baseline. Two types of graph instances are considered: a 6-vertex 3-regular graph and a set of 20 Erdös–Rényi graphs with six vertices. For the ER graphs, we report the average success probability, defined as the mean of the success probabilities over all graph instances with the same number of vertices.

    Figure 9(a) shows the success probability of the AQFH-QAOA algorithm on a 6-vertex 3-regular graph for different values of λ. For all tested penalty coefficients, the success probability increases steadily with the circuit layer, indicating that deeper circuits generally improve the solution quality. However, noticeable differences appear among different values of λ. In particular, when λ = 5.0, the success probability is consistently lower than that obtained with the other choices for small and moderate circuit depths, suggesting that an excessively large penalty coefficient may reduce the effectiveness of the optimization. In contrast, moderate values such as λ = 1.5 and λ = 2.0 achieve higher success probabilities across most circuit layers. When the circuit layer becomes sufficiently large (e.g., p = 7), the performance differences among most penalty coefficients diminish, and the success probabilities converge to similar values.

    Figure 9(b) presents the average success probability over 20 ER graphs. A similar trend is observed: the success probability increases monotonically with the circuit layer for all tested values of λ. For smaller penalty coefficients (λ = 1.2), performance is slightly lower than that of moderate values such as λ = 1.5 and λ = 2.0. Conversely, when λ is too large (e.g., λ = 5.0), the algorithm exhibits reduced performance across different circuit layers. Overall, these results indicate that moderate penalty coefficients provide better and more stable performance across different graph instances.

    These observations suggest that the AQFH-QAOA algorithm is relatively robust with respect to the choice of λ within a reasonable range. In particular, moderate values of λ (around λ ≈ 1.5–2.0) tend to achieve the best performance for the tested graph instances, while excessively small or large values may lead to slightly degraded results. In the subsequent simulations, we adopt a fixed penalty coefficient λ = 1.5.

  • We perform numerical simulations on randomly generated 3-regular graphs and ER graphs with an edge probability of 0.5, comparing the proposed algorithm with existing approaches. The algorithms proposed by Dinneen et al. and Pan et al. require a large number of auxiliary qubits. For example, both algorithms require 12 auxiliary qubits (18 qubits in total) to solve the MDS problem on a 6-vertex 3-regular graph, with even more qubits needed for larger graphs or higher edge densities. Consequently, due to classical simulation limitations, these two algorithms can only be evaluated on graphs with 4 and 6 vertices in our experiments.

    Figure 10 demonstrates that the AQFH-QAOA algorithm consistently achieves higher success probabilities than the algorithms of Dinneen and Hua,[29] and Pan and Lu[30] across all tested graph instances. Moreover, as the number of circuit layers p increases, the success probability of the AQFH-QAOA algorithm improves significantly, whereas the success probabilities of the other two algorithms either fluctuate or increase only slightly, leading to an increasingly pronounced performance gap.

    Compared with the AQFG-QAOA algorithm, the AQFH-QAOA algorithm generally exhibits superior performance, with the advantage becoming more pronounced as p increases. However, for the 6-vertex 3-regular graph, it performs slightly worse than the AQFG-QAOA algorithm. This behavior can be attributed to circuit depth. Although the quantum circuits of the AQFG-QAOA algorithm contain more elementary gates on small graphs, classical numerical simulations do not decompose the multi-OR-controlled phase gates due to the limitations of the simulation platform. In contrast, the quantum circuits of the AQFH-QAOA algorithm are implemented using elementary gates through the unitary evolution of Hamiltonians. This results in a significantly smaller actual circuit depth for the AQFG-QAOA algorithm compared to the AQFH-QAOA algorithm for the same problem instances, which can lead to improved algorithmic performance in simulation.

    Overall, these results indicate that the AQFH-QAOA algorithm significantly outperforms the QAOA algorithms of Dinneen and Hua,[29] and Pan and Lu.[30] However, due to the absence of multi-OR-controlled phase gate decomposition in the simulations, its performance is comparable to or slightly worse than that of the AQFG-QAOA algorithm in some cases.

  • We further compared the AQFH-QAOA algorithm with the AQFG-QAOA algorithm on 3-regular graphs and ER graphs with 8, 10, and 12 vertices. As discussed in Subsection 5.2, the circuit depth of the AQFG-QAOA algorithm remains much smaller for these instances because its multi-OR-controlled phase gates are not decomposed in simulation. To explore whether algorithmic performance could be improved by enhancing the ansatz, we design an ablation study. Inspired by the multi-angle QAOA (MA-QAOA),[47] we introduce multi-angle parameters into the quantum circuit of the AQFH-QAOA algorithm, creating a variant denoted as the AQFH-MA-QAOA algorithm. This modification is not readily applicable to AQFG-QAOA due to its fixed ansatz design.[31] The algorithms of Dinneen and Hua,[29] and Pan and Lu[30] are excluded from this comparison due to their previously observed poor performance and excessive auxiliary qubit requirements, which exceed our simulation capabilities.

    A brief overview of MA-QAOA is provided in Appendix B. In the ablation study, we retain the quantum circuit structure of the AQFH-QAOA algorithm and only modify its parameters. Unlike the standard QAOA described in Subsection 2.2, we assign an independent angle parameter to each parameterized quantum gate corresponding to the phase separation operator UP(γ) and the mixing operator UM(β).

    Figure 11 displays the distribution of success probabilities across 20 graph instances. Several key trends can be observed from the results. First, the AQFH-MA-QAOA algorithm consistently achieves higher success probabilities across all tested circuit layers and graph types, outperforming both the AQFH-QAOA and AQFG-QAOA algorithms. Second, the success probabilities of AQFH-QAOA and AQFG-QAOA decline significantly as the graph size increases, reflecting the growing complexity of the problem. In contrast, the AQFH-MA-QAOA algorithm exhibits stable performance on most of the graph instances tested. Third, the advantage of the AQFH-MA-QAOA algorithm is particularly pronounced on ER graphs. For circuit layers p ≥ 3, it achieves both higher median success probabilities and tighter interquartile ranges, suggesting stronger robustness to variations in graph structure.

    These results demonstrate that the AQFH-MA-QAOA algorithm enhances the expressivity and adaptability of the quantum circuit, enabling a more effective exploration of the solution space. Overall, the AQFH-MA-QAOA algorithm provides higher solution quality than existing algorithms for the MDS problem and remains competitive as the problem size grows, making it a promising candidate for implementation on near-term quantum devices.

6.   Conclusion
  • In this study, we present two auxiliary-qubit-free QAOA algorithms for solving the MDS problem, namely AQFH-QAOA and AQFG-QAOA. The AQFH-QAOA algorithm reformulates the inequality constraints of the MDS problem into equality constraints using Boolean algebra, avoiding the need for auxiliary qubits in circuit construction. Specifically, the inequality constraints are first expressed as equivalent Boolean expressions, which are then converted into arithmetic expressions using generalized Boolean algebra identities. These arithmetic expressions are incorporated into the objective function as penalty terms to construct the objective Hamiltonian, allowing quantum circuits to be implemented via the unitary evolution of the Hamiltonian without auxiliary qubits. In contrast, existing QAOA algorithms typically rely on a large number of surplus variables to handle inequality constraints, which increases circuit overhead by introducing auxiliary qubits. Theoretical analysis demonstrates that AQFH-QAOA is particularly suitable for sparse graphs with small vertex degrees, reducing qubit overhead and exhibiting lower gate complexity.

    Furthermore, by employing the decomposition technique for multi-controlled X gates, we provide an auxiliary-qubit-free optimized implementation of Guerrero’s QAOA, referred to as the AQFG-QAOA algorithm. A detailed gate complexity analysis shows that AQFH-QAOA is well-suited for MDS problems on arbitrary 3-regular graphs, whereas for ER graphs with an edge probability of 0.5, the preferred algorithm depends on the graph size. Numerical simulations on randomly generated 3-regular and ER graphs demonstrate that AQFH-QAOA achieves higher solution quality than most existing QAOA algorithms. However, due to the simulation platform’s inability to decompose multi-OR-controlled phase gates in AQFG-QAOA, its performance is comparable to or slightly better than AQFH-QAOA. Nevertheless, an enhanced variant based on the multi-angle QAOA framework, referred to as AQFH-MA-QAOA, effectively exploits the expressive power of independent parameters at low circuit depths, providing a competitive solution to the MDS problem on near-term quantum devices.

    Although the proposed algorithms are evaluated in ideal simulations, their performance on real quantum devices may be affected by quantum noise. In particular, circuit depth increases with vertex degree, potentially causing the accumulation of gate errors, especially for two-qubit gates such as CNOT gates. Nevertheless, the auxiliary-qubit-free design significantly reduces the total number of qubits compared with previous approaches. Since qubit decoherence and readout errors generally scale with the number of physical qubits, this reduction may partially mitigate the impact of increased circuit depth. Therefore, the proposed algorithms offer a potential trade-off between circuit width and circuit depth for near-term quantum device implementation.

    Looking ahead, this study can be extended in two directions. First, it would be valuable to implement and benchmark the algorithms on real quantum hardware to assess their practical performance under realistic noise conditions. Second, the Boolean algebra-based approach for handling inequality constraints can be generalized to other combinatorial optimization problems with inequality constraints, enabling the design of more resource-efficient quantum algorithms.

Appendix A Guerrero’s gate decomposition method
  • Guerrero provides an explicit decomposition of multi-OR-controlled phase gates in Ref. [31]. Specifically, such a gate can be decomposed into two multi-OR-controlled X gates and a single-controlled phase gate using an auxiliary qubit, as illustrated in Fig. A1. Subsequently, each multi-OR-controlled X gate with n control qubits can be further decomposed into 2n − 3 OR-controlled Toffoli gates using n − 2 auxiliary qubits, as shown in Fig. A2. Each OR-controlled Toffoli gate can then be implemented using one standard Toffoli gate and two CNOT gates, as depicted in Fig. A3. Furthermore, Fig. A4 illustrates a method for decomposing a single-controlled phase gate with |0〉 as the control qubit into elementary gates consisting of CNOT and single-qubit gates. As shown, such a gate can be implemented using two CNOT gates and four single-qubit gates.

    According to Guerrero’s decomposition method, an n-OR-controlled phase gate can be decomposed into 4n − 6 Toffoli gates, 8n − 12 CNOT gates, and a single-controlled phase gate, using a total of n − 1 auxiliary qubits. These gates can be further decomposed into elementary gates, facilitating their implementation on quantum hardware. A complementary discussion of this decomposition scheme for multi-OR-controlled phase gates can also be found in Appendix E of Ref. [48].

    Next, we explicitly determine the number of elementary gates and auxiliary qubits required to decompose an n-vertex undirected graph using the methods described above. For simplicity, we assume that the average degree of the vertices in the undirected graph is d. For such a graph, each vertex has d neighbors, and the multi-OR-controlled phase gate that implements the corresponding Tk(x) clause contains d + 1 control qubits (including the vertex itself). As described above, such a (d + 1)-OR-controlled phase gate can be decomposed into 4d − 2 Toffoli gates, 8d − 4 CNOT gates, and a single-controlled phase gate, using d auxiliary qubits. A Toffoli gate can be further decomposed into 3 CNOT gates and 4 single-qubit gates using the Congruent Modulo Phase Shifts method,[37] while a single-controlled phase gate can be decomposed into 2 CNOT gates and 2 single-qubit gates, as illustrated in Fig. A4. Consequently, a (d + 1)-OR-controlled phase gate can be implemented using 20d − 8 CNOT gates and 16d − 6 single-qubit gates, together with d auxiliary qubits. Since the degree of each vertex is assumed to be d, there are n such (d + 1)-OR-controlled phase gates in total. Therefore, implementing all Tk(x) clauses requires 20nd − 8n CNOT gates, 16nd − 6n single-qubit gates, and d auxiliary qubits.

    Using the decomposition method shown in Fig. A4, implementing all the single-controlled phase gates corresponding to the n Dk(x) clauses requires 2n CNOT gates and 4n single-qubit gates. Including the n Hadamard gates used to prepare the initial state and the n single-qubit RX(2β) gates in the mixing operator, the single-layer quantum circuit of Guerrero’s QAOA algorithm for an n-vertex undirected graph with average vertex degree d contains a total of 20nd − 6n CNOT gates and 16nd single-qubit gates, using d auxiliary qubits.

  • The MA-QAOA is a generalization of the standard QAOA that introduces a distinct angle parameter for each term in the phase separation operator and the mixing operator, rather than using a single parameter per operator per layer.[47] This enhanced parametrization increases the expressive power of the quantum circuit, enabling it to explore a larger portion of Hilbert space and potentially yielding higher-quality solutions.

    In the standard QAOA with circuit depth p, the variational quantum state is generated by alternately applying the unitary evolution operators of the objective Hamiltonian HP and the mixing Hamiltonian HM

    where γ = (γ1, …, γp) and β = (β1, …, βp) are the variational parameters. A p-layer standard QAOA circuit thus contains 2p parameters {γk,βk}k=1p. Previous studies have shown that using a limited number of parameters may restrict the circuit’s ability to explore the solution space, potentially leading to suboptimal outcomes.[47,49]

    MA-QAOA addresses this limitation by assigning independent parameters to each parameterized quantum gate in the circuit. Specifically, since the objective Hamiltonian HP and the mixing Hamiltonian HM can be expressed as sums of operators, Herrman et al. write HP = ∑uCu and HM = ∑vBv. Accordingly, the phase separation operator for the k-th layer is reformulated as

    where γk = (γk,u1, γk,u2, …) is the vector of independent parameters for the k-th layer. Similarly, the mixing operator becomes

    where βk = (βk,v1, βk,v2, …) is the vector of independent parameters for the mixing operator at layer k. This multi-angle parametrization allows the circuit to adjust each term individually, improving expressivity and optimization flexibility.

    Hence, the ansatz state prepared by MA-QAOA with circuit depth p can be expressed as

    By assigning an independent rotation angle to each quantum gate, MA-QAOA generally achieves higher success probabilities with fewer circuit layers compared to standard QAOA.[47] Figure B1 illustrates the difference between the two algorithms, highlighting that their circuit structures are identical except for the parameterization.

Figure (16)  Table (5) Reference (49)

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return