Paper 2026/2191 Original: eprint.iacr.org/2026/2191 ↗

Building Quantum Circuits with Qarton

André Schrottenloher
Abstract

In order to estimate accurately the impact of large-scale computing devices, one requires a precise resource estimate of quantum algorithms for cryptographic problems. As a start, these algorithms can be described as quantum circuits. One then estimates the number of gates, qubits, and circuit depth that they require, as a first step towards physical resource estimates. In order to simplify this task, different quantum programming languages have been used, targeting different circuit sizes and abstraction levels. Quantum cryptanalysis is indeed a domain in which one may consider both medium-scale circuits with fine-grained optimizations (such as optimizations of Shor's algorithm) and very large-scale circuits with well-defined building blocks (such as exhaustive key search on block ciphers using Grover's algorithm). This paper presents Qarton, a python library to represent logical quantum circuits, focused on quantum cryptanalysis. It allows to study very large-scale circuits like Grover searches, to simulate classical or ``almost'' classical circuits such as the arithmetic building blocks of Shor's algorithm, and to analyze trade-offs between qubit and gate count when switching between different implementations of arithmetic operations. Qarton is equipped with a library of around 300 circuits and examples from different areas of quantum symmetric and asymmetric cryptanalysis.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
History
2026-09-23: last updated
2026-09-23: published
Short URL
https://ia.cr/2026/2191
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2026/2191,
      author = {André Schrottenloher},
      title = {Building Quantum Circuits with Qarton},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2191},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2191}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.