Skip to main content
QUICK REVIEW

[Paper Review] Reconsider HHL algorithm and its related quantum machine learning algorithms

Changpeng Shao|arXiv (Cornell University)|Mar 5, 2018
Quantum Computing Algorithms and ArchitectureComputer Science11 citations
TL;DR

This paper re-evaluates the HHL quantum algorithm and its related quantum machine learning (QML) methods, identifying previously overlooked caveats that critically affect efficiency, accuracy, and practicality. It highlights two major issues: the sensitivity to the eigenvalue compression parameter $ t $, which amplifies errors and increases complexity, and the norm-dependent error propagation in classical solution recovery, both of which undermine the promised quantum speedup in QML applications like linear regression, classification, and support vector machines.

ABSTRACT

HHL quantum algorithm to solve linear systems is one of the most important subroutines in many quantum machine learning algorithms. In this work, we present and analyze several other caveats in HHL algorithm, which have been ignored in the past. Their influences on the efficiency, accuracy and practicability of HHL algorithm and several related quantum machine learning algorithms will be discussed. We also found that these caveats affect HHL algorithm much deeper than the already noticed caveats. In order to obtain more practical quantum machine learning algorithms with less assumptions based on HHL algorithm, we should pay more attention to these caveats.

Motivation & Objective

  • To identify and analyze overlooked technical caveats in the HHL quantum algorithm that affect its practicality and efficiency.
  • To examine how these caveats—particularly the choice of the compression parameter $ t $ and norm-dependent error amplification—impact the performance of HHL and related quantum machine learning algorithms.
  • To assess the practical feasibility of quantum speedup in key QML applications such as linear regression, supervised classification, and least-square support vector machines.
  • To challenge the assumption that HHL’s quantum state output $ |\tilde{x}\rangle $ directly enables efficient classical solution recovery, showing that error scales with $ \|x\| $.
  • To argue that resolving these hidden constraints is essential for developing robust, assumption-light quantum machine learning algorithms.

Proposed method

  • Analyzes the role of the compression parameter $ t $ in quantum phase estimation, showing that $ \lambda t \in [0, 2\pi) $ is required, but $ t $ must be chosen carefully to avoid error amplification.
  • Demonstrates that the error in estimating $ \lambda $ via $ \lambda t $ scales with $ t $, increasing the algorithmic complexity and reducing accuracy.
  • Introduces the norm amplification effect: the error in $ |\tilde{x}\rangle $ translates to $ \|x\| \cdot \epsilon $ in the classical solution $ x $, making the algorithm sensitive to the solution’s norm.
  • Applies this analysis to QML algorithms, including linear regression (Schuld et al.), classification (Lloyd et al.), and least-square SVM (Rebentrost et al.), showing the same caveats propagate.
  • Examines the trace estimation problem in Hamiltonian simulation for SVMs, proving that efficient trace estimation would imply solving NP-complete problems, contradicting known complexity bounds.
  • Argues that for low-rank matrices, the compression parameter $ t $ cannot be easily optimized, especially when $ t = 1/M $, leading to poor eigenvalue resolution.

Experimental results

Research questions

  • RQ1How does the choice of the compression parameter $ t $ in quantum phase estimation affect the accuracy and complexity of the HHL algorithm?
  • RQ2To what extent does the norm of the solution vector $ \|x\| $ amplify the error in classical solution recovery from the quantum state $ |\tilde{x}\rangle $?
  • RQ3Why is efficient trace estimation of large matrices classically infeasible in quantum algorithms, and how does this impact Hamiltonian simulation in QML?
  • RQ4Can the caveats in HHL—especially $ t $-selection and norm amplification—undermine the claimed quantum speedup in quantum machine learning applications?
  • RQ5Under what conditions can these hidden constraints be resolved to make HHL-based QML algorithms practically viable?

Key findings

  • The choice of the compression parameter $ t $ in HHL amplifies estimation errors by a factor of $ t $, increasing the algorithm’s complexity and reducing accuracy, especially when $ \lambda t $ must be compressed into $ [0, 2\pi) $.
  • The error in the quantum state $ |\tilde{x}\rangle $ is amplified by the norm $ \|x\| $ when recovering the classical solution, meaning the error in $ x $ is $ \|x\| \cdot \epsilon $, which can be large even for small $ \epsilon $.
  • Efficiently estimating the trace of a matrix $ \text{Tr}(K) $ in quantum algorithms is impossible in general, as it would imply solving the unstructured search problem faster than Grover’s algorithm, contradicting known quantum complexity bounds.
  • In least-square SVMs, estimating $ \text{Tr}(K)/M $ with error $ \epsilon $ leads to an error of $ M\epsilon $ in $ \text{Tr}(K) $, requiring $ \widetilde{O}(M/\epsilon) $ time, which negates potential speedups.
  • For low-rank matrices, choosing $ t = 1/M $ for Hamiltonian simulation leads to poor eigenvalue resolution, making the algorithm ineffective unless the problem depends only on eigenvectors, not eigenvalues.
  • These caveats are deeper and more impactful than previously recognized, and they fundamentally limit the practicality of HHL and its QML extensions unless addressed at the algorithm design stage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.