Cargando…

Best practices for portfolio optimization by quantum computing, experimented on real quantum devices

In finance, portfolio optimization aims at finding optimal investments maximizing a trade-off between return and risks, given some constraints. Classical formulations of this quadratic optimization problem have exact or heuristic solutions, but the complexity scales up as the market dimension increa...

Descripción completa

Detalles Bibliográficos
Autores principales: Buonaiuto, Giuseppe, Gargiulo, Francesco, De Pietro, Giuseppe, Esposito, Massimo, Pota, Marco
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10632408/
https://www.ncbi.nlm.nih.gov/pubmed/37940680
http://dx.doi.org/10.1038/s41598-023-45392-w
_version_ 1785132569824591872
author Buonaiuto, Giuseppe
Gargiulo, Francesco
De Pietro, Giuseppe
Esposito, Massimo
Pota, Marco
author_facet Buonaiuto, Giuseppe
Gargiulo, Francesco
De Pietro, Giuseppe
Esposito, Massimo
Pota, Marco
author_sort Buonaiuto, Giuseppe
collection PubMed
description In finance, portfolio optimization aims at finding optimal investments maximizing a trade-off between return and risks, given some constraints. Classical formulations of this quadratic optimization problem have exact or heuristic solutions, but the complexity scales up as the market dimension increases. Recently, researchers are evaluating the possibility of facing the complexity scaling issue by employing quantum computing. In this paper, the problem is solved using the Variational Quantum Eigensolver (VQE), which in principle is very efficient. The main outcome of this work consists of the definition of the best hyperparameters to set, in order to perform Portfolio Optimization by VQE on real quantum computers. In particular, a quite general formulation of the constrained quadratic problem is considered, which is translated into Quadratic Unconstrained Binary Optimization by the binary encoding of variables and by including constraints in the objective function. This is converted into a set of quantum operators (Ising Hamiltonian), whose minimum eigenvalue is found by VQE and corresponds to the optimal solution. In this work, different hyperparameters of the procedure are analyzed, including different ansatzes and optimization methods by means of experiments on both simulators and real quantum computers. Experiments show that there is a strong dependence of solutions quality on the sufficiently sized quantum computer and correct hyperparameters, and with the best choices, the quantum algorithm run on real quantum devices reaches solutions very close to the exact one, with a strong convergence rate towards the classical solution, even without error-mitigation techniques. Moreover, results obtained on different real quantum devices, for a small-sized example, show the relation between the quality of the solution and the dimension of the quantum processor. Evidences allow concluding which are the best ways to solve real Portfolio Optimization problems by VQE on quantum devices, and confirm the possibility to solve them with higher efficiency, with respect to existing methods, as soon as the size of quantum hardware will be sufficiently high.
format Online
Article
Text
id pubmed-10632408
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-106324082023-11-10 Best practices for portfolio optimization by quantum computing, experimented on real quantum devices Buonaiuto, Giuseppe Gargiulo, Francesco De Pietro, Giuseppe Esposito, Massimo Pota, Marco Sci Rep Article In finance, portfolio optimization aims at finding optimal investments maximizing a trade-off between return and risks, given some constraints. Classical formulations of this quadratic optimization problem have exact or heuristic solutions, but the complexity scales up as the market dimension increases. Recently, researchers are evaluating the possibility of facing the complexity scaling issue by employing quantum computing. In this paper, the problem is solved using the Variational Quantum Eigensolver (VQE), which in principle is very efficient. The main outcome of this work consists of the definition of the best hyperparameters to set, in order to perform Portfolio Optimization by VQE on real quantum computers. In particular, a quite general formulation of the constrained quadratic problem is considered, which is translated into Quadratic Unconstrained Binary Optimization by the binary encoding of variables and by including constraints in the objective function. This is converted into a set of quantum operators (Ising Hamiltonian), whose minimum eigenvalue is found by VQE and corresponds to the optimal solution. In this work, different hyperparameters of the procedure are analyzed, including different ansatzes and optimization methods by means of experiments on both simulators and real quantum computers. Experiments show that there is a strong dependence of solutions quality on the sufficiently sized quantum computer and correct hyperparameters, and with the best choices, the quantum algorithm run on real quantum devices reaches solutions very close to the exact one, with a strong convergence rate towards the classical solution, even without error-mitigation techniques. Moreover, results obtained on different real quantum devices, for a small-sized example, show the relation between the quality of the solution and the dimension of the quantum processor. Evidences allow concluding which are the best ways to solve real Portfolio Optimization problems by VQE on quantum devices, and confirm the possibility to solve them with higher efficiency, with respect to existing methods, as soon as the size of quantum hardware will be sufficiently high. Nature Publishing Group UK 2023-11-08 /pmc/articles/PMC10632408/ /pubmed/37940680 http://dx.doi.org/10.1038/s41598-023-45392-w Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Buonaiuto, Giuseppe
Gargiulo, Francesco
De Pietro, Giuseppe
Esposito, Massimo
Pota, Marco
Best practices for portfolio optimization by quantum computing, experimented on real quantum devices
title Best practices for portfolio optimization by quantum computing, experimented on real quantum devices
title_full Best practices for portfolio optimization by quantum computing, experimented on real quantum devices
title_fullStr Best practices for portfolio optimization by quantum computing, experimented on real quantum devices
title_full_unstemmed Best practices for portfolio optimization by quantum computing, experimented on real quantum devices
title_short Best practices for portfolio optimization by quantum computing, experimented on real quantum devices
title_sort best practices for portfolio optimization by quantum computing, experimented on real quantum devices
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10632408/
https://www.ncbi.nlm.nih.gov/pubmed/37940680
http://dx.doi.org/10.1038/s41598-023-45392-w
work_keys_str_mv AT buonaiutogiuseppe bestpracticesforportfoliooptimizationbyquantumcomputingexperimentedonrealquantumdevices
AT gargiulofrancesco bestpracticesforportfoliooptimizationbyquantumcomputingexperimentedonrealquantumdevices
AT depietrogiuseppe bestpracticesforportfoliooptimizationbyquantumcomputingexperimentedonrealquantumdevices
AT espositomassimo bestpracticesforportfoliooptimizationbyquantumcomputingexperimentedonrealquantumdevices
AT potamarco bestpracticesforportfoliooptimizationbyquantumcomputingexperimentedonrealquantumdevices