Fact-checked by Grok 2 weeks ago

Ternary computer

A computer is a system that operates using ternary logic, employing three distinct states—typically represented as -1, 0, and +1 in —to encode and manipulate , as opposed to the two states (0 and 1) of logic in conventional computers. This base-3 allows each ternary digit, or "," to represent log₂(3) ≈ 1.585 bits of , enabling denser and potentially more efficient arithmetic operations compared to systems. The concept of ternary computing traces its roots to early theoretical work on multi-valued logics, but the first practical implementation emerged in the Soviet Union with the Setun computer, designed by Nikolay Brusentsov and his team at Moscow State University and completed in December 1958. This vacuum-tube-based machine used balanced ternary arithmetic, featured 18 trits per word for fixed-point operations, and was produced in approximately 50 units by 1961 at the Kazan Mathematical Machines plant, marking it as the world's first and, to date, most deployed ternary computer. A successor, Setun-70, was developed in 1970 using integrated circuits, though production was limited due to the dominance of binary standards in computing. Western interest in ternary systems grew in the 1960s and 1970s, leading to experimental emulations like the TERNAC system in the United States, but no large-scale adoption occurred owing to compatibility challenges with binary peripherals and infrastructure. Ternary computers provide notable advantages in and numerical , such as the to signed integers without a dedicated —negative values are simply represented by the -1 state—simplifying arithmetic and reducing round-off errors in computations. also minimizes the need for complex circuitry in adders and multipliers, potentially lowering interconnection counts and power consumption relative to equivalent designs. These benefits have spurred ongoing research into ternary logic for , including systems like the Ternary Optical Computer (), which leverages parallelism for high-speed processing, and hybrid binary-ternary architectures aimed at enhancing cybersecurity through increased . Recent patents, such as Huawei's 2023 filing for a 7 nm ternary logic chip (published 2025), signal growing industry interest in practical ternary implementations for and energy-efficient computing. Despite these potentials, practical challenges in device fabrication and software compatibility have confined ternary computing largely to niche and experimental applications.

Fundamentals

Definition and Principles

A ternary computer is a system that utilizes , employing three distinct states—referred to as trits—instead of the two states (bits) of systems for , storage, and processing. This base-3 approach extends traditional digital computation by incorporating a third , enabling operations on multi-valued signals rather than strictly true/false dichotomies. The operational principles of ternary computers rely on three-valued logic gates that process trits to execute computations. For instance, a ternary AND gate may output the minimum value of its inputs, an OR gate the maximum, and a NOT gate the complement of the input (such as mapping 0 to 2, 1 to 1, and 2 to 0 in certain formulations), forming the basis for complex logical expressions. Arithmetic operations like and follow base-3 rules, where digits range across the three states, with carry mechanisms adapted accordingly—e.g., yields 1 with a carry of 1 in the next position. Ternary computers commonly use either balanced or unbalanced systems to encode these values. A primary advantage of ternary computers is their higher information density, as each trit encodes \log_2 3 \approx 1.58 bits of information compared to 1 bit per binary digit, allowing equivalent data volumes to be represented using approximately 63% of the number of units (or about 37% fewer units) required in a binary system. The information capacity C for n trits is thus C = n \cdot \log_2 3 bits, derived from the entropy of a uniform ternary source in Shannon's information theory, which measures the average uncertainty per symbol. This density can reduce hardware complexity in operations like addressing or arithmetic by minimizing the number of elements needed for the same functionality. Furthermore, the intermediate state enhances error detection efficiency, as it can signal faults or invalid conditions without additional circuitry, improving overall system reliability.

Logic States

In ternary logic, systems utilize three distinct states to represent , contrasting with the two states of binary logic. Unbalanced ternary logic typically employs states denoted as 0 (low), 1 (mid), and 2 (high), while uses -1 (negative), 0 (zero), and +1 (positive), enabling symmetric representations that facilitate certain computational operations. In electronic implementations, these states are realized through voltage levels. For unbalanced ternary, common voltage assignments include 0 V for state 0, VDD/2 (e.g., 0.9 V) for state 1, and VDD (e.g., 1.8 V) for state 2 in a 1.8 V system. Balanced ternary often maps states to -VDD/2 (e.g., -0.9 V for -1), 0 V for 0, and +VDD/2 (e.g., +0.9 V for +1), though tunable ranges via gate voltages can adjust intermediate states for reconfigurable devices. Ternary logic states extend beyond electrical voltage-based realizations to other physical modalities. Electrical approaches rely on multi- transistors to differentiate states, such as nanoribbon FETs with varying voltages for precise level separation. Optical implementations use intensity levels or states, where, for instance, no , low intensity, and high intensity correspond to the three logic values, or horizontal/vertical with absence for ternary encoding. In quantum contexts, ternary states analogize to qutrit superpositions, where a qubit-like occupies basis states |0⟩, |1⟩, and |2⟩ in superposition, offering denser encoding than qubits. Hardware realization of ternary logic faces significant challenges, particularly in maintaining for the intermediate state, which is more prone to degradation from and reflections compared to extremes. Noise susceptibility is heightened due to narrower voltage margins between states, potentially leading to misinterpretation of the mid-level; designs often mitigate this with noise-tolerant FETs or multi-threshold to enhance margins. Power consumption can be lower overall in ternary systems owing to reduced interconnect complexity, but static leakage in intermediate states may increase it relative to unless optimized with vertically integrated structures. Ternary flip-flops and cells store these three s using specialized circuits, such as edge-triggered flip-flap-flops that trits via master-slave configurations of inverters, or COS/MOS-based sequential elements that retain s with operators. These components enable stable storage, though they require careful design to avoid ambiguity from .

Ternary Number Systems

Balanced Ternary

Balanced ternary is a ternary numeral system that employs three digits: -1 (often denoted as T or ¯1), 0, and +1. This symmetric representation allows for the encoding of both positive and negative integers without requiring a separate sign bit, as the digits inherently incorporate negative values. The value of a balanced ternary number is given by the formula \sum_{i=0}^{n} d_i \cdot 3^i where each digit d_i \in \{-1, 0, 1\}. Arithmetic operations in balanced ternary are performed digit by digit, with specific rules for handling carries to maintain the digit constraints. For addition, the single-digit sum (without incoming carry) follows this table, where rows and columns represent the addends (using ¯1 for T):
+¯10
¯1¯10
0¯10
0¯1+
Here, 1¯ indicates a sum of with carry ¯1 (T), and ¯1+ indicates a sum of ¯1 (T) with carry ; other entries produce no carry. For example, adding + yields ¯1 (T) with a carry of , while T + T yields with a carry of T (¯1). Carries propagate to the next higher digit, and an incoming carry is incorporated similarly. Multiplication uses a simpler table with no carries, as products stay within {-1, 0, }:
ׯ101
¯110¯1
0000
1¯101
Subtraction is achieved by negating the subtrahend (swapping 1 and T digits, leaving 0 unchanged) and then performing addition. To convert a positive integer (such as one represented in binary) to balanced ternary, first obtain its decimal value if needed, then repeatedly divide by 3 while adjusting remainders to fit {-1, 0, 1}: if the remainder is 2, record -1 (T) and add 1 to the quotient for the next division; otherwise, record the remainder (0 or 1) directly. For example, converting 5 (binary 101, decimal 5) proceeds as follows: 5 ÷ 3 = 1 remainder 2 → record T, quotient 1 + 1 = 2; 2 ÷ 3 = 0 remainder 2 → record T, quotient 0 + 1 = 1; 1 ÷ 3 = 0 remainder 1 → record 1. Reading remainders from last to first gives 1 T T, equivalent to $1 \cdot 3^2 + (-1) \cdot 3^1 + (-1) \cdot 3^0 = 9 - 3 - 1 = 5. Negative numbers are obtained by negating the balanced ternary representation of the absolute value. The advantages of balanced ternary include its efficiency for signed arithmetic due to inherent , eliminating the need for a dedicated and simplifying operations like and . This also reduces the complexity of implementations by minimizing switching activity compared to systems, and it has been utilized in early mechanical calculators for compact representation. Unlike unbalanced ternary, which restricts digits to non-negative values (0, 1, 2) and requires separate handling for signs, balanced ternary integrates signed values seamlessly.

Unbalanced Ternary

Unbalanced ternary, also known as standard , is a positional numeral system with base 3 that uses the digits 0, 1, and 2 to represent non-negative integers. Unlike balanced ternary, which incorporates signed digits for inherent symmetry, unbalanced ternary requires a separate sign indicator, such as a leading sign bit or 3's complement representation, to denote negative numbers, much like traditional systems. The numerical value of an unbalanced ternary number d_n d_{n-1} \dots d_1 d_0 is calculated using the \sum_{i=0}^{n} d_i \cdot 3^i, where each d_i \in \{0, 1, 2\}. This system provides a compact representation for positive values, with each (ternary ) encoding approximately 1.58 bits of information, offering higher density than . To convert a positive decimal number to unbalanced ternary, divide the number by 3 repeatedly and record the remainders, which become the digits from least to most significant. For example, converting decimal 5: 5 ÷ 3 = 1 remainder 2; 1 ÷ 3 = 0 remainder 1, resulting in 12_3, since $1 \cdot 3^1 + 2 \cdot 3^0 = 5. Arithmetic in unbalanced ternary follows base-3 rules. Addition proceeds digit by digit from right to left, summing values plus any carry (where a sum of 3 or more generates a carry of 1 and reduces the digit by 3); for instance, 1_3 + 2_3 = 10_3, as 1 + 2 = 3, which is written as 0 with a carry of 1. A fuller example is 12_3 (5_{10}) + 20_3 (6_{10}): units place 2 + 0 = 2 (no carry); threes place 1 + 2 = 3 = 10_3 (write 0, carry 1); adding the carry to the next place yields 102_3 (11_{10}). Multiplication relies on a digit-wise table for the values 0 through 2, with results expressed in base 3:
×012
0000
1012
20211_3
Here, 2 × 2 = 4_{10} = 11_3 (since $1 \cdot 3^1 + 1 \cdot 3^0 = 4). Larger multiplications shift and add partial products as in any positional system. Unbalanced ternary simplifies handling of positive data due to its familiarity with non-negative digits, but it is less efficient for signed mathematics, as sign management adds overhead and lacks the symmetry of balanced ternary. This makes it suitable for unsigned applications where density matters, though it demands more logic resources than binary for equivalent precision.

Historical Development

Early Concepts

The earliest inspirations for multi-valued computational systems, including ternary approaches, can be drawn from ancient philosophical texts like the , which employed trigrams composed of three binary lines to represent complex states of change, influencing later considerations of numerical bases, particularly . Although the itself operates on principles of , its combinatorial structure hinted at the potential for expanded symbolic representations in logical systems. Similarly, some early counting devices, such as the Roman hand abacus from around the 1st century BCE, featured columns capable of representing three distinct positions or symbols in their lowest denomination, allowing for more nuanced manipulations than strict binary bead placements, though these were primarily in nature. In the , explored various number systems, including , as part of his broader interest in universal computation and arithmetic efficiency. While primarily advocating for as the most fundamental due to its alignment with creation from nothing (0 and 1), Leibniz noted in a 1683 manuscript that ternary arithmetic might be particularly suited for planar representations, stating, "I think the binary is best absolutely, the ternary in planes, and the octonary in solids." This observation highlighted ternary's potential for compact encoding in two-dimensional contexts compared to binary, laying groundwork for later efficiency discussions in non-binary logics. By the , practical proposals emerged with Thomas Fowler's ternary mechanical calculating machine, a wooden device constructed in that used digits (-1, 0, +1) represented by physical rods to perform arithmetic operations without the need for a separate , demonstrating early feasibility for ternary computation in mechanical form. Fowler's design emphasized the system's economy in hardware, as each digit could convey more information than equivalents. Theoretical advancements solidified in the early 20th century with Emil Post's 1921 paper, "Introduction to a General Theory of Elementary Propositions," which formalized multi-valued logics, including ternary systems with three truth values, extending beyond classical bivalence to handle indeterminate or intermediate states in . Post's work established the completeness and decidability of such logics for finite values, providing a rigorous foundation for ternary applications in computation and reasoning. These early ideas influenced the development of , offering advantages in signed representations and error detection through inherent redundancy in multi-valued states.

Mid-20th Century Implementations

The computer, developed in 1958 at under the leadership of Nikolay Brusentsov and Sergei Sobolev, represented the first full-scale ternary computer implementation. Built on principles, it employed a 18-trit word length for and used ferrite cores to store individual trits in three stable magnetic states. The system featured a sequential arithmetic unit with a dedicated fast multiplier, achieving performance of approximately 4,800 operations per second for basic additions and subtractions, and supported 29 instructions. Production of the began serialization in 1961 at the Mathematical Engineering , with around 50 units manufactured before operations ceased in 1965. These machines were deployed primarily in Soviet institutions for tasks like statistical and calculations, demonstrating reliable operation despite the novelty of ternary . The design's efficiency stemmed from requiring roughly 30% fewer logic elements than equivalent systems for the same computational capacity, though compatibility with emerging standards posed integration challenges. Beyond the , ternary hardware efforts in the mid-20th century were more exploratory. In the during the 1950s, researchers investigated magnetic logic elements, including multi-aperture ferrite cores capable of three stable states, often funded through military projects exploring alternatives to for and systems. Proposals, such as an early variant for the computer at , advanced theoretical designs but did not progress to production due to the rapid standardization of vacuum-tube and technologies. The discontinuation of these mid-20th century ternary projects largely resulted from economic and infrastructural factors favoring binary dominance. Binary components became cheaper and more readily available through , while ternary systems required specialized manufacturing and software ecosystems that struggled against established binary tools and international standards. For Setun specifically, factory decisions to prioritize binary equivalents—despite comparable performance—halted amid declining orders and shifts, limiting the technology's to under 100 units total across implementations.

Late 20th Century and Beyond

In the , renewed academic interest in computing emerged amid explorations of multi-valued logic to enhance VLSI efficiency and reduce power consumption compared to systems. A key project was the QTC-1, a prototype computer developed at Queen's University in by H. T. Mouftah, A. N. C. Heung, and L. M. C. Wong in 1984. This system utilized standard technology to implement arithmetic and logic functions, including a ALU capable of operations like and literal functions, demonstrating practical viability for integrated circuits despite challenges in voltage level management. The saw continued theoretical and experimental work on logic within multi-valued logic (MVL) frameworks, driven by potential advantages in information density and reduced interconnect complexity for future computing paradigms. Although architectures dominated due to established manufacturing standards and ecosystem maturity, researchers highlighted 's promise for applications requiring higher operations, such as and optical systems. This period bridged early hardware experiments to software-based explorations, preserving ternary concepts through simulations on platforms. Entering the early 2000s, software emulators facilitated broader study of ternary architectures without dedicated hardware, exemplified by projects like the Tunguska ternary initiated in 2008, which emulated processing with performance akin to 1980s binary systems. Concurrently, theoretical advancements advanced ternary concepts toward ; in 2003, Y. Jin and colleagues formalized the principles of a ternary (TOC), leveraging polarized light states (-1, 0, +1) for parallel matrix operations and proposing fiber-optic implementations for high-speed, low-power computation. These efforts underscored growing recognition of multi-valued logic's efficiency gains in , setting the stage for 21st-century hardware innovations.

Implementations

Hardware Designs

Hardware designs for ternary computers have historically relied on technologies capable of representing three distinct states, such as magnetic cores that exploit multiple levels. The computer, developed in 1958 at , employed miniature ferrite cores as core memory elements, where each ternary digit (trit) was stored using a pair of cores wired in tandem to achieve three stable magnetic states corresponding to the values -1, 0, and +1 in . These cores functioned as controlled current transformers, enabling efficient ternary threshold logic with reduced component count compared to equivalents. Logic implementation in early ternary systems often adapted diode-based circuits, akin to resistor-transistor logic but modified for three voltage levels. In the Setun, semiconductor diodes combined with the ferrite cores formed the basis for ternary gates and arithmetic operations, achieving higher operational speeds and reliability while lowering power requirements by minimizing the number of elements needed for computation. This diode-core approach avoided the low reliability of vacuum tubes prevalent at the time and compensated for limited access to transistors, allowing the machine to perform fixed-point arithmetic on 18-trit words. Key design elements included specialized arithmetic units, such as adders integrated into the . The Setun's arithmetic unit utilized magnetic circuitry for and , where a full processed three-input trits to produce sum and carry outputs in , enabling a fast multiplier that operated at speeds comparable to binary devices despite its sequential architecture. units featured RAM implemented with ferrite cores, providing a small fast of 81 words (each 18 trits long), organized into three pages, backed by a magnetic for larger , which supported efficient page swapping without complex addressing hardware. A successor, the Setun-70, developed in 1970, advanced hardware using integrated circuits for logic elements while retaining arithmetic. It featured 128 to 1024 words of core memory (18 trits each), a two-stack , and operational speeds of approximately 100,000 , with limited production of around 100 units before discontinuation in 1974 due to the Soviet shift toward standards. Significant challenges in these designs arose from interfacing ternary hardware with dominant binary systems, necessitating dedicated converters to map trits to binary-coded ternary representations for input/output compatibility. Additionally, in the vacuum tube and early discrete component eras, trade-offs between power efficiency and speed were pronounced; while ternary logic reduced overall power draw through fewer components, the magnetic cores introduced latency in state transitions compared to binary flips, limiting clock rates to levels typical of core memory technology in the late 1950s. These factors contributed to scalability issues, as production was constrained to small runs of about 50 units between 1959 and 1965 due to technological and infrastructural limitations.

Software and Emulations

Software-based approaches to ternary computing provide accessible means for researchers, educators, and developers to explore logic and arithmetic without the need for specialized . One early example is the Ternac emulator, developed in 1973 as a FORTRAN-based simulation of a ternary computer running on the binary Burroughs B1700 system, which allowed evaluation of ternary performance and logic on existing binary infrastructure. More recent emulations include open-source implementations for historical machines like the , such as the Setun70 emulator released in 2013, which simulates the Soviet ternary computer's architecture and operations on modern binary personal computers. Additionally, tools like the Tunguska ternary virtual machine, developed in the 2010s, offer a emulator with support for compiling and executing ternary code, facilitating experimentation with ternary instruction sets. Programming in ternary systems often begins at the low level with languages tailored to specific architectures. For the original computer, the assembly language consisted of a minimal set of 24 single-address instructions encoded in 9-trit command codes, operating on 18-trit registers and supporting an interpretive system for tasks like and . The 70 extended this with 81 operations using 6-trit trytes in a two-stack model, enabling without traditional addressing commands and incorporating user-programmable instructions. At higher levels, modern efforts include libraries that add trit support to existing languages; for instance, the libter9 C library provides operations for 9-trit arithmetic, allowing developers to implement base-3 computations within standard C programs. These software tools and languages serve primarily educational and research applications, enabling the simulation of algorithms for design, , and performance analysis on hardware. Emulators like Tunguska allow testing of ternary software stacks, from to higher-level constructs, without physical ternary components, though they introduce computational overhead due to mapping ternary states onto binary representations. Such platforms have been used to revive interest in historical systems like , supporting interactive learning environments such as the "Nastavnik" teaching system derived from Setun 70 principles.

Modern Research

Circuit Innovations

In the 2010s, research on field-effect transistors (CNFETs) advanced ternary computing by enabling three-state switching through precise control of threshold voltages, leveraging the tunable bandgap properties of s to represent states -1, 0, and +1. These transistors facilitated energy-efficient tri-state gates, with designs demonstrating up to 50% power savings compared to CMOS equivalents in simulations using 32-nm processes. Building on this, a 2025 study utilized source-gating transistors to realize high-performance circuits with low-dimensional materials, achieving superior speed and integration density over prior analogs. A significant 2025 innovation from South Korean researchers introduced tunneling-based (T-CMOS), employing band-to-band tunneling (BTBT) in standard processes to stabilize the state without additional fabrication steps. This approach, demonstrated in compact models for low-power SRAM, uses reverse-biased p-n junctions to generate a gate-independent mid-state , reducing leakage by 63% compared to at 0.5 V and 28-nm nodes. T-CMOS enables seamless integration of and logic, supporting hybrid circuits for memory and processing applications. Ternary circuit designs have progressed to include high-performance logic gates, adders, and multipliers. For instance, the 2025 carbon nanotube-based gates support full operations with high voltage gains of 15-25 and peak-to-valley ratios reaching several hundred, outperforming counterparts in computational . Ternary adders and multipliers, as explored in multiply-accumulate () units, utilize approximate to balance accuracy and efficiency; a 2025 design achieved 30% power reduction over MACs in 180-nm , with only 2% error in arithmetic operations. Huawei's 2025 patent on circuits highlights efforts toward advanced , proposing three-state compatible with sub-10-nm processes to address power demands in accelerators, potentially enabling 7-nm scale deployment. In September 2025, Huawei unveiled the world's first chip based on this , utilizing three states (-1, 0, +1) for energy-efficient processing. These innovations collectively drive feasibility by reducing by up to 33% and enhancing for dense computing architectures.

Emerging Applications

In recent years, ternary neural networks (TNNs) have emerged as a promising approach for deploying and models on resource-constrained edge devices, such as sensors and mobile hardware. By quantizing weights and activations to three values (-1, 0, +1), TNNs reduce and computational demands while maintaining acceptable accuracy for tasks like and . Breakthroughs in 2024 and 2025, including annealing-inspired training methods for optical neural networks and sparsification via ternary quantization, have enabled up to 16-fold reductions in storage size compared to full-precision models, facilitating on low-power platforms. A November 2025 advancement introduced adaptive threshold quantization, dynamically adjusting thresholds based on weight distribution means to further enhance accuracy and efficiency. Ternary multiply-accumulator (MAC) units, essential for accelerating operations, have seen significant efficiency gains through approximate computing techniques. A 2025 study demonstrated that ternary MAC designs using field-effect transistors achieve 74-80% lower power-delay product (PDP) compared to prior 32 nm implementations, with only 2% computational error, enabling energy savings of up to 30% in edge AI accelerators. These units leverage arithmetic to minimize —by 33.6% for 1-trit MACs—while supporting scalable multiplication for workloads. Beyond AI, ternary computing is finding applications in optical systems and field-programmable gate arrays (FPGAs) for specialized high-performance tasks. A 2025 analysis in optimized ternary optical computers (TOCs) using tandem queuing models, revealing trade-offs where activating more spatial ternary optical storage modules reduces response time by up to 50% under high loads but increases ; optimal configurations balance 1-4 active modules with partitioning to minimize total power at 4.5 W for 1152-trit operations. In FPGA prototyping, accelerators like TeLLMe support ternary large models with full prefill and decoding capabilities on low-power devices, achieving suitable for embedded systems. Despite these advances, ternary computing faces key challenges in scalability to full central processing units (CPUs) and integration with existing infrastructure. Noise susceptibility in multi-state logic complicates large-scale designs, limiting ternary blocks to hybrid binary-ternary systems where memristor-MOS hybrids handle decoding and arithmetic with 90% energy savings in subcomponents but require careful partitioning to avoid error propagation. Such hybrids, explored in 2024-2025 research, enable gradual adoption but highlight the need for robust verification workflows to address radix conversion overheads in mixed-radix environments.

Broader Impacts

In science fiction, ternary computing has been portrayed as an advanced alternative to systems. Robert A. Heinlein's 1973 novel features trinary computers named and , integral to the society on the fictional planet Secundus, where they enable complex simulations and decision-making processes beyond traditional digital limitations. Media coverage in 2025 has highlighted ternary concepts through online videos contrasting them with challenges. For instance, the video "Is Ternary Computing the Way to Go Beyond ?" discusses ternary logic's potential to address scaling limits in modern processors, drawing public attention to non- paradigms. Similarly, "Huge Breakthrough: The World's First Ternary Computer" explores recent prototypes and their implications, framing ternary as a narrative of innovation resurgence. Tech articles from the same period, such as those examining "beyond " architectures, have amplified these discussions in enthusiast communities. Public fascination with ternary systems often stems from educational content demystifying the logic. YouTube series like those from Timothy Hopper's channel provide in-depth explorations of and circuits, making the topic accessible and sparking interest in alternative computing histories. This cultural curiosity is frequently inspired by real historical examples, such as the Soviet computer developed in the late 1950s.

Future Prospects

Ternary computing holds promise for through the development of full processors, with industry leaders like , which patented logic for energy-efficient chips in April 2025, envisioning extensions of these advancements into broader architectures by the late 2020s. A notable 2025 innovation is 's unveiling of the world's first logic chip on September 2, 2025, utilizing states (-1, 0, +1) for 60% more computing power and 50% less power consumption compared to equivalents. These visions emphasize hybrid systems integrating logic with to bridge classical and quantum paradigms, enabling enhanced decision-making and complex problem-solving capabilities. Such integrations could leverage 's multi-state efficiency to complement quantum's superposition, potentially realizing fault-tolerant hybrid processors in the coming decade. Key benefits include surpassing limitations via ternary's inherent 1.58 times higher information compared to binary logic, as log₂(3) ≈ 1.58 allows more data per unit area without proportional increases in . This advantage supports applications in , where ternary states mimic neural signaling more efficiently, reducing power consumption in brain-inspired hardware. Additionally, ternary systems offer inherent error correction for secure data processing, enhancing cybersecurity through balanced ternary's ability to encode fuzzy values and detect anomalies in and authentication protocols. Despite these prospects, significant barriers persist, including high manufacturing costs from complex fabrication of multi-threshold transistors and precise p-n junctions required for reliable ternary states. is further hindered by the lack of a mature software ecosystem, as most tools and compilers remain optimized for paradigms, complicating ternary algorithm development. Moreover, the absence of standardized protocols for multi-valued logic impedes and widespread adoption, necessitating collaborative efforts to establish benchmarks for and integration.

References

  1. [1]
    History-of-Ternary-Computers - GMU
    In 1958 the Russian engineer Nikolai P. Brusenzov and his small team constructed the world's first and still unique ternary computer.Missing: definition | Show results with:definition
  2. [2]
    [PDF] Can Ternary Computing Improve Information Assurance?
    Mar 2, 2018 · One advantage of ternary logic is the ability to handle and store information more densely than with binary logic [14].
  3. [3]
    An efficient design of reversible ternary full-adder/full-subtractor with ...
    Jun 6, 2020 · The first modern, electronic ternary computer, Setun, was built in 1958 in the Soviet Union at the Moscow State University by Nikolay Brusentsov ...
  4. [4]
    Design implementations of ternary logic systems: A critical review
    Thus, substantial research in the field is needed to achieve a fully functional ternary computer architecture that offers many advantages and can be applied ...
  5. [5]
    Key theories and technologies and implementation mechanism of ...
    May 8, 2023 · Ternary Optical Computer (TOC) is more advanced than traditional computer systems in parallel computing, which is characterized by huge amounts ...
  6. [6]
    [PDF] Ternary Digital Systems - Oregon State University
    Ternary number systems are introduced and two base - conversion algorithms are given: one for integral num-
  7. [7]
    Design implementations of ternary logic systems: A critical review
    Ternary logic can potentially offer higher computational density and efficiency. b) Power Consumption: Compared to binary logic, ternary logic may use less ...
  8. [8]
    [PDF] A balanced Memristor-CMOS ternary logic family and its application
    This paper proposes balanced ternary logic circuits using memristors and CMOS, focusing on logic values of -1, 0, and 1, and using TMIN and TMAX gates.
  9. [9]
    [PDF] Design and Implementation of Ternary Logic Circuits for VLSI ...
    Feb 28, 2020 · The circuit is supplied with different VDD voltage values that are 0V, 0.9V and 1.8V is required in order to detect three different logic levels ...
  10. [10]
    Reconfigurable binary and ternary logic devices enabling logic state ...
    Jul 22, 2025 · This paper reports a reconfigurable binary–ternary transistor with a controllable voltage range and current level for the intermediate logic ...
  11. [11]
    [PDF] Towards a Balanced Ternary FPGA - Gwern
    This paper explores the idea of directly implementing a. Field–Programmable Gate Array structure using a balanced ternary logic system where the logic set {±1, ...
  12. [12]
    Design of ternary logic gates and circuits using GNRFETs
    A novel technique is proposed to design the ternary logic gates using multi-threshold graphene nanoribbon field-effect transistors (GNRFETs).
  13. [13]
    Optically Controlled Ternary Logic Circuits Based on Organic ...
    Dec 3, 2020 · A ternary inverter is demonstrated based on an organic antiambipolar transistor (AAT), in which the output logic states can be precisely controlled with ...
  14. [14]
    Structural design of memory system for Ternary Optical Computer
    Feb 28, 2025 · The TOC expresses ternary information by adopting no-light state, horizontally polarized light state and vertically polarized light state, where ...
  15. [15]
    Ternary Logic Design in Topological Quantum Computing - arXiv
    Apr 3, 2022 · Abstract: A quantum computer can perform exponentially faster than its classical counterpart. It works on the principle of superposition.
  16. [16]
    Quantum error-correcting code for ternary logic | Phys. Rev. A
    May 2, 2018 · Ternary quantum systems are being studied because they provide more computational state space per unit of information, known as qutrit.
  17. [17]
    Low power CNTFET-based ternary multiplier for digital signal ...
    Feb 6, 2024 · ... ternary logic have demonstrated a noticeable susceptibility to noise. The noise sensitivity of a circuit is dependent on reduced noise ...
  18. [18]
    Extreme Low Power Technology using Ternary Arithmetic Logic ...
    Ternary logic is more power-efficient than binary logic because of lower device count required to perform the same logic functions. Its benefits become more ...
  19. [19]
    Vertically Integrated CMOS Ternary Logic Device with Low Static ...
    Nov 8, 2023 · A ternary logic system to realize the simplest multivalued logic architecture can enhance energy efficiency compared to a binary logic system by ...
  20. [20]
    Design of Ternary COS/MOS Memory and Sequential Circuits
    Mar 31, 1977 · Ternary storage elements are realized using ternary operators and fundamental circuits, designed with the COS/MOS integrated circuits.
  21. [21]
    Design of a Ternary Edge-Triggered D Flip-Flap-Flop for Multiple ...
    The basic element of sequential logic is Flip-Flop, which stores an input value and returns two outputs (Q and Q̄). This paper presents an innovative ternary D .
  22. [22]
    Low storage power and high noise margin ternary memory cells in ...
    Oct 22, 2020 · In this paper, two ternary memory cells are designed based on decoding the ternary level to the binary one and saving in two binary latches. In ...
  23. [23]
    Douglas W. Jones on Ternary Arithmetic - University of Iowa
    Balanced ternary is equivalent to biased unsigned ternary, with a bias of half the range. The implementations of ternary arithmetic are presented here, follow ...Missing: advantages | Show results with:advantages
  24. [24]
    Balanced Ternary - Algorithms for Competitive Programming
    Apr 16, 2023 · Conversion algorithm¶. It is easy to represent a given number in balanced ternary via temporary representing it in normal ternary number system.
  25. [25]
    Balanced Ternary Arithmetic. - Dyalog APL
    "Perhaps the prettiest number system of all." - Donald Knuth. Background ... Balanced ternary numbers extend nicely to fractional values using a "ternary ...
  26. [26]
    Balanced Ternary Number System - GeeksforGeeks
    Jul 12, 2025 · A balanced ternary number system is a numeral system that comprises digits -1, 0, and 1. Since it is inconvenient to write -1 as a digit, we'll use the letter ...Missing: definition arithmetic operations advantages
  27. [27]
    None
    ### Summary of Advantages of Balanced Ternary for Computing
  28. [28]
    Ternary -- from Wolfram MathWorld
    ... balanced ternary notation has been made" (balanced ternary uses digits -1, 0, and 1 instead of 0, 1, and 2). The illustration above shows a graphical ...<|control11|><|separator|>
  29. [29]
    [PDF] Ternary Computer Architectures
    Abstract—Ternary logic, that is logic with three states instead of the traditional two found in binary, is currently being explored as one option to help ...
  30. [30]
    The ancient book of wisdom at the heart of every computer
    Mar 21, 2014 · The I-Ching predates binary code by as much as 5,000 years, and gives us reason to question our faith in digital technology. Damien Walter.Missing: ternary | Show results with:ternary
  31. [31]
    Roman abacus - Wikipedia
    The first column was arranged either as a single slot with three different symbols or as three separate slots with one, one and two beads or counters ...
  32. [32]
    [PDF] Leibniz on Number Systems - PhilArchive
    While Leibniz had a particular fascination with binary, his work on nondecimal number systems covered all the bases, or at least bases 2–16. Particularly ...
  33. [33]
    The ternary calculating machine of Thomas Fowler - IEEE Xplore
    Abstract: In 1840, Thomas Fowler, a self-taught English mathematician and inventor, created a unique ternary calculating machine.Missing: mechanical calculator 1880s
  34. [34]
    [PDF] Ternary Computers: The Setun and the Setun 70. - IFIP Digital Library
    This paper presents a short history of the development ternary computers ―Setun‖ and ―Setun 70‖ at Moscow State University. It explains the characteristics ...
  35. [35]
    Development of Ternary Computers at Moscow State University
    In spite of the fact that the designers of the first were very young and the group was small, the specimen of "Setun" was ready in Dec. 1958, i.e. in two years ...
  36. [36]
    Setun: The Revolutionary Ternary Computer from Soviet Era
    Memory: Ferrite core memory with a capacity of 162 words (18 trits each) ... Performance: About 4500-4800 operations per second (addition, subtraction).
  37. [37]
    Third Base | American Scientist
    Each trit was stored in a pair of magnetic cores, wired in tandem so that they had three stable states. A pair of cores could have held two binary bits, which ...
  38. [38]
    Can Ternary Computing Improve Information Assurance? - MDPI
    Mar 2, 2018 · One advantage of ternary logic ... Fuzzy logic and associated error correcting methods allow for ternary states which encode crisp and fuzzy ...
  39. [39]
    Tunguska the ternary computer emulator
    Tunguska is a ternary virtual machine and system emulator, for more information, consult the about section. ... Fast, secure and Free Open Source software ...
  40. [40]
    Ternary optical computer principle | Science China Information ...
    The fundamental principle and the characteristics of ternary optical computer, using horizontal polarized light, vertical polarized light and no-intensity.
  41. [41]
    Software for a Small Computer "Setun" - IEEE Xplore
    The first in the world ternary computer - “Setun” was developed at Moscow State University in 1958 and was serialized in 1961-1965 by Kazan Mathematical
  42. [42]
    Binary Coded Ternary and Its Inverse - University of Iowa
    If ternary computers are to survive in a binary world, they will almost certainly include interfaces to binary peripheral devices. Ternary software that ...
  43. [43]
    setunseventy download | SourceForge.net
    May 8, 2013 · Download setunseventy for free. Setun70 computer emulator. Setun70 is a soviet trinary (balanced-ternary) system based computer.
  44. [44]
    libter9.h: 9-trit Ternary Support - University of Iowa
    Dec 29, 2015 · The following add and subtract operators conform to the expectations of programmers used to working in high level languages: uter9_add( a, b ) ...
  45. [45]
    Tunguska the ternary computer emulator
    Tunguska is a ternary computer emulator. On a good day, it's performance it is roughly equivalent with that of a personal computer from the 1980's, with ...Missing: 2001 | Show results with:2001
  46. [46]
    [PDF] Energy Efficient Tri-State CNFET Ternary Logic Gates - arXiv
    In this paper, a novel method is presented to design ternary logic circuits based on Carbon Nanotube Field Effect Transistors. (CNFETs). The proposed designs ...
  47. [47]
    CNTFET-based design of ternary logic gates with interchangeable ...
    Jul 8, 2021 · This paper presents a novel CNTFET based design of ternary logics gates where all three ternary logics including standard, positive and negative ternary logic ...
  48. [48]
    High-performance ternary logic circuits and neural networks based ...
    Jan 10, 2025 · This study represents the most advanced and highest-performing ternary circuits realized with low-dimensional materials to date.
  49. [49]
    Scalability of 28-nm Ternary CMOS Technology Using Halo Profile ...
    We propose a highly scalable ternary CMOS (T-CMOS) technology using halo implantation in commercial 28-nm process. By forming a locally confined halo ...
  50. [50]
  51. [51]
    Tech war: Huawei's ternary logic patent could solve the problem of ...
    Apr 4, 2025 · Huawei Technologies has applied for a patent in “ternary logic”, an alternative to binary computing logic first explored in the former Soviet Union.Missing: ancient | Show results with:ancient
  52. [52]
    Annealing-inspired training of an optical neural network with ternary ...
    Feb 13, 2025 · We propose and demonstrate a ternary weight high-dimensional semiconductor laser-based ONN and introduce a method for achieving ternary weights using Boolean ...
  53. [53]
    [PDF] Sparsification of Deep Neural Networks via Ternary Quantization
    Dec 13, 2024 · In this paper, we introduce a flexible ternary quantization technique and employ it to induce sparsity in the architec- ture of deep neural ...<|separator|>
  54. [54]
    Unified and Optimized Ternary, Binary, and Mixed-precision Neural ...
    In this article, we propose TAB as a unified and optimized inference method for ternary, binary, and mixed-precision neural networks.Missing: breakthroughs | Show results with:breakthroughs
  55. [55]
    [PDF] High Efficiency Multiply-Accumulator Using Ternary Logic and ...
    This paper proposes ternary approximate algorithms for a multiply-accumulator, achieving 30% less power consumption and 74-80% lower power-delay-product.
  56. [56]
    Performance and energy optimization of ternary optical computers ...
    Apr 29, 2025 · The main objective of this study is to investigate the optimization trade-off between performance and energy consumption in TOC systems.
  57. [57]
    TeLLMe: An Energy-Efficient Ternary LLM Accelerator for Prefill and ...
    Apr 22, 2025 · We present TeLLMe, the first ternary LLM accelerator for low-power FPGAs (eg, AMD KV260) that fully supports both prefill and autoregressive decoding.
  58. [58]
    Ternary Computing Breakthrough Explained
    Sep 24, 2025 · Huawei's recent foray into developing a new generation of ternary chips at 7 nm demonstrates a viable path forward for this technology.
  59. [59]
    (PDF) New ternary decoders using hybrid memristor-MOS logic
    Aug 4, 2025 · This hybrid approach takes advantage of the unique properties of memristors, including low power consumption , compact size, and non-volatility, ...
  60. [60]
    A mixed radix design and verification workflow for modern ternary ...
    Jul 1, 2025 · A novel radix comparison methodology is proposed to improve fairness. Historical efforts to build ternary computers were reviewed which started ...
  61. [61]
    Is Ternary Computing the Way to Go Beyond Moore's Law? - YouTube
    Oct 9, 2025 · For almost a century, computers have used a language consisting only of zeros and ones. But what if that was never the only way?Missing: projects 1980s
  62. [62]
    Huge Breakthrough: The World's First Ternary Computer - YouTube
    Sep 24, 2025 · It's not true that nobody had ever questioned binary computing; from the beginning, many people explored and proposed other systems, ...Missing: Polish prototypes 1960s
  63. [63]
    Ternary Optical Computing Systems | Nature Research Intelligence
    Ternary optical computing systems represent an innovative leap beyond traditional binary computation by utilising three discrete logic states.Research From Nature... · Research From All Publishers · Technical Terms<|separator|>
  64. [64]
    Timothy Hopper - YouTube
    The videos mainly concentrate on Ternary Logic (3 Valued logic), and Quaternary Logic (4 Valued Logic). ...more ...more. Subscribe. Home. Videos. Playlists.
  65. [65]
    Huawei Unveils AI Chip Roadmap to Rival Nvidia - PAN Finance
    Sep 18, 2025 · The roadmap includes the Ascend 950 in 2026, followed by the Ascend 960 in 2027 and Ascend 970 in 2028. Huawei will also launch powerful “ ...Missing: ternary 2030
  66. [66]
    Exploring the Potential of Trinary Logic and Quantum Computing
    Jul 16, 2024 · This paper examines the potential of integrating trinary logic with quantum computing to create hybrid systems that can enhance decision-making ...
  67. [67]
    Design and Implementation of Ternary Logic Integrated Circuits by ...
    Oct 9, 2019 · In this work, we carry out a systematical study on the emerging two-dimensional (2D) materials (MoS 2 and Black Phosphorus)-based ternary logic.
  68. [68]
    Ternary spike-based neuromorphic signal processing system
    The TAE method can efficiently encode time-varying analog signals into sparse ternary spike trains, thereby reducing energy and memory demands for signal ...
  69. [69]
    High-performance ternary logic circuits and neural networks based ...
    Jan 10, 2025 · Carbon nanotube source-gating transistors are developed for ternary logic computing architecture and ternary neural networks. INTRODUCTION.<|control11|><|separator|>
  70. [70]
    A review on multiple-valued logic circuits - ResearchGate
    Jul 3, 2025 · Despite facing various challenges, including complicated physical implementation and difficulty to modulate the signals. This means that there ...<|separator|>
  71. [71]
    [PDF] Multiple-Valued Logic in VLSI: Challenges and Opportunities
    Such circuits, called multiple-valued logic cir- cuits, offer several potential opportunities for the improvement of present VLSI circuit designs. In this paper ...