arXiv · 2509.01508
Traq: Estimating the Quantum Cost of Classical Programs
Abstract
Predicting practical speedups offered by future quantum computers has become a major focus of the quantum community. Typically, such predictions involve numerical simulations supported by lengthy manual analyses and are carried out for one specific algorithm at a time. In this work, we present Traq, a principled approach towards estimating the quantum speedup of classical programs fully automatically. It consists of a classical language that includes high-level primitives amenable to quantum speedups, a compilation to low-level quantum programs, and a source-level cost analysis with provable guarantees. Our cost analysis upper bounds the complexity of the resulting quantum program and is sensitive to the input data of the program (in addition to providing worst-case costs). Traq is implemented as a Haskell package with an extensive evaluation.
Explore related subjects
Keep this discovery
Anurudh Peduri, Jam Kabeer Ali Khan, Gilles Barthe, Michael Walter. 2025-09-01. Traq: Estimating the Quantum Cost of Classical Programs. https://arxiv.org/abs/2509.01508
Cite the original work for its findings. Save a collection to share your selection of sources.