about
Quantum Circuit Optimization with AlphaTensor (arxiv.org)
1 point by lairv on Apr 9, 2024 | hide | past | pdf | discuss on HN

In plain words: It treats cutting costly T gates as a puzzle about breaking apart a grid of numbers; a trial-and-error learning system searches circuit rewrites, using quantum-specific shortcuts. It beat today's best optimizers on arithmetic tasks, even without those shortcuts, and rediscovered a multiplication trick like Karatsuba's.

Abstract

A key challenge in realizing fault-tolerant quantum computers is circuit optimization. Focusing on the most expensive gates in fault-tolerant quantum computation (namely, the T gates), we address the problem of T-count optimization, i.e., minimizing the number of T gates that are needed to implement a given circuit. To achieve this, we develop AlphaTensor-Quantum, a method based on deep reinforcement learning that exploits the relationship between optimizing T-count and tensor decomposition. Unlike existing methods for T-count optimization, AlphaTensor-Quantum can incorporate domain-specific knowledge about quantum computation and leverage gadgets, which significantly reduces the T-count of the optimized circuits. AlphaTensor-Quantum outperforms the existing methods for T-count optimization on a set of arithmetic benchmarks (even when compared without making use of gadgets). Remarkably, it discovers an efficient algorithm akin to Karatsuba's method for multiplication in finite fields. AlphaTensor-Quantum also finds the best human-designed solutions for relevant arithmetic computations used in Shor's algorithm and for quantum chemistry simulation, thus demonstrating it can save hundreds of hours of research by optimizing relevant quantum circuits in a fully automated way.

Francisco J. R. Ruiz, Tuomas Laakkonen, Johannes Bausch, Matej Balog, Mohammadamin Barekatain, Francisco J. H. Heras, Alexander Novikov, Nathan Fitzpatrick, Bernardino Romera-Paredes, John van de Wetering, Alhussein Fawzi, Konstantinos Meichanetzidis, et al.
arXiv:2402.14396 · quant-ph, cs.LG · submitted Feb 22, 2024 · updated Mar 5, 2024
abstract · pdf · 25 pages main paper + 19 pages appendix

add comment on HN