Even after reading several papers and almost all HHL related questions and answers here on Quantum Computing Stack Exchange, one thing is yet not clear. In several papers, for illustrating HHL they choose matrix $A$ with convenient eigenvalues of the form $2^k$ such that the rotation angles are like $\frac{v\pi}{2^r}$; and show a full circuit of HHL. It's not always the case. Eigenvalues can be anything. So how can one find the angles for rotation without measuring the eigenvalues?

Does HHL need to be run in two steps? First to get the eigenvalues and then perform the rotation and QPE-inverse?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.