Traq: Estimating the Quantum Cost of Classical Programs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Peduri, Anurudh, Khan, Jam Kabeer Ali, Barthe, Gilles, Walter, Michael
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908929164836864
author Peduri, Anurudh
Khan, Jam Kabeer Ali
Barthe, Gilles
Walter, Michael
author_facet Peduri, Anurudh
Khan, Jam Kabeer Ali
Barthe, Gilles
Walter, Michael
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2509_01508
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Traq: Estimating the Quantum Cost of Classical Programs
Peduri, Anurudh
Khan, Jam Kabeer Ali
Barthe, Gilles
Walter, Michael
Quantum Physics
Logic in Computer Science
Programming Languages
Software Engineering
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.
title Traq: Estimating the Quantum Cost of Classical Programs
topic Quantum Physics
Logic in Computer Science
Programming Languages
Software Engineering
url https://arxiv.org/abs/2509.01508