Hinata: I’ve seen the term QAOA mentioned in the article on error mitigation as well as in the article on Grover's search. Since it appears so frequently, does that make it a famous computation method? I’m not sure about that.
Saeki: QAOA is similar to the method used when searching for the lowest valley along a mountain path. It involves gradually moving to different locations while progressing toward lower elevations.
To be precise, QAOA is a method for finding optimal solutions to combinatorial problems. It works by gradually adjusting the knobs of a circuit to approach the correct answer. Grover's search is a method that reliably finds the correct answer among many candidates. Unlike QAOA, which improves the answer incrementally, Grover's search aims to hit the target in one go. Are you curious about what kinds of problems QAOA is suited for?
Hinata: So, QAOA is a method that improves the answer incrementally by slightly adjusting knobs, similar to descending a mountain. I understand it’s different from methods like Grover’s that hit the target immediately. By the way, QAOA was also mentioned in the article on barren plateaus. Can QAOA also get trapped in this plateau?
Saeki: Your restatement is correct. QAOA can indeed get trapped in this plateau. The article on barren plateaus addresses general techniques that involve adjusting knobs to approach the answer. If the circuit is made too deep and long, it becomes unclear which direction to move to improve the outcome. QAOA falls into the same trap if too many layers are added.
Hinata: To summarize your explanation, QAOA falls into the same trap if the circuit is made too deep. I used to think that adding more layers brought the answer closer. But if adding too many layers causes confusion, how is the optimal number of layers determined? I’m not sure about that.
Saeki: I fully understand your sentiment that you thought adding more layers would improve the result. That understanding is correct. In fact, the article on barren plateaus does not provide a formula to determine the optimal number of layers. While we know the conditions under which learning becomes impossible, we still do not know how to design it properly. For now, we have no choice but to decide through trial and error.
Hinata: If there is no formula and we must rely on trials, I worry that it will take too much time and money. However, I heard in the article on barren plateaus that it is possible to calculate whether one will get trapped beforehand. Is it possible to know, even just whether one is likely to get lost before running QAOA? I’m curious about that.
Saeki: Yes, I understand your concern based on that understanding. It is possible to calculate whether one is likely to get lost before running it. Before assembling the circuit, you determine the width of the movable range, the initial state, and what is to be measured. From these three factors, you can determine whether the answer is likely to become flat. QAOA is also included in the scope of this calculation.
A qubit is the smallest unit used to handle information in a quantum computer. The article on barren plateaus used a circuit with 3 qubits and 40 layers. Our website has verified the actual numbers. As a result, we have confirmed that the predicted values from the formula are close to the measured values. However, this verification is not limited to QAOA. A variational algorithm is a computational method that approaches the answer by gradually adjusting parameters. QAOA is also a type of this variational algorithm. Quantum machine learning refers to machine learning performed using a quantum computer. This formula explains phenomena faced by quantum machine learning in general, including variational algorithms. The phenomenon in question is the barren plateau, where the answer becomes flat. This verification was about this formula.
Hinata: I understand. Let me organize this. QAOA is a method that improves the answer by descending like going down a mountain, and adding too many layers can cause one to get lost. There is currently no formula to tell us the optimal number of layers, so we must decide through trial and error. However, before running it, we can calculate whether we are likely to get lost based on the movable range, the initial state, and what is to be measured. Let’s assume it becomes clear what parts of QAOA have not yet been verified. What will actually become easier for users?
Saeki: To summarize the current state of affairs, the formula has only been verified for small circuits. It has not yet been verified for QAOA itself.
What is needed next is to actually calculate the width of the movable range for QAOA and apply this formula to it. If that is possible, it will reduce the number of blind trials. However, even then, it will not tell us “how to design it properly.” That remains an ongoing challenge.