Paper 2026/3026
Minimizing Toffoli Gate Counts in In-Place S-Box Implementations
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
-
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}
}