A Quantum Model for Constrained Markowitz Modern Portfolio Using Slack Variables to Process Mixed-Binary Optimization under QAOA
Pablo Thomassin, Guillaume Guerard, Sonia Djebali, Vincent Marc Lambert
TL;DR
The paper addresses the challenge of encoding inequality constraints in quantum portfolio optimization and proposes embedding slack variables as ancilla qubits within the problem Hamiltonian to yield a QUBO form for QAOA. It demonstrates, via simulation, that the slack-ancilla QAOA consistently finds the optimal portfolio where standard penalty-based QAOA fails, and it discusses a fundamental quantum bound on joint risk and return. The contributions include an architectural Hamiltonian redesign that internalizes constraints, a reduced need for high penalty weights, and a feasible demonstration on a small three-asset test. The work highlights a practical route to applying quantum optimization to constrained financial problems and suggests a quantum-limited trade-off between risk and return.
Abstract
Effectively encoding inequality constraints is a primary obstacle in applying quantum algorithms to financial optimization. A quantum model for Markowitz portfolio optimization is presented that resolves this by embedding slack variables directly into the problem Hamiltonian. The method maps each slack variable to a dedicated ancilla qubit, transforming the problem into a Quadratic Unconstrained Binary Optimization (QUBO) formulation suitable for the Quantum Approximate Optimization Algorithm (QAOA). This process internalizes the constraints within the quantum state, altering the problem's energy landscape to facilitate optimization. The model is empirically validated through simulation, showing it consistently finds the optimal portfolio where a standard penalty-based QAOA fails. This work demonstrates that modifying the Hamiltonian architecture via a slack-ancilla scheme provides a robust and effective pathway for solving constrained optimization problems on quantum computers. A fundamental quantum limit on the simultaneous precision of portfolio risk and return is also posited.
