[Paper Review] Solving Linear Systems on Quantum Hardware with Hybrid HHL++
This paper presents a hardware-optimized Hybrid HHL algorithm using dynamic quantum circuits (DQCs) to enable near-term execution of quantum linear system solvers on noisy intermediate-scale quantum (NISQ) devices. By integrating semi-classical QPE with quantum conditional logic and a novel matrix scaling technique, the method reduces circuit depth and qubit count, achieving the largest HHL execution to date—254 two-qubit gates—on the Quantinuum System Model H1-2 for portfolio optimization with high fidelity.
The limited capabilities of current quantum hardware significantly constrain the scale of experimental demonstrations of most quantum algorithmic primitives. This makes it challenging to perform benchmarking of the current hardware using useful quantum algorithms, i.e., application-oriented benchmarking. In particular, the Harrow-Hassidim-Lloyd (HHL) algorithm is a critical quantum linear algebra primitive, but the majority of the components of HHL are far out of the reach of noisy intermediate-scale quantum devices, which has led to the proposal of hybrid classical-quantum variants. The goal of this work is to further bridge the gap between proposed near-term friendly implementations of HHL and the kinds of quantum circuits that can be executed on noisy hardware. Our proposal adds to the existing literature of hybrid quantum algorithms for linear algebra that are more compatible with the current scale of quantum devices. Specifically, we propose two modifications to the Hybrid HHL algorithm proposed by Lee etal. leading to our algorithm Hybrid HHL++: (1) propose a novel algorithm for determining a scaling factor for the linear system matrix that maximizes the utility of the amount of ancillary qubits allocated to the phase estimation component of HHL, and (2) introduce a heuristic for compressing the HHL circuit. We demonstrate the efficacy of our work by running our modified Hybrid HHL on Quantinuum System Model H-series trapped-ion quantum computers to solve different problem instances of small-scale portfolio optimization problems, leading to the largest experimental demonstrations of HHL for an application to date.
Motivation & Objective
- To address the infeasibility of standard HHL on NISQ devices due to high circuit depth and qubit requirements.
- To enable practical, end-to-end quantum linear system solving on real hardware by optimizing eigenvalue estimation and inversion.
- To reduce reliance on exponentially costly uniformly controlled rotation (UCR) gates via dynamic circuit features.
- To improve eigenvalue estimation accuracy through an algorithmic scaling procedure for the system matrix.
- To demonstrate a scalable, hardware-optimized HHL variant on real trapped-ion quantum hardware for a practical financial application.
Proposed method
- Integrates quantum conditional logic (QCL) and mid-circuit measurements into a semi-classical inverse QFT variant (QCL-QPE) to reduce ancilla qubit count to one.
- Employs dynamic quantum circuits (DQCs) to replace two-qubit gates in QPE with classically controlled single-qubit gates, reducing error rates.
- Proposes a novel algorithm to compute an optimal scaling factor γ for the matrix A, improving eigenvalue resolution in QPE.
- Uses estimated eigenvalues to construct a controlled rotation circuit with linear depth O(mn) instead of exponential UCR depth.
- Maps high-precision eigenvalue estimates to a reduced bit-width r for efficient control, minimizing qubit and gate count.
- Executes the full Hybrid HHL pipeline end-to-end on the Quantinuum System Model H1-2 trapped-ion quantum computer.
Experimental results
Research questions
- RQ1Can dynamic quantum circuits significantly reduce the resource overhead of eigenvalue estimation in HHL on NISQ devices?
- RQ2How does QCL-QPE compare to standard QPE in terms of fidelity and resource efficiency on real hardware?
- RQ3Can algorithmic matrix scaling improve the accuracy of eigenvalue estimation in QPE for practical quantum linear system solvers?
- RQ4What is the maximum circuit depth achievable for end-to-end HHL execution on current trapped-ion hardware?
- RQ5In what regimes does the DQC-enhanced Hybrid HHL outperform UCR-based inversion in terms of gate count and qubit usage?
Key findings
- The QCL-QPE variant achieved high-fidelity eigenvalue estimation with three-bit precision and higher fidelity than standard QPE for four-bit estimates on real hardware.
- The proposed matrix scaling algorithm enabled more accurate resolution of eigenvalues in the QPE output distribution, improving inversion circuit precision.
- The final HHL circuit achieved a two-qubit gate depth of 254, representing the largest-to-date execution of HHL on real quantum hardware.
- The DQC-enhanced Hybrid HHL reduced the number of controlled rotations and circuit depth compared to the UCR-based approach, resulting in lower error rates.
- The inner product between the quantum portfolio state and the classical solution was higher when using the DQC-based method than with UCR, both in hardware and simulation.
- The method demonstrated end-to-end feasibility of solving a real-world portfolio optimization problem using HHL on a trapped-ion quantum computer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.