← Back to digest

Constrained Counterdiabatic Quantum Approximate Optimization Algorithm for Portfolio Optimization

Jose Falla, Ilya Safro (University of Delaware) · arXiv:2605.06858 · submitted 2026-05-11 · score 10/10

Abstract

We introduce a counterdiabatic (CD) extension of the Quantum Approximate Optimization Algorithm (QAOA) for constrained portfolio optimization. By incorporating approximate adiabatic gauge potentials generated from nested commutators of the Ising-type portfolio problem Hamiltonian and the Hamming weight-preserving XY mixer Hamiltonian into our variational ansatz, the resulting Constrained Counterdiabatic QAOA (CCD-QAOA) achieves improved optimization performance under realistic budget and risk constraints. Benchmarking against standard XY-mixer QAOA, Grover-mixer QAOA, and penalty-based QAOA formulations, our numerical simulations demonstrate that, for a fixed QAOA depth, our CCD-QAOA approach consistently results in better approximation ratios.

Executive summary

This paper sits squarely on Yuan's portfolio×QAOA axis and combines the two most relevant ingredients of Y2/Y3 with a third (counterdiabatic/Sels-Polkovnikov gauge-potential) extension. The authors take the Markowitz mean-variance objective with a fixed-cardinality (budget) constraint, encode it as an Ising-type cost Hamiltonian, restrict the dynamics to the Dicke subspace via an XY (Hamming-weight-preserving) mixer, and then add a variational adiabatic gauge potential (AGP) truncated at three-body Pauli strings. The headline empirical claim is that at fixed circuit depth this CCD-QAOA dominates plain XY-mixer QAOA, Grover-mixer QAOA, and penalty-based QAOA in approximation ratio across CVaR thresholds. The three-body CD terms break exact feasibility (Hamming weight no longer preserved) and so the success probability story is more nuanced — but the cost-expectation metric improves.

Main contribution

The paper's contribution is a systematic, problem-structured construction of an approximate AGP operator pool for constrained portfolio QAOA. The authors show that the nested commutator of the portfolio Ising Hamiltonian H_C = Σ J_ij Z_iZ_j + Σ h_i Z_i with the XY mixer H_M^XY = Σ_{i<j}(X_iX_j + Y_iY_j) naturally generates two-body X_iY_j − Y_iX_j terms (already inside the XY algebra) and three-body X_iY_jZ_k − Y_iX_jZ_k strings. Truncating the gauge-potential ansatz A_λ* to this two- plus three-body pool and fitting the coefficients {α_ij, β_ijk} by minimizing the Hilbert-Schmidt action S = Tr[(∂_λ H + i[A_λ, H])²] yields a linear system, which they integrate into a standard QAOA depth-p circuit by appending e^{−i η_k H_CD} after each (cost, mixer) layer.

Key theorems / lemmas / algorithms

Detailed walkthrough

Section II of the paper builds the standard QAOA scaffolding and motivates constraint-preserving mixers via the classic Hadfield–Hadfield Quantum Alternating Operator Ansatz lineage. The portfolio cost (Section II.C) is the textbook Markowitz objective C(x) = λ Σ Σ_ij x_i x_j − Σ μ_i x_i with budget Σ x_i = B; after the Z-substitution x_i = (1 − Z_i)/2 it becomes a dense fully-connected Ising Hamiltonian. The penalty route is rejected because large α values distort the spectrum and shrink effective gaps, while the alternative (constraint-preserving mixer) keeps the dynamics inside the Σ x_i = B subspace at the price of needing a structured mixer.

Section III is the technical heart. The authors recall Sels–Polkovnikov-style variational gauge potentials: A_λ ≈ Σ α_k(λ) O_k with operator pool {O_k} determined by minimizing the Frobenius norm of G(A_λ) = ∂_λ H_AD + i[A_λ, H_AD]. The choice of pool is constrained by what commutators between H_C and H_M^XY generate. Their derivation (Eqs. for [Z_iZ_j, X_iX_k+Y_iY_k]) shows that the leading-order operators are three-body X_iY_kZ_j − Y_iX_kZ_j. Crucially they include both the two-body XY-algebra generators and the three-body strings — capturing what they call "correlated excitation transport conditioned on the state of neighboring qubits".

Numerical results (Section IV) use Qiskit Finance to generate dense PSD covariance matrices for N=12 assets, with budget B=4, optimized via OpenQuantumComputing's QAOA augmented with their CD routine. The CVaR-QAOA cost (Barkoutsos et al.) replaces the mean of the sampled cost with the conditional expectation of the lower α-quantile, which the figures benchmark across several α values. The headline plot (Fig. approxratio.png) shows CCD-QAOA dominating at every p, especially at low CVaR (small α — the most informative regime since the diagonal optimum is a basis state). The Grover-mixer baseline is the second-best in approximation ratio but pays the heaviest gate cost (Fig. metrics.png: CNOT count and transpiled depth scale dramatically with p).

The honest caveat in Section IV: while pure XY-mixer QAOA has P_GS = 1 trivially because every sampled bit-string is feasible, CCD-QAOA's three-body generators leak amplitude outside the Hamming-weight subspace. P_GS for CCD-QAOA is therefore lower than for pure XY-mixer but still substantially higher than for penalty-based QAOA — consistent with the broader Y3 finding that CVaR-style cost statistics can be a more honest figure of merit than success probability for dense portfolio Hamiltonians.

Section V's discussion connects the result back to a general principle: constrained combinatorial optimization problems have structured operator algebras (the commutator of H_C and the mixer) that determine which gauge-potential operators are physically required. The authors note this should generalize to other fixed-cardinality problems (scheduling, routing, cardinality-constrained QP), which is directly the territory of Yuan's Y4. They explicitly flag ADAPT-QAOA and warm-starting as natural next steps for trimming the three-body operator pool — both being avenues Yuan has explored.

Figures

Schematic of CCD-QAOA
Figure 1. Schematic of Counterdiabatic QAOA. For the portfolio optimization problem, the basis computational state is initialized to the fixed-Hamming-weight Dicke state. Subsequently, p layers of the cost, mixer, and counterdiabatic unitaries are applied. A final measurement in the computational basis is made, and the variational parameters are optimized and updated classically.
Approximation ratio comparison
Figure 2. Comparison of approximation ratios for XY mixers (with and without CD contributions), penalty-based constrained QAOA, and Grover mixer QAOA for different conditional values at risk.
Success probability
Figure 3. Comparison of success probabilities for XY mixers (with and without CD contributions), penalty-based constrained QAOA, and Grover mixer QAOA for different conditional values at risk.
Runtime scaling
Figure 4. Incremental and cumulative runtime for all constrained optimization methods at a fixed CVaR value of 1.
Gate-count metrics
Figure 5. Scaling of CNOT gate count, total two-qubit gate count, and transpiled circuit depth as a function of QAOA depth for all constrained optimization methods at a fixed CVaR value of 1.

Citations to Yuan's papers

No direct citation to any of Y1–Y6 found in bibliography. The bibliography draws heavily on the Boulder/D-Wave constrained-mixer lineage (Hadfield, Wang, Brandhöfer, Fuchs, He–Alignment, Bartschi–Eidenbenz Grover-mixer) but does not reference Y2 (Chen, Wu, Yuan, Wu, Li 2024 quasi-binary portfolio QAOA), Y3 (Yuan, Long, Lepage, Barnes 2026 DGMVP), or Y1 (Yuan, Yang, Barnes 2025 warm-started iterative QAOA), all of which are direct prior art on QAOA-for-portfolio with constraint-preserving mixers and CVaR cost.

Overlap with Y1–Y6

Recommended action for Yuan