Traq: Estimating the Quantum Cost of Classical Programs

Open Access
Authors
Publication date 01-09-2025
Edition v1
Number of pages 50
Publisher ArXiv
Organisations
  • Faculty of Science (FNWI) - Korteweg-de Vries Institute for Mathematics (KdVI)
Abstract
Predicting practical speedups offered by future quantum computers has become a major focus of the quantum computing community. Typically, these predictions are supported by lengthy manual analyses and numerical simulations and are carried out for one specific application at a time. In this paper, we present Traq, a principled approach towards estimating the quantum speedup of classical programs fully automatically and with provable guarantees. It consists of a classical language that includes high-level primitives amenable to quantum speedups, a cost analysis, and a compilation to low-level quantum programs. Our cost analysis upper bounds the complexity of the resulting quantum program in a fine-grained way: it captures non-asymptotic information and is sensitive to the input of the program (rather than providing worst-case costs). We also provide a proof-of-concept implementation and a case study inspired by AND-OR trees.
Document type Preprint
Note Version v2 (2026) also available on ArXiv
Language English
Published at
https://doi.org/10.48550/arXiv.2509.01508 (Final published version)
Downloads
2509.01508v1 (Final published version)
Permalink to this page
Back