Quantum Goemans-Williamson Algorithm with the Hadamard Test and Approximate Amplitude Constraints
Abstract: Semidefinite programs are optimization methods with a wide array of applications, such as approximating difficult combinatorial problems. One such semidefinite program is the Goemans-Williamson algorithm, a popular integer relaxation technique. We introduce a variational quantum algorithm for the Goemans-Williamson algorithm that uses only $n{+}1$ qubits, a constant number of circuit preparations, and $\text{poly}(n)$ expectation values in order to approximately solve semidefinite programs with up to $N=2n$ variables and $M \sim O(N)$ constraints. Efficient optimization is achieved by encoding the objective matrix as a properly parameterized unitary conditioned on an auxilary qubit, a technique known as the Hadamard Test. The Hadamard Test enables us to optimize the objective function by estimating only a single expectation value of the ancilla qubit, rather than separately estimating exponentially many expectation values. Similarly, we illustrate that the semidefinite programming constraints can be effectively enforced by implementing a second Hadamard Test, as well as imposing a polynomial number of Pauli string amplitude constraints. We demonstrate the effectiveness of our protocol by devising an efficient quantum implementation of the Goemans-Williamson algorithm for various NP-hard problems, including MaxCut. Our method exceeds the performance of analogous classical methods on a diverse subset of well-studied MaxCut problems from the GSet library.
- “Convex optimization”. Cambridge Press. (2004).
- Michel X. Goemans. “Semidefinite programming in combinatorial optimization”. Mathematical Programming 79, 143–161 (1997).
- “Applications of semidefinite programming”. Applied Numerical Mathematics 29, 283–299 (1999).
- “Parameterized algorithms of fundamental np-hard problems: a survey”. Human-centric Computing and Information Sciences 10, 29 (2020).
- Christoph Helmberg. “Semidefinite programming for combinatorial optimization”. Konrad-Zuse-Zentrum fur Informationstechnik Berlin. (2000).
- “Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming”. J. ACM 42, 1115–1145 (1995).
- “Interior-point methods”. Journal of Computational and Applied Mathematics 124, 281–302 (2000).
- “A faster interior point method for semidefinite programming”. In 2020 IEEE 61st annual symposium on foundations of computer science (FOCS). Pages 910–918. IEEE (2020).
- “Solving sdp faster: A robust ipm framework and efficient implementation”. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS). Pages 233–244. IEEE (2022).
- “The design of approximation algorithms”. Cambridge University Press. (2011).
- “Quantum optimization using variational algorithms on near-term quantum devices”. Quantum Science and Technology 3, 030503 (2018).
- “Quantum computation by adiabatic evolution” (2000). arXiv:quant-ph/0001106.
- “Adiabatic quantum computation”. Rev. Mod. Phys. 90, 015002 (2018).
- “Quantum optimization of maximum independent set using rydberg atom arrays”. Science 376, 1209–1215 (2022).
- “Quantum annealing in the transverse ising model”. Phys. Rev. E 58, 5355–5363 (1998).
- Elizabeth Gibney. “D-wave upgrade: How scientists are using the world’s most controversial quantum computer”. Nature541 (2017).
- “A quantum approximate optimization algorithm”. arXiv (2014). arXiv:1411.4028.
- “Quantum circuits with many photons on a programmable nanophotonic chip”. Nature 591, 54–60 (2021).
- “Quantum SDP Solvers: Large Speed-Ups, Optimality, and Applications to Quantum Learning”. 46th International Colloquium on Automata, Languages, and Programming (ICALP 2019) 132, 27:1–27:14 (2019).
- “Improvements in quantum sdp-solving with applications”. In Proceedings of the 46th International Colloquium on Automata, Languages, and Programming (2019).
- “Quantum sdp-solvers: Better upper and lower bounds”. Quantum 4, 230 (2020).
- “Quantum speed-ups for solving semidefinite programs”. In 2017 IEEE 58th Annual Symposium on Foundations of Computer Science (FOCS). Pages 415–426. (2017).
- “Faster quantum and classical SDP approximations for quadratic binary optimization”. Quantum 6, 625 (2022).
- “Variational quantum algorithms for semidefinite programming” (2021). arXiv:2112.08859.
- “A variational quantum algorithm for preparing quantum gibbs states” (2020). arXiv:2002.00055.
- “Markov chain monte carlo enhanced variational quantum algorithms”. Quantum Science and Technology 8, 015019 (2022).
- “Variational quantum gibbs state preparation with a truncated taylor series”. Physical Review Applied 16, 054035 (2021).
- “The multiplicative weights update method: A meta-algorithm and applications”. Theory of Computing 8, 121–164 (2012).
- “A quantum interior point method for lps and sdps”. ACM Transactions on Quantum Computing1 (2020).
- “Quantum interior point methods for semidefinite optimization” (2022). arXiv:2112.06025.
- “Variational quantum algorithms”. Nature Reviews Physics 3, 625–644 (2021).
- “Noisy intermediate-scale quantum algorithm for semidefinite programming”. Phys. Rev. A 105, 052445 (2022).
- “Training variational quantum algorithms is np-hard”. Phys. Rev. Lett. 127, 120502 (2021).
- “Barren plateaus in quantum neural network training landscapes”. Nature Communications 9, 4812 (2018).
- “Entanglement-induced barren plateaus”. PRX Quantum 2, 040316 (2021).
- “Entanglement devised barren plateau mitigation”. Phys. Rev. Res. 3, 033090 (2021).
- “Absence of barren plateaus in quantum convolutional neural networks”. Phys. Rev. X 11, 041011 (2021).
- “A polynomial quantum algorithm for approximating the jones polynomial”. Algorithmica 55, 395–421 (2009).
- Clayton W. Commander. “Maximum cut problem, max-cutmaximum cut problem, max-cut”. Pages 1991–1999. Springer US. Boston, MA (2009).
- “Mixed linear and semidefinite programming for combinatorial and quadratic optimization”. Optimization Methods and Software 11, 515–544 (1999).
- “Solving sparse semidefinite programs using the dual scaling algorithm with an iterative solver”. Manuscript, Department of Management Sciences, University of Iowa, Iowa City, IA52242 (2000). url: web.stanford.edu/ yyye/yyye/cgsdp1.pdf.
- Angelika Wiegele. “Biq mac library – a collection of max-cut and quadratic 0-1 programming instances of medium size”. Alpen-Adria-Universität Klagenfurt (2007). url: biqmac.aau.at/biqmaclib.pdf.
- Stefan H. Schmieta. “The dimacs library of mixed semidefinite-quadratic-linear programs”. 7th DIMACS Implementation Challenge (2007). url: http://archive.dimacs.rutgers.edu.
- Yoshiki Matsuda. “Benchmarking the max-cut problem on the simulated bifurcation machine”. Medium (2019). url: medium.com/toshiba-sbm/benchmarking-the-max-cut-problem-on-the-simulated-bifurcation-machine-e26e1127c0b0.
- R. M. Karp. “Reducibility among combinatorial problems”. Springer US. Boston, MA (1972).
- Dimitri P Bertsekas. “Constrained optimization and lagrange multiplier methods”. Academic press. (1982).
- “Quantum tomography”. Advances in imaging and electron physics 128, 206–309 (2003).
- “Optimal quantum tomography”. IEEE Journal of Selected Topics in Quantum Electronics 15, 1646–1660 (2009).
- Max S. Kaznady and Daniel F. V. James. “Numerical strategies for quantum tomography: Alternatives to full optimization”. Phys. Rev. A 79, 022109 (2009).
- Javier Peña. “Convergence of first-order methods via the convex conjugate”. Operations Research Letters 45, 561–564 (2017).
- “Improved approximation algorithms for maxk-cut and max bisection”. Algorithmica 18, 67–81 (1997).
- Clark David Thompson. “A complexity theory for vlsi”. PhD thesis. Carnegie Mellon University. (1980). url: dl.acm.org/doi/10.5555/909758.
- “Maxsat, hard and soft constraints”. In Handbook of satisfiability. Pages 903–927. IOS Press (2021).
- Nicholas J Higham. “Computing the nearest correlation matrix—a problem from finance”. IMA journal of Numerical Analysis 22, 329–343 (2002).
- Tadayoshi Fushiki. “Estimation of positive semidefinite correlation matrices by using convex quadratic semidefinite programming”. Neural Computation 21, 2028–2048 (2009).
- Todd MJ. “A study of search directions in primal-dual interior-point methods for semidefinite programming”. Optimization methods and software 11, 1–46 (1999).
- Roger Fletcher. “Penalty functions”. Mathematical Programming The State of the Art: Bonn 1982Pages 87–114 (1983).
- Robert M Freund. “Penalty and barrier methods for constrained optimization”. Lecture Notes, Massachusetts Institute of Technology (2004). url: ocw.mit.edu/courses/15-084j-nonlinear-programming-spring-2004.
- Eric Ricardo Anschuetz. “Critical points in quantum generative models”. In International Conference on Learning Representations. (2022). url: openreview.net/forum?id=2f1z55GVQN.
- Amir Beck. “First-order methods in optimization”. SIAM. (2017).
- “A combinatorial, primal-dual approach to semidefinite programs”. J. ACM63 (2016).
- “Tensorly-quantum: Quantum machine learning with tensor methods” (2021). arXiv:2112.10239.
- “Tensorly: Tensor learning in python”. Journal of Machine Learning Research 20, 1–6 (2019). url: http://jmlr.org/papers/v20/18-277.html.
- cuQuantum Team. “Nvidia/cuquantum: cuquantum v22.11” (2022).
- “Adam: A method for stochastic optimization” (2017). arXiv:1412.6980.
- Brahim Chaourar. “A linear time algorithm for a variant of the max cut problem in series parallel graphs”. Advances in Operations Research (2017).
- Yury Makarychev. “A short proof of kuratowski’s graph planarity criterion”. Journal of Graph Theory 25, 129–131 (1997).
- Béla Bollobás. “The evolution of random graphs—the giant component”. Page 130–159. Cambridge Studies in Advanced Mathematics. Cambridge University Press. (2001). 2 edition.
- “Polynomial time approximation schemes for dense instances of np-hard problems”. Journal of computer and system sciences 58, 193–210 (1999).
- Rick Durrett. “Erdös–rényi random graphs”. Page 27–69. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press. (2006).
- “Chromatic graph theory”. Taylor and Francis. (2008).
- John van de Wetering. “Zx-calculus for the working quantum computer scientist” (2020). arXiv:2012.13966.
- “Phase gadget synthesis for shallow circuits”. Electronic Proceedings in Theoretical Computer Science 318, 213–228 (2020).
- “Theory of trotter error with commutator scaling”. Phys. Rev. X 11, 011020 (2021).
- “Engineered two-dimensional ising interactions in a trapped-ion quantum simulator with hundreds of spins”. Nature 484, 489–492 (2012).
- “Probing many-body dynamics on a 51-atom quantum simulator”. Nature 551, 579–584 (2017).
- Gheorghe-Sorin Paraoanu. “Recent progress in quantum simulation using superconducting circuits”. Journal of Low Temperature Physics 175, 633–654 (2014).
- “High-performance general solver for extremely large-scale semidefinite programming problems”. In SC ’12: Proceedings of the International Conference on High Performance Computing, Networking, Storage and Analysis. Pages 1–11. (2012).
- “Eigenvalue optimization”. Acta Numerica 5, 149–190 (1996).
- “Variational algorithms for linear algebra”. Science Bulletin 66, 2181–2188 (2021).
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.