Paper 2025/1664

Quantum Synthesis of Large S-Boxes: Heuristic and MILP-Based Transpiled-Depth Optimization

Tarun Yadav, Defence Research and Development Organisation, INDIA
Shweta Singh, Defence Research and Development Organisation, INDIA
Sudha Yadav, Defence Research and Development Organisation, INDIA
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.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
Quantum circuitsTranspiled depthS-boxMILP optimization
Contact author(s)
tarunyadav sag @ gov in
shweta singh2416 @ gov in
sudhayadav sag @ gov in
History
2025-09-17: approved
2025-09-13: received
See all versions
Short URL
https://ia.cr/2025/1664
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1664,
      author = {Tarun Yadav and Shweta Singh and Sudha Yadav},
      title = {Quantum Synthesis of Large S-Boxes: Heuristic and {MILP}-Based Transpiled-Depth Optimization},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1664},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1664}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.