{
  "id": "2026/2191",
  "url": "https://opencryptology.org/2026/2191",
  "original_url": "https://eprint.iacr.org/2026/2191",
  "title": "Building Quantum Circuits with Qarton",
  "authors": [
    "André Schrottenloher"
  ],
  "affiliations": null,
  "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.\n\nIn 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).\n\nThis 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.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Building Quantum Circuits with Qarton” by André Schrottenloher, Cryptology ePrint Archive, Paper 2026/2191, https://eprint.iacr.org/2026/2191. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-09-23T20:35:10Z",
    "updated": "2026-09-23T20:35:10Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2191.pdf",
    "sha256": "d6d88b2ed88ea01c0031a9eb2bc33c9baa37275f734ae74e08f89ccdfea0744d",
    "size": 637838,
    "source": "wayback",
    "source_date": "2026-10-02T08:25:44Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2191/versions/20261002T082544Z.pdf",
      "captured_at": "2026-10-02T08:25:44Z",
      "label": "copy captured 2026-10-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20261002082544id_/https://eprint.iacr.org/2026/2191.pdf",
      "size": 637838,
      "sha256": "d6d88b2ed88ea01c0031a9eb2bc33c9baa37275f734ae74e08f89ccdfea0744d",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002082544id_/https://eprint.iacr.org/2026/2191.pdf",
      "captured_at": "2026-10-02T08:25:44Z",
      "size": 624955
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/2191,\n      author = {André Schrottenloher},\n      title = {Building Quantum Circuits with Qarton},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2191},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2191}\n}"
}
