arXiv:2609.15708cs.ETSep 2026

Manuscript Offprint

arXiv:2609.15708

A Hybrid Quantum-Classical Coordination Architecture for Portfolio Optimization via Global Context Injection

Xiaoguang Yang, Menghan Dou, Guoping Guo

Xiaoguang Yang ∗^{*}, Menghan Dou ∗^{*}, and Guoping Guo ∗^{*}

Origin Quantum Computing Technology (Hefei) Co., Ltd.

Hefei, Anhui, China

{yxg2, dmh, ggp}@originqc.com

Abstract—Near-term quantum and quantum-inspired solvers for portfolio optimization rely on local subproblem execution under severe size constraints, but this locality can omit cross-cluster covariance essential for global risk coordination. We propose Context-Aware Folding (CAF), a lightweight hybrid quantum-classical coordination layer between one-shot static decomposition and full-matrix optimization. CAF injects a compressed global risk state into each local subproblem via a state-dependent linear bias, decouples local candidate generation from global commitment, and retains a sequential acceptance rule with a monotonic non-divergence guarantee. On a 2016 Russell 3000 subset (N=484) with Simulated Annealing (SA), CAF improves the scalarized mean-variance objective by 6.59% over a static baseline (20/20 wins), and by 0.2579% on an additional 2018 panel (N=1397, 17/20 wins). We further report matched folded N=40 compatibility studies with the Quantum Approximate Optimization Algorithm (QAOA) and simulated quantum annealing (SQA) as local solvers, together with a frozen hardware-in-the-loop run on Origin Quantum's Wukong 180 (WK_C180) for one warm-started QAOA subproblem at n=5. These results support CAF as a coordination architecture with strong classical large-scale evidence, cross-backend compatibility, and local executability on real quantum hardware in the noisy intermediate-scale quantum (NISQ) era.

Index Terms—Quantum Finance, Portfolio Optimization, Hybrid Quantum-Classical Optimization, Problem Decomposition, QAOA

I. INTRODUCTION

The Mean-Variance Portfolio Optimization (MVO) problem is a cornerstone of modern quantitative finance [1]. As one of the canonical use cases in quantum finance [2], MVO becomes NP-hard when cardinality constraints (i.e., limiting the total number of invested assets) are introduced. This makes it a prime candidate for stochastic and quantum optimization heuristics such as Simulated Annealing (SA), Quantum Annealing (QA), and the Quantum Approximate Optimization Algorithm (QAOA) in explicitly financial settings [3]–[6]. Recent progress in QAOA has substantially improved the viability of local quantum optimization through warm-start strategies, parameter-transfer or schedule-transfer methods, and large-scale distributed or hardware-aware studies [7]–[11]. Yet in the dense portfolio settings considered here and under current hardware and simulation constraints, these advances

Figure

Fig. 1. Static decomposition omits cross-cluster covariance terms during local optimization, whereas CAF reintroduces them through a compressed linear context term.

still leave practitioners with restricted local subproblems embedded within a larger hybrid workflow.

However, the limited qubit count and restricted connectivity of current noisy intermediate-scale quantum (NISQ) hardware [12] pose a severe bottleneck. A prominent industrial approach is to decompose the massive fully-connected asset graph into smaller, disjoint communities after Random Matrix Theory (RMT) preprocessing and graph-based clustering [13]–[16]. While this enables execution on near-term devices, the resulting separability assumption—treating each community as independent during optimization—omits cross-cluster covariance terms that remain important for global risk diversification.

To address this, we propose CAF (Context-Aware Folding). Rather than treating decomposition as a one-shot process, CAF treats the clustered output as an initialization state and focuses on the missing coordination layer after partitioning. It iteratively re-optimizes each community by injecting the current decisions of all other communities as a linear bias (the “context”), as illustrated in Fig. 1. In this sense, CAF is not a new partitioning scheme but a lightweight coordination layer for reintroducing global risk information into hardware-compatible local solvers.

This paper presents the mathematical formulation of CAF

∗^{*}Corresponding authors.

and evaluates it from two complementary perspectives: large-scale architectural validation with classical backends and small-scale compatibility / executability studies with quantum simulators and real quantum hardware. To support reproducibility and facilitate further research, the core CAF architecture engine and the complete benchmark reproduction scripts are open-sourced at https://github.com/kedayxg/CAF. The main contributions of this work are as follows:

• Global Context Injection Architecture: We propose CAF, a hybrid quantum-classical coordination architecture that restores part of the global risk information lost after static partitioning by injecting a state-dependent linear bias into each local portfolio subproblem.

• Efficient Coordinated Update Rule: We derive an O(∣C∣2)O(|C|^{2}) local context extraction procedure and an exact local-form objective increment for sequential commit decisions, yielding a monotonic non-divergence guarantee under the CAF acceptance rule. CAF's decoupled proposal phase is also architecturally compatible with parallel batch execution across independent subproblems.

• Multi-Scale, Multi-Backend Validation: On a dense financial benchmark (N = 484), CAF improves the scalarized objective by 6.59% over the static baseline across 20 SA runs (20/20 wins), and the gain persists on a second 2018 panel (N = 1397) and under a deterministic Gurobi local solver. A frozen-state ablation isolates context injection as the driver, while matched plain-QAOA/SQA studies and a warm-started local update executed on Origin Wukong 180 show that CAF's folded subproblems remain operable on quantum simulators and real quantum hardware without modifying the outer-loop acceptance rule.

References (35)