[Paper Review] Portfolio Optimization of 40 Stocks Using the DWave Quantum Annealer
This paper proposes using D-Wave's 2000Q quantum annealer to optimize a portfolio of 40 U.S. liquid equities by formulating the problem as a Quadratic Unconstrained Binary Optimization (QUBO) problem using a novel Chicago Quantum Net Score (CQNS). The method outperforms classical heuristics in search efficiency and demonstrates potential quantum advantage at scale, though classical methods remain superior for small portfolios.
We investigate the use of quantum computers for building a portfolio out of a universe of U.S. listed, liquid equities that contains an optimal set of stocks. Starting from historical market data, we look at various problem formulations on the D-Wave Systems Inc. D-Wave 2000Q(TM) System (hereafter called DWave) to find the optimal risk vs return portfolio; an optimized portfolio based on the Markowitz formulation and the Sharpe ratio, a simplified Chicago Quantum Ratio (CQR), then a new Chicago Quantum Net Score (CQNS). We approach this first classically, then by our new method on DWave. Our results show that practitioners can use a DWave to select attractive portfolios out of 40 U.S. liquid equities.
Motivation & Objective
- To evaluate the feasibility of using quantum annealing for large-scale portfolio optimization in finance.
- To develop and test a new financial scoring metric, the Chicago Quantum Net Score (CQNS), suitable for quantum annealing.
- To compare quantum annealing results with classical optimization methods like genetic algorithms and simulated annealing.
- To assess the potential for quantum advantage in portfolio selection as the number of assets increases.
- To explore practical challenges in mapping real-world financial optimization problems to D-Wave's hardware constraints.
Proposed method
- The authors formulate the portfolio optimization problem as a QUBO using the Chicago Quantum Net Score (CQNS), defined as $\text{CQNS}(w;\alpha) = \text{Var}(R_w) - \mathbb{E}[R_w]^{2+\alpha}$, with $\alpha \approx 1$ and equal weights to simplify the binary optimization.
- They map the CQNS formulation into an Ising spin glass model compatible with D-Wave's quantum annealer, ensuring the problem is expressed in a quadratic form suitable for the hardware.
- The QUBO is embedded into the D-Wave 2000Q's Chimera topology, with attention to minor-embedding, scaling, and hardware-specific constraints such as chain strength and qubit connectivity.
- To handle numerical instability, the covariance matrix is regularized via eigendecomposition and negative eigenvalues (e.g., ~$-10^{-8}$) are set to zero to prevent negative variance.
- Classical benchmarks are generated using brute force (for small N), genetic algorithms, random sampling (500M portfolios), and simulated annealing to validate quantum results.
- The study uses one-year historical daily adjusted close prices from 40 U.S. equities, excluding stocks with $\beta < 0$ or $\beta > 10$, and applies market indices and risk-free rates for return and risk estimation.
Experimental results
Research questions
- RQ1Can quantum annealing effectively optimize a 40-stock portfolio using a novel financial scoring metric like the CQNS?
- RQ2How does the performance of the D-Wave quantum annealer compare to classical optimization methods such as genetic algorithms and simulated annealing?
- RQ3What is the potential for quantum advantage in portfolio optimization as the number of assets increases beyond 40?
- RQ4How do numerical instabilities in the covariance matrix affect the optimization outcome, and what regularization techniques are effective?
- RQ5How do market conditions such as negative annual returns or extreme betas impact the robustness of the CQNS formulation and quantum optimization results?
Key findings
- The D-Wave 2000Q successfully identified a high-performing portfolio among 1.1 trillion possible combinations (2^40) for a 40-asset universe, demonstrating feasibility of quantum annealing for this problem.
- The quantum annealing solution outperformed a classical genetic algorithm when seeded with D-Wave results, reducing optimization time and improving convergence.
- Classical methods such as brute force and random sampling (500M samples) required hours to find comparable results, highlighting the computational burden of exhaustive search.
- The CQNS formulation proved more amenable to quantum annealing than the Sharpe or Chicago Quantum Ratio (CQR), which are ratio-based and not directly compatible with QUBO form.
- The study found that negative eigenvalues in the covariance matrix (~$-10^{-8}$) could lead to invalid risk estimates, necessitating regularization via eigendecomposition and thresholding.
- While quantum advantage was not yet realized at 40 assets, the authors project it may emerge at higher asset counts (e.g., 60+), especially when combined with hybrid or reverse annealing techniques.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.