i-QLS: Quantum-supported Algorithm for Least Squares Optimization in Non-Linear Regression

Supreeth Mysore Venkatesh, Antonio Macaluso, Diego Arenas, Matthias Klusch, Andreas DengelICCS 2025

Introduction

Least squares (LS) optimization is a fundamental pillar of modern machine learning and statistical modeling. However, as datasets grow in complexity and dimensionality, classical solvers face significant computational bottlenecks. Quantum annealing (QA) has emerged as a potential alternative, mapping optimization problems to Quadratic Unconstrained Binary Optimization (QUBO) forms. Yet, a primary hurdle remains: the "qubit tax." In traditional quantum regression, achieving higher decimal precision requires an exponential increase in the number of qubits, making high-precision tasks impractical on current near-term hardware.

This paper introduces i-QLS (Iterative Quantum-supported Least Squares), an algorithm designed to bypass these hardware limitations. By employing an iterative "zoom-in" strategy, i-QLS achieves high-precision results and handles non-linear data distributions using a constant, modest number of qubits.

The i-QLS Framework

The core innovation of i-QLS is the shift from a single-shot high-precision calculation to a multi-step refinement process. This transforms the precision requirement from a hardware constraint (qubits) into a temporal one (iterations).

1. Discretization and QUBO Mapping

Instead of representing weights with high-bit depth immediately, i-QLS represents each weight in the regression model using a small, fixed number of bits ($m$). The least squares cost function is then mathematically transformed into a QUBO formulation, which is the native language of quantum annealers like those developed by D-Wave.

2. Iterative Refinement (The "Zoom-in")

The algorithm operates in cycles. After the quantum annealer identifies an initial coarse solution, i-QLS centers a new, significantly narrower search range around that estimate. In the subsequent iteration, the same number of qubits is used to explore this smaller region, effectively "zooming in" on the optimal value. The authors demonstrate that if the problem is well-posed, the error converges to zero exponentially relative to the number of iterations.

3. Extending to Non-Linearity via Splines

While quantum annealing research often focuses on linear models, real-world data is rarely linear. i-QLS addresses this by integrating spline-based modeling. By utilizing linear splines—piecewise functions that approximate curves through connected segments—the algorithm can optimize coefficients for complex non-linear functions. This allows the quantum hardware to capture the "bends" and "kinks" in data distributions that traditional linear quantum models would miss.

Experimental Evaluation

The researchers validated i-QLS across three distinct scenarios to test precision, versatility, and scalability:

  • Precision and Convergence: Using synthetic linear data (100 points, two features), the team tested the iterative logic. Remarkably, even with only 2 bits of precision per weight, the model reached a Mean Squared Error (MSE) of $10^{-9}$ within 9 iterations. With 6-bit precision, the MSE approached near-zero almost immediately.
  • Non-Linear Benchmarks: The algorithm was tested against five standard non-linear functions: Sine, Sigmoid, Tanh, ReLU, and ELU. The spline-based i-QLS successfully approximated these functions, with the final fits closely matching the ground-truth data points.
  • High-Dimensional Scalability: To test the limits of current hardware, the researchers executed problems with up to 175 features on the D-Wave Advantage system. i-QLS successfully scaled to these dimensions, outperforming prior "single-shot" quantum methods that would have required thousands of additional qubits to achieve comparable accuracy.

Discussion and Limitations

While i-QLS represents a significant step forward for quantum-assisted machine learning, several challenges remain. Currently, the total execution time is hindered by remote access latency—the time spent queuing and transmitting data to D-Wave’s servers. For real-time applications, local hardware integration would be necessary.

Additionally, there is a risk of "suboptimal jumps." In highly noisy environments, a single erroneous iteration could cause the algorithm to "zoom in" on the wrong portion of the search space. While the authors observed that the MSE typically recovers in later iterations, this remains a factor for low-bit configurations. Future iterations of the algorithm may explore adaptive bit allocation, dynamically adjusting the number of bits per iteration to optimize the balance between speed and hardware resources.

Conclusion

i-QLS provides a viable path for performing high-precision regression on near-term quantum hardware. By leveraging an iterative refinement process and spline-based approximations, it overcomes the qubit limitations that have previously restricted quantum annealing to simple, low-precision linear problems. This "anytime algorithm" approach allows users to trade computation time for precision, making quantum-supported optimization a practical tool for complex, non-linear real-world datasets.

Summary updated

BibTeX
@inproceedings{venkatesh2025i,
  author = {Supreeth Mysore Venkatesh and Antonio Macaluso and Diego Arenas and Matthias Klusch and Andreas Dengel},
  title = {{i-QLS: Quantum-supported Algorithm for Least Squares Optimization in Non-Linear Regression}},
  booktitle = {ICCS},
  year = {2025},
}
Figure