Quantum approximate optimization algorithm

Redirect to:

  • Quantum optimization algorithms
This page is a redirect. The following categories are used to track and monitor this redirect:
  • From a subtopic: This is a redirect from a subtopic of the target article.
    • If the redirected subtopic could potentially have its own article in the future, then also tag the redirect with {{R with possibilities}} and {{R printworthy}}.
  • To a section: This is a redirect from a topic that does not have its own page to a section of a page on the subject. For redirects to embedded anchors on a page, use {{R to anchor}} instead.
  • With possibilities: This is a redirect from a title that potentially could be expanded into a new article or other type of associated page such as a new template. The topic described by this title may be more detailed than is currently provided on the target page or in a section of that page.
    • When the target page becomes too large, or for any reason a new page would be an improvement, this redirect may be replaced with an article, template or other project page that is carved out of the target page. See also {{R to section}} and use together with this rcat when appropriate.
    • If the topic of the redirect is not susceptible to expansion, then use other rcats such as {{R to section}} or {{R to list entry}} when appropriate.
    • Since a new page may be created, links to this redirect should not be replaced with a direct link to the target page. To make redirects to this page, use {{R avoided double redirect}}.
    • {{R printworthy}} should be used together with this template when applied to a redirect in mainspace.
    • When used on a template redirect, it will automatically populate Category:Template redirects with possibilities.
  • From a printworthy page title: This is a redirect from a title that would be helpful in a printed or CD/DVD version of Wikipedia. See Wikipedia:Printability and Version 1.0 Editorial Team for more information.
When appropriate, protection levels are automatically sensed, described and categorized.
Quantum algorithm

In quantum computing, The Quantum Approximate Optimization Algorithm (QAOA) is an iterative NISQ-era quantum algorithm designed to solve combinatorial optimization problems. This algorithm was first proposed by Farhi, Goldstone, and Gutmann in 2014[1] to find approximate solutions to the MaxCut problem. This algorithm is based on variational principle, much like the Variational quantum eigensolver (VQE).

QAOA is a hybrid quantum-classical approach that leverages the principles of both quantum mechanics and classical optimization to solve problems more efficiently than conventional algorithms. The algorithm utilizes a quantum computer to prepare a quantum state according to a set of variational parameters, which are then refined through a classical process that iteratively optimizes the parameters based on the outcomes of these quantum computations. In the QAOA, the quantum state is prepared by a p {\displaystyle p} -level circuit specified by 2 p {\displaystyle 2p} variational parameters.

The development and study of the QAOA are motivated by the promise of quantum advantage. As of now, QAOA has not demonstrated a provable quantum speed-up over classical algorithms for any practically relevant task with NISQ devices.[2][3] The potential of QAOA compared to classical algorithms remains an active area of study, fueled by ongoing research.[4]

Description

Combinatorial optimization problems are represented on a classical cost function C ( z ) {\displaystyle C(z)} defined on n {\displaystyle n} -bit strings z = ( z 1 , z 2 , . . . , z n ) {\displaystyle z=(z_{1},z_{2},...,z_{n})} . The fundamental concept of QAOA is to encode the objective function into the problem Hamiltonian H ^ P {\displaystyle {\hat {H}}_{P}} , aiming to identify an optimal bit string z {\displaystyle z^{*}} so that that C ( z ) {\displaystyle C(z)} is approximate to its absolute minimum. The original QAOA [1] follows below steps:

  1. Define a problem Hamiltonian H ^ P {\displaystyle {\hat {H}}_{P}} such that it encodes the solution to the optimization problem. Define a mixing Hamiltonian H ^ m {\displaystyle {\hat {H}}_{m}} . Generally, with computational basis vector | z {\displaystyle |z\rangle } , one can map the problem Hamiltonian as H ^ P | z = C ( z )   | z {\displaystyle {\hat {H}}_{P}|z\rangle =C(z)\ |z\rangle } . Mixing Hamiltonian H ^ m {\displaystyle {\hat {H}}_{m}} is usually define as H ^ m = i = 1 n σ x i {\displaystyle {\hat {H}}_{m}=\sum _{i=1}^{n}\sigma _{x}^{i}} , where σ x {\displaystyle \sigma _{x}} is the Pauli-x gate acting on qubit i {\displaystyle i} .
  2. Initialize the quamtum circuit to be in the state | s = 1 2 n   z | z {\displaystyle |s\rangle ={\frac {1}{\sqrt {2^{n}}}}\ \sum _{z}|z\rangle } , where n is the number of qubits.
  3. Construct the ansatz by defining the two unitaries related to the two operators: U ^ p ( γ )   =   e i γ H ^ P ;   U ^ m ( β )   =   e i β H ^ m = i = 1 n e i β σ x i {\displaystyle {\hat {U}}_{p}(\gamma )\ =\ e^{-i\gamma {\hat {H}}_{P}};\ {\hat {U}}_{m}(\beta )\ =\ e^{-i\beta {\hat {H}}_{m}}=\prod _{i=1}^{n}e^{-i\beta \sigma _{x}^{i}}} , where γ {\displaystyle \gamma } and β {\displaystyle \beta } are variational parameters of the circuit.
  4. Set the total layer depth of the algorithm, p {\displaystyle p} , where p {\displaystyle p} is a positive integer.
  5. Initialize the 2 p {\displaystyle 2p} variational parameters and p {\displaystyle p} layers of U ^ p ( γ )   {\displaystyle {\hat {U}}_{p}(\gamma )\ } and U ^ m ( β ) {\displaystyle {\hat {U}}_{m}(\beta )} are applied to the initial state | s {\displaystyle |s\rangle } . let γ   =   γ 1 , γ 2 , . . . , γ p {\displaystyle \mathbf {\gamma } \ =\ \gamma _{1},\gamma _{2},...,\gamma _{p}} and β =   β 1 , β 2 , . . . , β p {\displaystyle \mathbf {\beta } =\ \beta _{1},\beta _{2},...,\beta _{p}} , then the circuit prepares the final state | ψ ( γ ,   β ) = e i γ p H ^ P e i β p H ^ m . . . e i γ 1 H ^ P e i β 1 H ^ m | s {\displaystyle |\psi (\gamma ,\ \beta )\rangle =e^{-i\gamma _{p}{\hat {H}}_{P}}e^{-i\beta _{p}{\hat {H}}_{m}}...e^{-i\gamma _{1}{\hat {H}}_{P}}e^{-i\beta _{1}{\hat {H}}_{m}}|s\rangle } .
  6. For the given problem Hamiltonian H ^ P {\displaystyle {\hat {H}}_{P}} , the expectation value of the Hamiltonian is represented by the objective function ψ ( γ ,   β ) | H ^ P | ψ ( γ ,   β ) {\displaystyle \langle \psi (\gamma ,\ \beta )|{\hat {H}}_{P}|\psi (\gamma ,\ \beta )\rangle } . The final state is then measured in the computational basis.
  7. A classical optimization routine is used to iteratively adjust the parameters γ {\displaystyle \gamma } and β {\displaystyle \beta } . The purpose of this process is to identify the optimal parameters ( γ {\displaystyle \gamma ^{*}} , β {\displaystyle \beta ^{*}} ) that maximize the expectation value.


See also

  • Quantum optimization algorithms
  • Variational quantum eigensolver


References

  1. ^ a b Farhi, Edward; Goldstone, Jeffrey; Gutmann, Sam (2014). "A Quantum Approximate Optimization Algorithm". arXiv:1411.4028 [quant-ph].
  2. ^ Barak, Baoz; Marwaha, Kunal (2021). "Classical algorithms and quantum limitations for maximum cut on high-girth graphs". arXiv:2106.05900 [quant-ph].
  3. ^ Bharti, Kishor; Cervera-Lierta, Alba; Kyaw, Thi Ha; Haug, Tobias; Alperin-Lea, Sumner; Anand, Abhinav; Degroote, Matthias; Heimonen, Hermanni; Kottmann, Jakob S.; Menke, Tim; Mok, Wai-Keong; Sim, Sukin; Kwek, Leong-Chuan; Aspuru-Guzik, Alán (2022-02-15). "Noisy intermediate-scale quantum algorithms". Reviews of Modern Physics. 94 (1): 015004. doi:10.1103/RevModPhys.94.015004. hdl:10356/161272.
  4. ^ Blekos, Kostas; Brand, Dean; Ceschini, Andrea; Chou, Chiao-Hui; Li, Rui-Hao; Pandya, Komal; Summer, Alessandro (June 2024). "A review on Quantum Approximate Optimization Algorithm and its variants". Physics Reports. 1068: 1–66. doi:10.1016/j.physrep.2024.03.002.

External Links

  • Implementation of QAOA on a MaxCut problem using Qiskit, IBM Quantum Platform, IBM Quantum Learning


  • v
  • t
  • e
Quantum information science
General
TheoremsQuantum
communication
Quantum cryptography
Quantum algorithmsQuantum
complexity theoryQuantum
processor benchmarksQuantum
computing modelsQuantum
error correctionPhysical
implementations
Quantum optics
Ultracold atoms
Spin-based
Superconducting
Quantum
programming
  • Quantum information science
  • Quantum mechanics topics