NikoUArxive Logo NikoUArxive.com

Designing a New Ternary Arithmetic Unit with Overflow Detection Using Reversible Ternary

Author: Mohammad Mehdi Panahi
ORCID: 0000-0002-4730-8411
Affiliation: Department of Computer Engineering, VaP.C., Islamic Azad University, Varamin, Iran
Email: [email protected]
Received: Feb 2026 | Received in revised: March 2026 | Published: Jun 2026
Indexed in Crossref ✔, Google Scholar ✔, and NikoUArxive ✔

Journal: International Journal of Fundamental Physical Sciences (IJFPS)

Volume/Issue: 16(2), 2026 | Pages: 78-91

ISSN: 2231-8186 | DOI: https://doi.org/10.14331/ijfps.2026.330185

Published article: View article

Abstract

Reversible ternary circuit design has attracted considerable attention because ternary logic can reduce interconnection complexity relative to binary logic and is compatible with emerging quantum-computing and nanotechnology platforms. This study proposes a reversible 2-trit ternary parallel adder with a quantum cost of 23, one constant input, and three garbage outputs. Compared with previously reported counterparts, the proposed adder requires lower quantum cost and fewer constant inputs and garbage outputs. Based on this adder, a reversible arithmetic unit is developed for two 2-trit unsigned ternary numbers. The unit performs six arithmetic operations: A+B, A−B, A+1, A−1, A+B+1, and A−B−1. The unsigned inputs and outputs are represented within the decimal range from 0 to 8. A reversible arithmetic unit for two signed 2-trit ternary numbers is also proposed. This circuit has a quantum cost of 32 and requires only one constant input. It performs the same six arithmetic operations using the 3’s-complement representation over the range from −4 to +4. In addition, a new reversible overflow detection module is introduced for signed addition and subtraction. By integrating this module with the proposed signed arithmetic unit, a complete reversible ternary arithmetic circuit with overflow-detection capability is obtained. All proposed circuits are constructed using 1-qutrit shift gates and 2-qutrit Muthukrishnan–Stroud gates, which are primitive ternary gates suitable for implementation in ion-trap quantum-computing technology.

Keywords

Quantum computing; reversible ternary logic; ternary parallel adder; reversible arithmetic unit; overflow detection


License: CC BY-NC 4.0 | https://creativecommons.org/licenses/by-nc/4.0/

Article Highlights: Reversible 2-trit ternary parallel adder; unsigned and signed ternary arithmetic units; six arithmetic operations; low quantum cost; and a new reversible overflow-detection module.