{
  "id": "2025/1664",
  "url": "https://opencryptology.org/2025/1664",
  "original_url": "https://eprint.iacr.org/2025/1664",
  "title": "Quantum Synthesis of Large S-Boxes: Heuristic and MILP-Based Transpiled-Depth Optimization",
  "authors": [
    "Tarun Yadav",
    "Shweta Singh",
    "Sudha Yadav"
  ],
  "affiliations": null,
  "abstract": "Quantum cryptanalysis of block ciphers with Grover’s search requires synthesis of round function, where the non-linear S-boxes dominate the circuit cost. Efficient quantum implementations of these S-boxes are a bottleneck for cryptanalysis. In this work, we address this problem and present new generic strategy for synthesis of quantum circuit for large S-boxes that reduces the NISQ-era transpiled depth  after decomposition into the hardware-oriented universal basis gate set u+cx. We introduce two-phase MILP-based, ancilla-aware synthesis framework for large S-boxes. Phase 1 determines which monomials will be synthesised globally, and how they are reused across outputs. This reduces redundancy and avoids high-degree terms that would lead to deep ladders. Phase 2 arranges the selected monomials into parallel layers. Here the solver explicitly accounts for ancilla usage, balancing the trade-off between fewer layers (smaller depth) and larger ancilla. MILP based synthesis show decisive, multi-fold reductions in transpiled depth in universal basis gate set u+cx. For SKINNY and ZUC S0 S-boxes, our synthesis reduces transpiled depth by factors of 18 and 9, respectively, with ancilla usage raised only to 10 and 13 qubits. For higher-degree S-boxes such as AES, SM4, and ZUC S1, we achieve 5 times reduction in transpiled depth by trading additional ancillas, increasing the budget from 5 to 22. To our knowledge, this is the first demonstration of ancilla-aware, globally optimised synthesis of 8-bit cryptographic S-boxes. By aligning primitive synthesis with transpiled cost, our method establishes a new baseline for depth-optimised resource estimation in the quantum cryptanalysis of symmetric primitives.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Quantum Synthesis of Large S-Boxes: Heuristic and MILP-Based Transpiled-Depth Optimization” by Tarun Yadav, Shweta Singh, Sudha Yadav, Cryptology ePrint Archive, Paper 2025/1664, https://eprint.iacr.org/2025/1664. 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-09-13T12:23:15Z",
    "updated": "2025-09-13T12:23:15Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1664.pdf",
    "sha256": "c74ae450562d6adbb03e2242c0230d1f48ee41bd91cced6ba577a6c28d12fba4",
    "size": 332686,
    "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/1664/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/1664.pdf",
      "size": 332686,
      "sha256": "c74ae450562d6adbb03e2242c0230d1f48ee41bd91cced6ba577a6c28d12fba4",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1664.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 332686
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260224045613id_/https://eprint.iacr.org/2025/1664.pdf",
      "captured_at": "2026-02-24T04:56:13Z",
      "size": 315371
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1664,\n      author = {Tarun Yadav and Shweta Singh and Sudha Yadav},\n      title = {Quantum Synthesis of Large S-Boxes: Heuristic and MILP-Based Transpiled-Depth Optimization},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1664},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1664}\n}"
}
