Paper 2026/3026

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

Seungjun Baek
Wonwoo Song
Namil Kim
Anubhab Baksi
Jongsung Kim

We don’t have this PDF yet.

Download it from ePrint ↗ and upload it here (anonymous).

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.

BibTeX
ePrint ↗
@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}
}
Category
Implementation
License
CC BY
Submitted

Report a problem

Comments

Log in or create an account

Privacy