Undergrad HHL Algorithm for Solving Linear Equations

Click For Summary
The discussion centers on the HHL algorithm for solving linear equations, specifically addressing confusion around the "uncompute phase estimation" step. Participants express difficulty understanding how to uncompute when phase estimation hasn't been clearly computed. The papers referenced lack clarity in describing the algorithm's steps, particularly regarding the application of the quantum inverse Fourier transform and the preparation of eigenvalues. It is highlighted that the last step is crucial for obtaining the correct solution to the linear system. Overall, there is a consensus that the documentation of the HHL algorithm needs improvement for better comprehension.
dakshina gandikota
Messages
2
Reaction score
0
I have a question about HHL algorithm https://arxiv.org/pdf/0811.3171.pdf for solving linear equations of the form:

A x = b

Where A, x and b are matrices

Take for example

4x1 + 2x2 =14
5x1 + 3x2 = 19

HHL apply the momentum operator eiAτto/T on the state, do a Fourier Transform on |b> and *uncompute phase estimation*. I don't follow the last step. How can you uncompute, when you haven't computed the phase estimation?

Earlier in the paper they mention that let |u> be the eigen vector of |b> using phase estimation. Is this what they are referring to? There is no circuit to back their algorithm in that pdf.

I also checked a particular implementation of HHL https://arxiv.org/pdf/1110.2232v2.pdf where they mention

"Apply the quantum inverse Fourier transform to the register C. Denote the basis states after quantum Fourier transform as |k>"

It seems they didn't edit the sentence properly. So not much help.

Does anyone think these are not properly described in the papers? By the way, there has been a thread https://quantumcomputing.stackexcha...systems-of-equations-hhl09-step-2-preparation to discuss the paper but not address the specific issues.

Thanks
 
Physics news on Phys.org
. Yes, it does seem that the papers are not properly describing the steps of the HHL algorithm. Specifically, the last step of the algorithm involves using the phase estimation algorithm to estimate the eigenvalues of A and then applying the inverse Fourier transform on the register C. This step is often referred to as "uncomputing the phase estimation" because it essentially "undoes" the phase estimation. It is important to note that this step is necessary in order to obtain the correct solution for the linear system of equations.
 
Time reversal invariant Hamiltonians must satisfy ##[H,\Theta]=0## where ##\Theta## is time reversal operator. However, in some texts (for example see Many-body Quantum Theory in Condensed Matter Physics an introduction, HENRIK BRUUS and KARSTEN FLENSBERG, Corrected version: 14 January 2016, section 7.1.4) the time reversal invariant condition is introduced as ##H=H^*##. How these two conditions are identical?

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K