Paper 2026/3026

Minimizing Toffoli Gate Counts in In-Place S-Box Implementations

Seungjun Baek, Kookmin University
Wonwoo Song, Kookmin University
Namil Kim, Kookmin University
Anubhab Baksi, Indian Statistical Institute Chennai
Jongsung Kim, Kookmin University
Abstract

In this paper, we study ancilla-free in-place quantum implementations of the Ascon S-box and the 5-bit Keccak $\chi_5$ mapping. We develop a complete synthesis method that treats NOT and CNOT gates as affine operations and uses canonical state representation together with a proven lower bound to prune the search space. Using this method, we settle the previously unresolved minimum Toffoli count for the Ascon S-box at exactly seven, extend the same minimum to Keccak $\chi_5$ via affine equivalence, and establish a minimum Toffoli depth of seven for both functions. We further optimize Clifford+$T$ realizations of these minimum-Toffoli circuits by resynthesizing the decomposed circuits across Toffoli-decomposition boundaries. For both targets, the resulting implementations achieve either 33 $T$ gates with $T$-depth 8 or 29 $T$ gates with $T$-depth 10. To the best of our knowledge, these achieve the lowest reported $T$-depth and $T$-count, respectively, among existing 5-qubit ancilla-free in-place implementations.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Published elsewhere. ICISC 2026
Keywords
Quantum circuit synthesisIn-place circuitToffoli countAsconKeccakS-box
Contact author(s)
hellosj3 @ kookmin ac kr
sww1129 @ kookmin ac kr
handisu @ kookmin ac kr
anubhab @ isichennai res in
jskim @ kookmin ac kr
History
2026-11-27: approved
2026-11-24: received
See all versions
Short URL
https://ia.cr/2026/3026
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/3026,
      author = {Seungjun Baek and Wonwoo Song and Namil Kim and Anubhab Baksi and Jongsung Kim},
      title = {Minimizing Toffoli Gate Counts in In-Place S-Box Implementations},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/3026},
      year = {2026},
      url = {https://eprint.iacr.org/2026/3026}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.