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 indeterminat ...
(i.e., base 3) instead of the more common binary system (i.e., base 2) in its calculations. This means it uses trits (instead of bits, as most computers do).


Types of states

Ternary computing deals with three discrete states, but the ternary digits themselves can be defined differently: Ternary quantum computers use
qutrit A qutrit (or quantum trit) is a unit of quantum information that is realized by a 3-level quantum system, that may be in a superposition of three mutually orthogonal quantum states. The qutrit is analogous to the classical radix-3 trit, just as ...
s rather than trits. A qutrit is a
quantum state In quantum physics, a quantum state is a mathematical entity that provides a probability distribution for the outcomes of each possible measurement on a system. Knowledge of the quantum state together with the rules for the system's evolution i ...
that is a complex
unit vector In mathematics, a unit vector in a normed vector space is a vector (often a spatial vector) of length 1. A unit vector is often denoted by a lowercase letter with a circumflex, or "hat", as in \hat (pronounced "v-hat"). The term ''direction v ...
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 vectors (, 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 Setun (russian: Сетунь) was a computer developed in 1958 at Moscow State University. It was built under the leadership of Sergei Sobolev and Nikolay Brusentsov. It was the most modern ternary computer, using the balanced ternary numeral sys ...
, was built in 1958 in the Soviet Union at the
Moscow State University M. V. Lomonosov Moscow State University (MSU; russian: Московский государственный университет имени М. В. Ломоносова) is a public research university in Moscow, Russia and the most prestigious ...
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 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 standard (unbalanc ...
, 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 Ulsan National Institute of Science and Technology, simply referred to as UNIST (), is one of the four public universities in South Korea which are dedicated to research in science and technology, along with KAIST, GIST, and DGIST. UNIST was ...
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 The Samsung Group (or simply Samsung) ( ko, 삼성 ) is a South Korean multinational manufacturing conglomerate headquartered in Samsung Town, Seoul, South Korea. It comprises numerous affiliated businesses, most of them united under the ...
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, mathematician, and professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of computer sc ...
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 Optical computing or photonic computing uses light waves produced by lasers or incoherent sources for data processing, data storage or data communication for computing. For decades, photons have shown promise to enable a higher bandwidth than the ...
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 indeterminat ...
system. A ternary computer using fiber optics could use dark as 0 and two orthogonal polarizations of light as +1 and −1. IBM also reports infrequently on ternary computing topics (in its papers), but it is not actively engaged in it. 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 computers 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". Virtual Adepts in the roleplaying game ''
Mage: The Ascension ''Mage: The Ascension'' is a role-playing game based in the World of Darkness, and was published by White Wolf Game Studio in 1993. The characters portrayed in the game are referred to as mages, and are capable of feats of magic. Magic in ''Ma ...
'' use ternary computers. In Howard Tayler's webcomic ''
Schlock Mercenary ''Schlock Mercenary'' is a comedic webcomic written and drawn by Howard Tayler. It follows the tribulations of a star-travelling mercenary company in a satiric, mildly dystopian 31st-century space opera setting. After its debut on June 12, 2000, ...
'', every modern computer is a ternary computer. AIs use the extra digit as "maybe" in boolean (true/false) operations, thus having a much more intimate understanding of
fuzzy logic Fuzzy logic is a form of many-valued logic in which the truth value of variables may be any real number between 0 and 1. It is employed to handle the concept of partial truth, where the truth value may range between completely true and completel ...
than is possible with binary computers. The Conjoiners, in Alastair Reynolds' ''
Revelation Space ''Revelation Space'' is a 2000 science fiction novel by Welsh author Alastair Reynolds. It was the first novel (but not first published work of fiction) set in Reynolds's eponymous universe. The novel reflects Reynolds's professional background ...
'' series, use ternary logic to program their computers and nanotechnology devices. In
Stanisław Lem Stanisław Herman Lem (; 12 September 1921 – 27 March 2006) was a Polish writer of science fiction and essays on various subjects, including philosophy, futurology, and literary criticism. Many of his science fiction stories are of satirical ...
's short story "The Hunt", the robot hunted by the protagonist is called Setaur, Self-programming Electronic Ternary Automaton Racemic. Tasen and Komato aliens, in the computer game '' Iji'', use ternary logic to program their nanotechnology.


See also

* Radix economy * Ternary numeral system * Skew binary number system * Ternary signal * Flip-flap-flop * Ternary SRAM *
Decimal computer Decimal computers are computers which can represent numbers and addresses in decimal as well as providing instructions to operate on those numbers and addresses directly in decimal, without conversion to a pure binary representation. Some also ha ...


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
SBTCVM – Open-source balanced ternary emulation project

Triador: a ternary computer with 600 ternary multiplexers
Classes of computers Russian inventions Soviet inventions