{
  "id": "2025/1494",
  "url": "https://opencryptology.org/2025/1494",
  "original_url": "https://eprint.iacr.org/2025/1494",
  "title": "Quantum Circuit Synthesis for AES with Low DW-cost",
  "authors": [
    "Haoyu Liao",
    "Qingbin Luo"
  ],
  "affiliations": null,
  "abstract": "Symmetric cryptography is confronting threats posed by quantum computing, including Grover's search algorithm and Simon's algorithm. In the fault-tolerant quantum computation, the limited qubit count, connectivity constraints, and error rates of quantum hardware impose stringent requirements on the implementation of cryptographic quantum circuits. Constructing low-resource quantum circuit models forms the foundation for evaluating algorithmic resistance to quantum threats. At CRYPTO 2019, Jaques et al. justified the adoption of depth-times-width cost (DW-cost) as a metric for quantum circuits by incorporating advancements in quantum computation and error correction. In this work, we address the fundamental limitations in in-place implementations of AES quantum circuits by proposing a set of in-place synthesis methods centered on DW-cost optimization. First, we prove that within the composite field arithmetic framework, intermediate circuit states can be utilized to uncompute S-box input states, and introduce a novel design pathway and circuit structure for in-place S-box quantum circuits. Second, we establish the necessary conditions for maximizing parallelization of Toffoli gates under minimal-width constraints in binary field multiplication. Through co-design and optimization of multiple nonlinear components, we construct a compact in-place S-box with a DW-cost of merely 276. Finally, building on this, we achieve quantum circuit implementations for AES-128, AES-192, and AES-256 via co-optimization of key expansion and round functions, reducing their DW-cost values to 65,280, 87,552, and 112,896 respectively. These results indicate a reduction of at least 46%, 45%, and 45% compared to existing state-of-the-art solutions. This study establishes new technical benchmarks for low-resource fault-tolerant implementations of symmetric cryptography in the post-quantum era. (This is a revised version containing Clifford+T resource estimates for both AES-128 Grover oracle and encryption oracle. Key revisions are highlighted in red.)",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Quantum Circuit Synthesis for AES with Low DW-cost” by Haoyu Liao, Qingbin Luo, Cryptology ePrint Archive, Paper 2025/1494, https://eprint.iacr.org/2025/1494. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-08-19T13:36:44Z",
    "updated": "2025-11-27T02:47:17Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1494.pdf",
    "sha256": "744c4f2c73716d0f6d8aabf8781003dbdb5f6e01944029ef0a638271f962e4e9",
    "size": 772345,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1494/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1494.pdf",
      "size": 772345,
      "sha256": "744c4f2c73716d0f6d8aabf8781003dbdb5f6e01944029ef0a638271f962e4e9",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/1494/versions/20250831T022058Z.pdf",
      "captured_at": "2025-08-31T02:20:58Z",
      "label": "copy captured 2025-08-31",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250831022058id_/https://eprint.iacr.org/2025/1494.pdf",
      "size": 752855,
      "sha256": "c72b0c6d06f445ec943a0dece6ca39ddb5774097bd3116756aaa46366b62cc35",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260821192553id_/https://eprint.iacr.org/2025/1494.pdf",
      "captured_at": "2026-08-21T19:25:53Z",
      "size": 764175
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1494.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 772345
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1494,\n      author = {Haoyu Liao and Qingbin Luo},\n      title = {Quantum Circuit Synthesis for AES with Low DW-cost},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1494},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1494}\n}"
}
