Ternary Computer
   HOME

TheInfoList



OR:

A ternary computer, also called trinary computer, is one that uses
ternary logic In logic, a three-valued logic (also trinary logic, trivalent, ternary, or trilean, sometimes abbreviated 3VL) is any of several many-valued logic systems in which there are three truth values indicating ''true'', ''false'', and some third value ...
(i.e., base 3) instead of the more common binary system (i.e., base 2) in its calculations. Ternary computers use trits, instead of binary bits.


Types of states

Ternary computing deals with three discrete states, but the ternary digits themselves can be defined differently: Ternary quantum computers use qutrits rather than trits. A qutrit is a
quantum state In quantum physics, a quantum state is a mathematical entity that embodies the knowledge of a quantum system. Quantum mechanics specifies the construction, evolution, and measurement of a quantum state. The result is a prediction for the system ...
that is a
complex Complex commonly refers to: * Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe ** Complex system, a system composed of many components which may interact with each ...
unit vector In mathematics, a unit vector in a normed vector space is a Vector (mathematics and physics), vector (often a vector (geometry), spatial vector) of Norm (mathematics), length 1. A unit vector is often denoted by a lowercase letter with a circumfle ...
in three dimensions, which can be written as , \Psi\rangle = \alpha, 0\rangle + \beta, 1\rangle + \gamma, 2\rangle in the bra-ket notation. The labels given to the
basis vector In mathematics, a set of elements of a vector space is called a basis (: bases) if every element of can be written in a unique way as a finite linear combination of elements of . The coefficients of this linear combination are referred to as ...
s (, 0\rangle, , 1\rangle, , 2\rangle) can be replaced with other labels, for example those given above.


History

One early calculating machine, built entirely from wood by Thomas Fowler in 1840, operated in balanced ternary. The first modern, electronic ternary computer, Setun, was built in 1958 in the Soviet Union at the
Moscow State University Moscow State University (MSU), officially M. V. Lomonosov Moscow State University,. is a public university, public research university in Moscow, Russia. The university includes 15 research institutes, 43 faculties, more than 300 departments, a ...
by Nikolay Brusentsov, and it had notable advantages over the binary computers that eventually replaced it, such as lower electricity consumption and lower production cost. In 1970 Brusentsov built an enhanced version of the computer, which he called Setun-70. In the United States, the ternary computing emulator Ternac working on a binary machine was developed in 1973. The ternary computer QTC-1 was developed in Canada.


Balanced ternary

Ternary computing is commonly implemented in terms of
balanced ternary Balanced ternary is a ternary numeral system (i.e. base 3 with three Numerical digit, digits) that uses a balanced signed-digit representation of the integers in which the digits have the values −1, 0, and 1. This stands in contrast to the stand ...
, which uses the three digits −1, 0, and +1. The negative value of any balanced ternary digit can be obtained by replacing every + with a − and vice versa. It is easy to subtract a number by inverting the + and − digits and then using normal addition. Balanced ternary can express negative values as easily as positive ones, without the need for a leading negative sign as with unbalanced numbers. These advantages make some calculations more efficient in ternary than binary. Considering that digit signs are mandatory, and nonzero digits are magnitude 1 only, notation that drops the '1's and use only zero and the + − signs is more concise than if 1's are included.


Unbalanced ternary

Ternary computing can be implemented in terms of unbalanced ternary, which uses the three digits 0, 1, 2. The original 0 and 1 are explained as an ordinary binary computer, but instead uses 2 as leakage current. The world's first unbalanced ternary semiconductor design on a large wafer was implemented by the research team led by Kim Kyung-rok at Ulsan National Institute of Science and Technology in South Korea, which will help development of low power and high computing microchips in the future. This research theme was selected as one of the future projects funded by
Samsung Samsung Group (; stylised as SΛMSUNG) is a South Korean Multinational corporation, multinational manufacturing Conglomerate (company), conglomerate headquartered in the Samsung Town office complex in Seoul. The group consists of numerous a ...
in 2017, published on July 15, 2019.


Potential future applications

With the advent of mass-produced binary components for computers, ternary computers have diminished in significance. However,
Donald Knuth Donald Ervin Knuth ( ; born January 10, 1938) is an American computer scientist and mathematician. He is a professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of comp ...
argues that they will be brought back into development in the future to take advantage of ternary logic's elegance and efficiency.. One possible way this could happen is by combining an optical computer with the
ternary logic In logic, a three-valued logic (also trinary logic, trivalent, ternary, or trilean, sometimes abbreviated 3VL) is any of several many-valued logic systems in which there are three truth values indicating ''true'', ''false'', and some third value ...
system. A ternary computer using fiber optics could use dark as 0 and two orthogonal polarizations of light as +1 and −1. The Josephson junction has been proposed as a balanced ternary memory cell, using circulating superconducting currents, either clockwise, counterclockwise, or off. "The advantages of the proposed memory circuit are capability of high speed computation, low power consumption and very simple construction with fewer elements due to the ternary operation." Ternary computing shows promise for implementing fast ternary large language models (LLMs) and potentially other AI applications, in lieu of floating point arithmetic.


In popular culture

In Robert A. Heinlein's novel '' Time Enough for Love'', the sapient computers of Secundus, the planet on which part of the framing story is set, including Minerva, use an unbalanced ternary system. Minerva, in reporting a calculation result, says "three hundred forty one thousand six hundred forty... the original ternary readout is unit pair pair comma unit nil nil comma unit pair pair comma unit nil nil point nil".


Research based on carbon nanotube transistors

With the emergence of carbon nanotube transistors, many research projects have shown interest in designing ternary logic gates using them. Between 2020 and 2024, more than 1000 papers about this subject were published on
IEEE Xplore IEEE Xplore (stylized as IEEE ''Xplore'') digital library is a research database for discovery and access to journal articles, conference proceedings, technical standards, and related materials on computer science, electrical engineering and elec ...
.


See also

* * Flip-flap-flop Ternary variant of a flip-flop * * * * *


References


Further reading

*


External links


The ternary calculating machine of Thomas Fowler

3niti – Collaboration for Open Ternary Computer Development




* {{cite web , url=http://roluan.com , title=ROLUAN – Ternary ecosystem startup. Ternary software and hardware. Open source. , last= , first= , date= , website= , publisher= , access-date= , quote= , archive-url=https://web.archive.org/web/20180322060200/http://roluan.com/ , archive-date=2018-03-22 , url-status=dead
Triador: a ternary computer with 600 ternary multiplexers

5500FP - modern ternary CPU
Classes of computers Russian inventions Soviet inventions