Thermodynamic Linear Algebra
Maxwell Aifer, Kaelan Donatella, Max Hunter Gordon, Samuel Duffield, Thomas Ahle, Daniel Simpson, Gavin E. Crooks, Patrick J. Coles
TL;DR
This work proposes thermodynamic computing hardware that leverages the equilibrium distribution of coupled harmonic oscillators to accelerate core linear-algebra primitives. By mapping problems such as solving linear systems, matrix inversion, Lyapunov equations, and determinant estimation to sampling from Gaussian distributions generated by overdamped or underdamped Langevin dynamics, the authors derive asymptotic speedups that scale linearly with dimension $d$ under plausible assumptions. They provide explicit algorithmic protocols, convergence analyses, and a timing model that compares favorably to digital methods like conjugate gradient and Cholesky for large-scale, ill-conditioned dense matrices, while highlighting practical energy-time tradeoffs and hardware considerations. The work also outlines a pathway to experimental demonstrations and broader implications for thermodynamic computing, including non-linear extensions and multi-application hardware reuse. Overall, the paper establishes a concrete mathematical foundation and numerical benchmarks for using thermodynamic hardware to accelerate linear algebra in near-term devices.
Abstract
Linear algebraic primitives are at the core of many modern algorithms in engineering, science, and machine learning. Hence, accelerating these primitives with novel computing hardware would have tremendous economic impact. Quantum computing has been proposed for this purpose, although the resource requirements are far beyond current technological capabilities, so this approach remains long-term in timescale. Here we consider an alternative physics-based computing paradigm based on classical thermodynamics, to provide a near-term approach to accelerating linear algebra. At first sight, thermodynamics and linear algebra seem to be unrelated fields. In this work, we connect solving linear algebra problems to sampling from the thermodynamic equilibrium distribution of a system of coupled harmonic oscillators. We present simple thermodynamic algorithms for (1) solving linear systems of equations, (2) computing matrix inverses, (3) computing matrix determinants, and (4) solving Lyapunov equations. Under reasonable assumptions, we rigorously establish asymptotic speedups for our algorithms, relative to digital methods, that scale linearly in matrix dimension. Our algorithms exploit thermodynamic principles like ergodicity, entropy, and equilibration, highlighting the deep connection between these two seemingly distinct fields, and opening up algebraic applications for thermodynamic computing hardware.
