HackerPapers

arXiv:2308.05660cond-mat.stat-mech

Thermodynamic Linear Algebra

Maxwell Aifer, Kaelan Donatella, Max Hunter Gordon, Samuel Duffield, Thomas Ahle, Daniel Simpson, Gavin E. Crooks, Patrick J. Coles

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.

arXiv comments
15+22 pages, 6 figures
Journal reference
DOI
Subjects
cond-mat.stat-mechStatistical Mechanics cs.ETEmerging Technologies quant-phQuantum Physics

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from May 2024 to Nov 2025. Found in 1 HN submission from Aug 2023 to Aug 2023. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments2 threads

    • Thermodynamic computing is not invented by these guys. See here for another paper with interesting links to applications and background: https://arxiv.org/abs/2308.05660

      ktpsnsView on HNParent context

    • The main point of this is that natural gradient descent is a second-order method. The main GD update equation is: ∇̃L(θ) = F⁻¹∇L(θ) which requires solving a linear system. For this, you can use the methods from the author's previous paper [Thermodynamic Linear…

      thomasahleView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.