Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

End-to-end protocol for high-quality quantum approximate optimization algorithm parameters with few shots

Tianyi Hao1,*, Zichang He1,*,†, Ruslan Shaydulin1,‡, Jeffrey Larson2, and Marco Pistoia1

  • *These authors contributed equally to this work.
  • †Contact author: zichang.he@jpmchase.com
  • ‡Contact author: ruslan.shaydulin@jpmchase.com

Phys. Rev. Research 7, 033179 – Published 21 August, 2025

DOI: https://doi.org/10.1103/24gg-7p8z

Abstract

The quantum approximate optimization algorithm (QAOA) is a quantum heuristic for combinatorial optimization that has been demonstrated to scale better than state-of-the-art classical solvers for some problems. For a given problem instance, QAOA performance depends crucially on the choice of the parameters. While average-case optimal parameters are available in many cases, meaningful performance gains can be obtained by fine-tuning these parameters for a given instance. This task is especially challenging, however, when the number of circuit executions (shots) is limited. In this work, we develop an end-to-end protocol that combines multiple parameter settings and fine-tuning techniques. We use large-scale numerical experiments to optimize the protocol for the shot-limited setting and observe that optimizers with the simplest internal model (linear) perform best. We implement the optimized pipeline on a trapped-ion processor using up to 32 qubits and 5 QAOA layers, and we demonstrate that the pipeline is robust to small amounts of hardware noise. To the best of our knowledge, these are the largest demonstrations of QAOA parameter fine-tuning on a trapped-ion processor in terms of two-qubit gate count.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (71)

  1. C. Dürr and P. Høyer, A quantum algorithm for finding the minimum, arXiv:quant-ph/9607014.
  2. A. Montanaro, Quantum-walk speedup of backtracking algorithms, Theory Comput. 14, 1 (2018).
  3. A. Montanaro, Quantum speedup of branch-and-bound algorithms, Phys. Rev. Res. 2, 013056 (2020).
  4. R. D. Somma, S. Boixo, H. Barnum, and E. Knill, Quantum simulations of classical annealing processes, Phys. Rev. Lett. 101, 130504 (2008).
  5. P. Wocjan and A. Abeyesinghe, Speedup via quantum sampling, Phys. Rev. A 78, 042336 (2008).
  6. T. Hogg and D. Portnov, Quantum optimization, Inf. Sci. 128, 181 (2000).
  7. E. Farhi, J. Goldstone, and S. Gutmann, A quantum approximate optimization algorithm, arXiv:1411.4028.
  8. S. Hadfield, Z. Wang, B. O'Gorman, E. G. Rieffel, D. Venturelli, and R. Biswas, From the quantum approximate optimization algorithm to a quantum alternating operator ansatz, Algorithms 12, 34 (2019).
  9. S. Boulebnane and A. Montanaro, Solving Boolean satisfiability problems with the quantum approximate optimization algorithm, PRX Quantum 5, 030348 (2024).
  10. R. Shaydulin, C. Li, S. Chakrabarti, M. DeCross, D. Herman, N. Kumar, J. Larson, D. Lykov, P. Minssen, Y. Sun et al., Evidence of scaling advantage for the quantum approximate optimization algorithm on a classically intractable problem, Sci. Adv. 10, eadm6761 (2024).
  11. Z. He, B. Peng, Y. Alexeev, and Z. Zhang, Distributionally robust variational quantum algorithms with shifted noise, IEEE Trans. Quantum Eng. 5, 3102112 (2024).
  12. T. Hao, Z. He, R. Shaydulin, M. Pistoia, and S. Tannu, Variational quantum algorithm landscape reconstruction by low-rank tensor completion, in 2024 IEEE International Conference on Quantum Computing and Engineering (QCE), Montreal, QC, Canada (IEEE, Piscataway, NJ, 2024), Vol. 1, pp. 1184–1190.
  13. S. H. Sureshbabu, D. Herman, R. Shaydulin, J. Basso, S. Chakrabarti, Y. Sun, and M. Pistoia, Parameter setting in quantum approximate optimization of weighted problems, Quantum 8, 1231 (2024).
  14. J. Basso, E. Farhi, K. Marwaha, B. Villalonga, and L. Zhou, The quantum approximate optimization algorithm at high depth for MaxCut on large-girth regular graphs and the Sherrington-Kirkpatrick model, in 17th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2022), Leibniz International Proceedings in Informatics (LIPIcs), edited by F. Le Gall and T. Morimae (Schloss Dagstuhl–Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2022), Vol. 232, pp. 7:1–7:21.
  15. J. Wurtz and D. Lykov, The fixed angle conjecture for QAOA on regular MaxCut graphs, arXiv:2107.00677.
  16. S. Boulebnane and A. Montanaro, Predicting parameters for the quantum approximate optimization algorithm for MaxCut from the infinite-size limit, arXiv:2110.10685.
  17. R. Shaydulin, P. C. Lotshaw, J. Larson, J. Ostrowski, and T. S. Humble, Parameter transfer for quantum approximate optimization of weighted MaxCut, ACM Trans. Quantum Comput. 4, 1 (2023).
  18. T. Lubinski, C. Coffrin, C. McGeoch, P. Sathe, J. Apanavicius, and D. E. B. Neira, Optimization applications as quantum performance benchmarks, ACM Trans. Quantum Comput. 5, 1 (2024).
  19. R. Shaydulin, I. Safro, and J. Larson, Multistart methods for quantum approximate optimization, in High Performance Extreme Computing Conference (IEEE, Piscataway, NJ, 2019).
  20. S. S. Kahani and A. Nobakhti, A novel framework for shot number minimization in quantum variational algorithms, arXiv:2307.04035.
  21. S. A. Moses, C. H. Baldwin, M. S. Allman, R. Ancona, L. Ascarrunz, C. Barnes, J. Bartolotta, B. Bjork, P. Blanchard, M. Bohn, J. G. Bohnet, N. C. Brown, N. Q. Burdick, W. C. Burton, S. L. Campbell, J. P. Campora, C. Carron, J. Chambers, J. W. Chan, Y. H. Chen et al., A race-track trapped-ion quantum processor, Phys. Rev. X 13, 041052 (2023).
  22. D. Bluvstein, S. J. Evered, A. A. Geim, S. H. Li, H. Zhou, T. Manovitz, S. Ebadi, M. Cain, M. Kalinowski, D. Hangleiter, J. P. Bonilla Ataides, N. Maskara, I. Cong, X. Gao, P. Sales Rodriguez, T. Karolyshyn, G. Semeghini, M. J. Gullans, M. Greiner, V. Vuletić et al., Logical quantum processor based on reconfigurable atom arrays, Nature (London) 626, 58 (2024).
  23. M. DeCross, R. Haghshenas, M. Liu, Y. Alexeev, C. H. Baldwin, J. P. Bartolotta, M. Bohn, E. Chertkov, J. Colina, D. DelVento, J. M. Dreiling, C. Foltz, J. P. Gaebler, T. M. Gatterman, C. N. Gilbreth, J. Gray, D. Gresh, N. Hewitt, R. B. Hutson, J. Johansen et al., Computational power of random quantum circuits in arbitrary geometries, Phys. Rev. X 15, 021052 (2025).
  24. A. Abbas, R. King, H.-Y. Huang, W. J. Huggins, R. Movassagh, D. Gilboa, and J. R. McClean, On quantum backpropagation, information reuse, and cheating measurement collapse, arXiv:2305.13362.
  25. J. Larson, M. Menickelly, and S. M. Wild, Derivative-free optimization methods, Acta Numer. 28, 287 (2019).
  26. J. Larson and S. C. Billups, Stochastic derivative-free optimization using a trust region framework, Comput. Optim. Appl. 64, 619 (2016).
  27. R. Chen, M. Menickelly, and K. Scheinberg, Stochastic optimization using a trust-region method and random models, Math. Program. 169, 447 (2018).
  28. S. Shashaani, F. S. Hashemi, and R. Pasupathy, ASTRO-DF: A class of adaptive sampling trust-region algorithms for derivative-free stochastic optimization, SIAM J. Optim. 28, 3145 (2018).
  29. G. Scriva, N. Astrakhantsev, S. Pilati, and G. Mazzola, Challenges of variational quantum optimization with measurement shot noise, Phys. Rev. A 109, 032408 (2024).
  30. N. Sachdeva, G. S. Harnett, S. Maity, S. Marsh, Y. Wang, A. Winick, R. Dougherty, D. Canuto, Y. Q. Chong, M. Hush et al., Quantum optimization using a 127-qubit gate-model IBM quantum computer can outperform quantum annealers for nontrivial binary optimization problems, arXiv:2406.01743.
  31. M. Menickelly, Y. Ha, and M. Otten, Latency considerations for stochastic optimizers in variational quantum algorithms, Quantum 7, 949 (2023).
  32. K. Ito, Latency-aware adaptive shot allocation for run-time efficient variational quantum algorithms, arXiv:2302.04422.
  33. A. Gu, A. Lowe, P. A. Dub, P. J. Coles, and A. Arrasmith, Adaptive shot allocation for fast convergence in variational quantum algorithms, arXiv:2108.10434.
  34. A. Arrasmith, L. Cincio, R. D. Somma, and P. J. Coles, Operator sampling for shot-frugal optimization in variational algorithms, arXiv:2004.06252.
  35. K. J. Sung, J. Yao, M. P. Harrigan, N. C. Rubin, Z. Jiang, L. Lin, R. Babbush, and J. R. McClean, Using models to improve optimizers for variational quantum algorithms, Quantum Sci. Technol. 5, 044008 (2020).
  36. L. Zhu, S. Liang, C. Yang, and X. Li, Optimizing shot assignment in variational quantum eigensolver measurement, J. Chem. Theory Comput. 20, 2390 (2024).
  37. C. Moussa, M. H. Gordon, M. Baczyk, M. Cerezo, L. Cincio, and P. J. Coles, Resource frugal optimizer for quantum machine learning, Quantum Sci. Technol. 8, 045019 (2023).
  38. J. M. Kübler, A. Arrasmith, L. Cincio, and P. J. Coles, An adaptive optimizer for measurement-frugal variational algorithms, Quantum 4, 263 (2020).
  39. A. M. Polloreno and G. Smith, The QAOA with slow measurements, arXiv:2205.06845.
  40. L. Cheng, Y.-Q. Chen, S.-X. Zhang, and S. Zhang, Quantum approximate optimization via learning-based adaptive optimization, Commun. Phys. 7, 83 (2024).
  41. V. Akshay, D. Rabinovich, E. Campos, and J. Biamonte, Parameter concentrations in quantum approximate optimization, Phys. Rev. A 104, L010401 (2021).
  42. P. Billingsley, Probability and Measure (John Wiley & Sons, 2017).
  43. J. Larson, M. Menickelly, and J. Shi, A novel noise-aware classical optimizer for variational quantum algorithms, INFORMS J. Comput. 37, 1 (2025).
  44. A. Bärtschi and S. Eidenbenz, Deterministic preparation of Dicke states, in International Symposium on Fundamentals of Computation Theory (Springer, 2019), pp. 126–139.
  45. M. J. D. Powell, A direct search optimization method that models the objective and constraint functions by linear interpolation, in Advances in Optimization and Numerical Analysis, Mathematics and Its Applications, edited by S. Gomez and J.-P. Hennart (Springer, 1994), Vol. 275, pp. 51–67.
  46. M. J. D. Powell, The BOBYQA algorithm for bound constrained optimization without derivatives, Tech. Rep. NA2009/06 (Department of Applied Mathematics and Theoretical Physics, Cambridge University, Cambridge, 2009).
  47. J. A. Nelder and R. Mead, A simplex method for function minimization, Comput. J. 7, 308 (1965).
  48. C. H. da Silva Santos, M. S. Goncalves, and H. E. Hernandez-Figueroa, Designing novel photonic devices by bio-inspired computing, IEEE Photonics Technol. Lett. 22, 1177 (2010).
  49. J. M. Gablonsky and C. T. Kelley, A locally-biased form of the DIRECT algorithm, J. Global Optim. 21, 27 (2001).
  50. P. Kaelo and M. Ali, Some variants of the controlled random search algorithm for global optimization, J. Optim. Theory Appl. 130, 253 (2006).
  51. J. C. Spall, Multivariate stochastic approximation using a simultaneous perturbation gradient approximation, IEEE Trans. Autom. Control 37, 332 (1992).
  52. A. S. Berahas, L. Cao, K. Choromanski, and K. Scheinberg, A theoretical and empirical comparison of gradient approximations in derivative-free optimization, Found. Comput. Math. 22, 507 (2022).
  53. C. T. Kelley, Implicit Filtering (SIAM, 2011).
  54. S. G. Johnson, , 2007, https://github.com/stevengj/nlopt.
  55. C. Cartis, J. Fiala, B. Marteau, and L. Roberts, Improving the flexibility and robustness of model-based derivative-free optimization solvers, ACM Trans. Math. Softw. 45, 1 (2019).
  56. P. Virtanen, R. Gommers, T. E. Oliphant, M. Haberland, T. Reddy, D. Cournapeau, E. Burovski, P. Peterson, W. Weckesser, J. Bright, S. J. van der Walt, M. Brett, J. Wilson, K. J. Millman, N. Mayorov, A. R. J. Nelson, E. Jones, R. Kern, E. Larson, C. J. Carey et al., SciPy 1.0: Fundamental algorithms for scientific computing in Python, Nat. Methods 17, 261 (2020).
  57. T. M. Ragonneau and Z. Zhang, PDFO: A cross-platform package for Powell’s derivative-free optimization solvers, arXiv:2302.13246.
  58. W. Lavrijsen, A. Tudor, J. Müller, C. Iancu, and W. De Jong, Classical optimizers for noisy intermediate-scale quantum devices, in International Conference on Quantum Computing and Engineering (IEEE, 2020), pp. 267–277.
  59. M. J. Powell, UOBYQA: Unconstrained optimization by quadratic approximation, Math. Program. 92, 555 (2002).
  60. M. J. D. Powell, The NEWUOA software for unconstrained optimization without derivatives, in Large-Scale Nonlinear Optimization, Nonconvex Optimization and Its Applications, edited by G. D. Pillo and M. Roma (Springer, 2006), Vol. 83, pp. 255–297.
  61. M. J. D. Powell, On fast trust region methods for quadratic models with linear constraints, Math. Program. Comput. 7, 237 (2015).
  62. W. Huyer and A. Neumaier, SNOBFIT—Stable noisy optimization by branch and fit, ACM Trans. Math. Software 35, 1 (2008).
  63. M. DeCross, E. Chertkov, M. Kohagen, and M. Foss-Feig, Qubit-reuse compilation with mid-circuit measurement and reset, Phys. Rev. X 13, 041057 (2023).
  64. M. P. Harrigan, K. J. Sung, M. Neeley, K. J. Satzinger, F. Arute, K. Arya, J. Atalaya, J. C. Bardin, R. Barends, S. Boixo et al., Quantum approximate optimization of non-planar graph problems on a planar superconducting processor, Nat. Phys. 17, 332 (2021).
  65. Quantinuum H1-1, 2023, https://www.quantinuum.com/.
  66. Quantinuum H2-1, 2024, https://www.quantinuum.com/.
  67. D. Lykov, R. Shaydulin, Y. Sun, Y. Alexeev, and M. Pistoia, Fast simulation of high-depth QAOA circuits, in Proceedings of the SC'23 Workshops of The International Conference on High Performance Computing, Network, Storage, and Analysis, SC-W 2023 (ACM, 2023).
  68. T. Hao, K. Liu, and S. Tannu, Enabling high performance debugging for variational quantum algorithms using compressed sensing, in Proceedings of the 50th Annual International Symposium on Computer Architecture (Association for Computing Machinery, New York, 2023).
  69. http://energy.gov/downloads/doe-public-access-plan.
  70. https://github.com/jpmorganchase/End-to-End_Protocol_for_High-Quality_QAOA_Parameters.
  71. T. Hao, Z. He, R. Shaydulin, J. Larson, and M. Pistoia, Data from “End-to-end protocol for high-quality QAOA parameters with few shots” [Data set], Zenodo (2024), https://doi.org/10.5281/zenodo.12209739.

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation