[Paper Review] Portfolio rebalancing experiments using the Quantum Alternating Operator Ansatz
This paper proposes a novel quantum approach to discrete portfolio rebalancing using the Quantum Alternating Operator Ansatz (QAOA) with hard constraint mixers, demonstrating within-5% optimal adjusted returns and optimal risk for an eight-stock portfolio on an idealized quantum simulator, outperforming standard QAOA in key performance metrics.
This paper investigates the experimental performance of a discrete portfolio optimization problem relevant to the financial services industry on the gate-model of quantum computing. We implement and evaluate a portfolio rebalancing use case on an idealized simulator of a gate-model quantum computer. The characteristics of this exemplar application include trading in discrete lots, non-linear trading costs, and the investment constraint. We design a novel problem encoding and hard constraint mixers for the Quantum Alternating Operator Ansatz, and compare to its predecessor the Quantum Approximate Optimization Algorithm. Experimental analysis demonstrates the potential tractability of this application on Noisy Intermediate-Scale Quantum (NISQ) hardware, identifying portfolios within 5% of the optimal adjusted returns and with the optimal risk for a small eight-stock portfolio.
Motivation & Objective
- To evaluate the feasibility of applying gate-model quantum computing to real-world financial portfolio rebalancing under discrete trading, non-linear costs, and investment constraints.
- To design and implement a novel problem encoding and hard constraint mixers tailored for the Quantum Alternating Operator Ansatz (QAOA) in a financial context.
- To compare the performance of QAOA with soft constraints against QAOA with hard constraints (using parity-based mixers) in terms of adjusted returns and risk minimization.
- To assess the tractability of this financial optimization problem on Noisy Intermediate-Scale Quantum (NISQ) hardware using an idealized quantum simulator.
- To identify key challenges and opportunities in mapping complex financial use cases to variational quantum algorithms for future hardware deployment.
Proposed method
- Mapped the portfolio rebalancing problem into a spin-based Ising model formulation using the identity $ s = 2x - 1 $, enabling qubit representation of binary stock position decisions.
- Formulated a quadratic Ising Hamiltonian cost function $ C = \sum h_i s_i + \sum J_{ij} s_i s_j $ to encode expected returns, risk (covariance), and trading costs.
- Designed a novel hard constraint mixer based on parity mixers applied across long and short position variables, ensuring only feasible solutions are explored during optimization.
- Implemented both QAOA variants: one using soft constraints via penalty functions and the other using hard constraints via tailored mixers to preserve feasibility.
- Executed the algorithm on an idealized gate-model quantum simulator with $ p=2 $ and $ p=4 $ circuit depth, optimizing parameters $ \beta $ and $ \gamma $ classically.
- Used brute-force enumeration as a ground truth benchmark for adjusted returns and risk, comparing quantum results across different $ \lambda $-weighted objectives.
Experimental results
Research questions
- RQ1Can the Quantum Alternating Operator Ansatz (QAOA) with hard constraints effectively solve a realistic, discrete portfolio rebalancing problem with non-linear trading costs?
- RQ2How does the performance of QAOA with hard constraints compare to QAOA with soft constraints in terms of adjusted returns and portfolio risk?
- RQ3To what extent can QAOA identify solutions within 5% of the optimal adjusted return and optimal risk for a small, realistic portfolio on a noiseless quantum simulator?
- RQ4What impact does increasing the circuit depth ($ p $) have on the quality of solutions for this financial optimization problem?
- RQ5How do different objective trade-offs (return vs. risk) influence the number of trades and solution quality in quantum-optimized rebalancing?
Key findings
- The Quantum Alternating Operator Ansatz with hard constraints achieved adjusted returns within 5% of the optimal brute-force result for an eight-stock portfolio when $ p=4 $, demonstrating strong performance.
- The QAOA with hard constraints outperformed the standard QAOA with soft constraints, particularly in minimizing risk, achieving the optimal risk level across all six months of the test period at $ \lambda = 1 $.
- For $ p=4 $, both QAOA variants showed superior performance compared to $ p=2 $, confirming that increased circuit depth enhances solution quality due to a larger parameter search space.
- The number of trades was highest under the return-maximization objective ($ \lambda = 0 $), consistent with chasing returns when transaction costs are low, and decreased as risk minimization was prioritized.
- The hard constraint mixer design—based on parity mixers applied to long and short position variables—proved effective in maintaining feasibility and improving solution quality.
- The experimental results suggest that the portfolio rebalancing problem is tractable on NISQ hardware when noise and coherence time limitations are ignored, supporting further investigation on real quantum devices.
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.