{
  "id": "2023/146",
  "url": "https://opencryptology.org/2023/146",
  "original_url": "https://eprint.iacr.org/2023/146",
  "title": "Optimized Quantum Implementation of AES",
  "authors": [
    "Da Lin",
    "Zejun Xiang",
    "Runqing Xu",
    "Shasha Zhang",
    "Xiangyong Zeng"
  ],
  "affiliations": null,
  "abstract": "This work researches the implementation of the AES family with Pauli-X gates, CNOT gates and Toffoli gates as the underlying quantum logic gate set. First, the properties of quantum circuits are investigated, as well as the influence of Pauli-X gates, CNOT gates and Toffoli gates on the performance of the circuits constructed with those gates. Based on these properties and the observations on the hardware circuits built by Boyar \\emph{et al.} and Zou \\emph{et al.}, it is possible to construct quantum circuits for AES's Substitution-box (S-box) and its inverse (S-box$^{-1}$) by rearranging the classical implementation to three parts. Since the second part is treated as a 4-bit S-box in this paper and can be dealt with by existing tools, a heuristic is proposed to search optimized quantum circuits for the first and the third parts. In addition, considering the number of parallelly executed S-boxes, the trade-offs between the qubit consumption and $T\\cdot M$ values for the round function and key schedule of AES are studied. As a result, quantum circuits of AES-128, AES-192 and AES-256 can be constructed with 269, 333 and 397 qubits, respectively. If more qubits are allowed, quantum circuits that outperform state-of-the-art schemes in the metric of $T\\cdot M$ value for the AES family can be reported, and it needs only 474, 538 and 602 qubits for AES-128, AES-192 and AES-256, respectively.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Optimized Quantum Implementation of AES” by Da Lin, Zejun Xiang, Runqing Xu, Shasha Zhang, Xiangyong Zeng, Cryptology ePrint Archive, Paper 2023/146, https://eprint.iacr.org/2023/146. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-02-08T05:32:44Z",
    "updated": "2023-09-22T12:06:51Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/146.pdf",
    "sha256": "16d810c4049eb79661424cafac2e1f5e1dd2a35c9102a78cc07fe07f8e654702",
    "size": 2698116,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/146/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/146.pdf",
      "size": 2698116,
      "sha256": "16d810c4049eb79661424cafac2e1f5e1dd2a35c9102a78cc07fe07f8e654702",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/146/versions/20230315T191209Z.pdf",
      "captured_at": "2023-03-15T19:12:09Z",
      "label": "copy captured 2023-03-15",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230315191209id_/https://eprint.iacr.org/2023/146.pdf",
      "size": 2756065,
      "sha256": "3afbab1bfd06d85eddc151305ba22af8c0de44b772b556e305227db9af9d9e2e",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260226001736id_/https://eprint.iacr.org/2023/146.pdf",
      "captured_at": "2026-02-26T00:17:36Z",
      "size": 2542905
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/146.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 2698116
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/146,\n      author = {Da Lin and Zejun Xiang and Runqing Xu and Shasha Zhang and Xiangyong Zeng},\n      title = {Optimized Quantum Implementation of AES},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/146},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/146}\n}"
}
