NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PO-QA: A Framework for Portfolio Optimization using Quantum Algorithms

Kamila Zaman, Alberto Marchisio, Muhammad Kashif, Muhammad Shafique

Abstract

Portfolio Optimization (PO) is a financial problem aiming to maximize net gains while minimizing risks. Quantum algorithms like the Variational Quantum Eigensolver (VQE) and Quantum Approximate Optimization Algorithm (QAOA) offer potential for solving such complex problems. However, the optimal architecture for these quantum circuits remains undefined in current literature. We propose PO-QA, a scalable framework to systematically investigate quantum parameters—such as rotation blocks, repetitions, and entanglement types—and their effects on performance. Performance is measured by convergence to ground-state energy values relative to a classical exact eigensolver. Our results provide insights into quantum circuit configurations for PO, highlighting the robustness of QAOA and the sensitivity of VQE.

Introduction

Quantum computing promises to revolutionize finance by solving optimization problems beyond the reach of classical supercomputers. While algorithms like VQE and QAOA exist, a "user manual" for constructing efficient quantum circuits for specific financial tasks is lacking. The PO-QA framework addresses this "architecture gap" by stress-testing quantum circuit designs for Portfolio Optimization (PO).

Methodology

The PO-QA framework follows a systematic three-step pipeline to evaluate quantum circuit architectures.

The PO-QA framework architecture, detailing problem formulation, algorithm selection (QAOA vs. VQE), and the systematic variation of quantum parameters.
  1. Data Preparation: Historical stock data (8 assets including TSLA, AMZN, GOOG, and AAPL) from a 6-month period in 2016 is converted into a Quadratic Program. This mathematical format allows quantum computers to process the problem as a Hamiltonian energy map.
  2. Quantum Circuit Exploration: The framework varies three key elements:
  3. Rotation Blocks: Comparing $R_x$ and $R_y$ gates.
  4. Entanglement Structures: Testing "Full," "Pairwise," and "Circular" qubit connections.
  5. Repetitions: Evaluating circuit depths of 3 vs. 5 repetitions.
  6. Benchmarking: Results are compared against a classical "Exact Eigensolver" to measure convergence accuracy across nine risk factors (0.1 to 0.9).

Results and Discussion

The study reveals significant differences in how QAOA and VQE respond to architectural changes.

Convergence similarity of QAOA and VQE to the classical benchmark across various parameter experiments (B through M).

QAOA: Robust and Consistent

QAOA proved remarkably stable. Regardless of tweaks to entanglement or rotation gates, it consistently converged toward the optimal classical solution. This "steady hand" nature makes it a reliable candidate for financial optimization.

VQE: Highly Sensitive

In contrast, VQE exhibited extreme sensitivity to its internal architecture. Small variations led to significant performance swings. Specifically, increasing circuit depth from 3 to 5 repetitions notably improved VQE's performance, indicating a strong correlation between hardware resources and solution quality. The researchers identified specific configurations (labeled B, C, and D) where VQE failed significantly to match the benchmark.

The Impact of Risk

The risk factor defines the complexity of the "energy landscape." Higher risk values create more intricate landscapes, making it harder for algorithms to find the global minimum.

Conclusion

The PO-QA framework provides a rigorous method for identifying efficient quantum circuit configurations for Portfolio Optimization. While QAOA is robust, VQE requires meticulous tuning. Future work will focus on scaling the framework to larger asset portfolios and testing performance on noisy, real-world NISQ hardware.

Summary updated

BibTeX
@inproceedings{zaman2024po,
  author = {Kamila Zaman and Alberto Marchisio and Muhammad Kashif and Muhammad Shafique},
  title = {{PO-QA: A Framework for Portfolio Optimization using Quantum Algorithms}},
  booktitle = {QCE},
  year = {2024},
  doi = {10.1109/qce60285.2024.00166},
}
Figure