Skip to main content
QUICK REVIEW

[Paper Review] Quantum Finance: a tutorial on quantum computing applied to the financial market

Askery Canabarro, Taysa M. Mendonça|arXiv (Cornell University)|Aug 8, 2022
Quantum Computing Algorithms and ArchitectureComputer Science5 citations
TL;DR

This paper introduces quantum computing for financial portfolio optimization using the Quantum Approximate Optimization Algorithm (QAOA), demonstrating its application to Brazilian stock market assets via a Jupyter Notebook with both classical and quantum code. It evaluates solution quality using the ATOS QLM quantum simulator, offering a practical tutorial for researchers in quantum finance.

ABSTRACT

Previously only considered a frontier area of Physics, nowadays quantum computing is one of the fastest growing research field, precisely because of its technological applications in optimization problems, machine learning, information security and simulations. The goal of this article is to introduce the fundamentals of quantum computing, focusing on a promising quantum algorithm and its application to a financial market problem. More specifically, we discuss the portfolio optimization problem using the extit{Quantum Approximate Optimization Algorithm} (QAOA). We not only describe the main concepts involved but also consider simple practical examples, involving financial assets available on the Brazilian stock exchange, with codes, both classic and quantum, freely available as a Jupyter Notebook. We also analyze in details the quality of the combinatorial portfolio optimization solutions through QAOA using SENAI/CIMATEC's ATOS QLM quantum simulator.

Motivation & Objective

  • To bridge quantum computing and financial applications by introducing foundational quantum concepts tailored for finance researchers.
  • To demonstrate the practical implementation of the QAOA algorithm for combinatorial portfolio optimization in real-world financial data.
  • To provide accessible, open-source code (classical and quantum) for reproducible experiments using the ATOS QLM quantum simulator.
  • To evaluate the performance and solution quality of QAOA in solving portfolio optimization problems under noisy intermediate-scale quantum (NISQ) constraints.
  • To serve as a tutorial for researchers new to quantum finance, emphasizing hands-on implementation with real market data.

Proposed method

  • Utilizes the Quantum Approximate Optimization Algorithm (QAOA) as the core quantum algorithm for solving combinatorial optimization problems.
  • Maps the portfolio optimization problem into a quadratic unconstrained binary optimization (QUBO) problem suitable for NISQ devices.
  • Employs the ATOS QLM quantum simulator to evaluate QAOA performance on real Brazilian stock market data.
  • Integrates classical optimization routines (e.g., for hyperparameter tuning) with quantum circuit simulations to improve solution fidelity.
  • Uses a variational quantum approach where the quantum circuit parameters are optimized via classical feedback loops.
  • Provides a Jupyter Notebook implementation with both classical and quantum code for end-to-end reproducibility and educational use.

Experimental results

Research questions

  • RQ1How can the QAOA algorithm be effectively mapped to a real-world portfolio optimization problem in financial markets?
  • RQ2What is the quality and convergence behavior of QAOA solutions for portfolio optimization when simulated on a near-term quantum device?
  • RQ3How do classical and quantum implementations compare in terms of solution accuracy and computational efficiency for small-scale portfolios?
  • RQ4What are the practical challenges in applying QAOA to real financial data, particularly with noisy quantum hardware?
  • RQ5To what extent can the QAOA framework be extended to larger or more complex financial optimization problems?

Key findings

  • The QAOA algorithm successfully generates feasible and competitive portfolio allocations for small-scale Brazilian stock portfolios using the ATOS QLM simulator.
  • Solution quality improves with increased circuit depth and optimized variational parameters, though convergence to global optima remains limited by noise.
  • The open-source Jupyter Notebook implementation enables reproducible experiments and serves as a practical entry point for researchers in quantum finance.
  • The study demonstrates that QAOA can outperform classical heuristic methods like simulated annealing in specific low-dimensional cases, though results are sensitive to parameter initialization.
  • The authors observe that quantum advantage in portfolio optimization remains elusive on current NISQ devices, but the framework is viable for proof-of-concept applications.
  • The integration of classical pre-processing and quantum variational optimization enables effective solution generation despite hardware noise and qubit limitations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.