Illustrated · No prior ternary required

How It Works

Four diagrams for the whole idea: what a balanced ternary digit is, how two carbon nanotubes hold three of them, why addition turns out to be a wire junction, and where the twelve patents sit in the stack that results.

This is the picture version. Technology is the same system in detail — device physics, gate library, PANINI processor, ManiT compiler and THATTE-OS, layer by layer — and assumes you already know what a trit is.

1 · The Digit 2 · The Device 3 · The Arithmetic 4 · The Stack
One · The digit

Three Digits: −1, 0, +1

Binary has two digits, 0 and 1. Balanced ternary has three: −1, 0 and +1. Each position is worth three times the one to its right — 1, 3, 9, 27 — and each position can add its weight, subtract it, or sit out.

That third option is the whole difference. Binary can only ever add, so it climbs towards a number from below. Balanced ternary can overshoot and come back. The figure shows decimal 5 built both ways: binary walks 4 then 1; balanced ternary leaps to 9 and returns, 9 − 3 − 1.

Three bits cover 0 to 7 — eight values, all of them positive. Three trits cover −13 to +13 — twenty-seven values, with the negatives included for free. Each trit carries log₂(3) ≈ 1.585 bits of information against a bit's 1.

Negation is free

Because the digits are symmetric about zero, negating a number is flipping the sign of every trit. No two's complement, no separate sign bit, and no asymmetric range where the most negative value has no positive twin. Subtraction is addition of the negation, and the negation costs nothing to form.

Balanced ternary itself is public mathematics — Knuth wrote about it, and the Setun computer ran on it in 1958. What is patented is the device and the stack built on it, below. Try it yourself in the balanced ternary calculator.

Decimal 5 written in binary and in balanced ternary Two walks along the same number line from zero to five. The binary route 1 0 1 takes two forward steps, plus four and plus one, with the middle digit contributing nothing. The balanced ternary route plus-one minus-one minus-one steps forward nine, then back three, then back one. Below, the three balanced ternary digits are negated by flipping every sign, turning plus five into minus five. 5 BINARY 1 0 1 1 × 4 0 × 2 1 × 1 BALANCED TERNARY +1 −1 −1 +1 × 9 −1 × 3 −1 × 1 0 5 9 NEGATE — FLIP EVERY SIGN +1 −1 −1 = 5 −1 +1 +1 = −5
Figure 1: decimal 5, reached two ways. Binary can only step forward; balanced ternary overshoots to 9 and comes back. Negating the ternary form is three sign flips — the binary form would need two's complement.
Two · The device · Thatte1

Three States, in One Device

One SWCNT@MWCNT device in each of its three trit states Three copies of the same device, drawn one above the other. Each is an outer multi-wall nanotube shell containing an inner single-wall nanotube channel, with an AC terminal on the left and a current-direction arrow on the right. Top: a gate photon arrives and the AC terminal is in its positive phase, so current flows left to right and the trit is plus one. Middle: no photon arrives, so no current flows at all and the trit is zero, a true zero rather than a held mid-level. Bottom: a photon arrives and the AC terminal is in its negative phase, so the same current flows right to left and the trit is minus one. +1 + PHASE PHOTON 0 NO PHOTON −1 − PHASE PHOTON
Figure 2: the same device three times. The photon decides whether it conducts; the AC pulse polarity decides which way. Zero is the absence of drive, not a third voltage held between two others.
  • Outer multi-wall nanotube (MWCNT) — absorbs the gate photon and shields the channel
  • Inner metallic single-wall nanotube (SWCNT) — a ballistic one-dimensional transmission line
  • AC terminal and its pulse polarity
  • Signal current, forward — trit +1
  • Signal current, reversed — trit −1
  • No current — trit 0, the true zero

A trit needs three physically distinct states, and this is where most three-valued logic proposals come apart. On silicon you have to manufacture a third voltage level and then defend it against noise for the life of the chip. The THATTE device does not build a third level. It uses a direction.

The device is two concentric carbon nanotubes: a metallic single-wall nanotube (SWCNT) running inside a multi-wall nanotube (MWCNT), separated by a van der Waals gap. The inner tube is a metallic ballistic conductor — a one-dimensional transmission line, not a semiconducting channel with a gate. Two independent things act on it:

  • A gate photon, absorbed by the outer MWCNT, decides whether the device conducts at all. The mechanism is specification-level detail, shared under mutual NDA.
  • The AC terminal's pulse polarity decides which way the resulting current runs.

Photon during the positive half-cycle gives trit +1. Photon during the negative half-cycle gives trit −1. No photon gives trit 0.

Why the zero is the interesting one

Trit 0 is not a mid-point that has to be held. It is the absence of drive — no gate bias, no maintained level, nothing to drift. And because the two conducting states are the same current in opposite directions, they are symmetric by construction rather than by trimming: NEGF quantum transport simulation of the ternary inverter cell returns a current symmetry |I(−1) / I(+1)| of 1.0000.

The AC waveform also means the signal always passes through zero on its way between the two polarities — there is never a direct jump from +1 to −1. That is the subject of Why AC, Not DC.

Trit encoding
Trit +1Photon · positive AC phase
Trit 0No photon · true zero
Trit −1Photon · negative AC phase
StructureSWCNT@MWCNT, coaxial
Trit rate~500 GHz – 10 THz
VerificationNEGF (Kwant)
Wavelengths, thresholds, SNRUnder NDA

Full detail on Thatte1 — the device patent, and the contactless all-photonic variant on Thatte8.

Three · The arithmetic · Thatte2 · Thatte11

Addition Is a Junction

This is where the physics and the arithmetic meet. A trit here is a signed current, and currents that meet at a junction add — that is Kirchhoff's current law, not a circuit anyone had to design. So in the THATTE gate library balanced ternary addition is performed by the circuit topology itself: wire two trits into a node and the node carries their sum.

The sum of two trits can be −2, −1, 0, +1 or +2, and only three of those are themselves trits. A threshold stage resolves the node current into a sum trit and a carry trit. The carry is always itself a trit — −1, 0 or +1, never anything wider — so the carry path out of one digit position is the same kind of wire as the digits going in.

The same trick, further up the stack

Over the finite field GF(3), multiplying by 1 is a wire passing through and multiplying by 2 — negation, in balanced ternary — is a wire crossing. Neither needs an active device. Thatte11 builds ternary Hamming encode and decode, plus Reed–Solomon and LDPC constructions, on that observation: the finite-field multipliers that dominate the area and power cost of binary error correction are, here, interconnect.

The same absence shows up in the neural accelerator. A ternary weight of +1 passes the trit through, −1 crosses the wires, and 0 withholds the optical pulse and leaves the device dark — so a zero weight costs no switching energy at all, whether or not any software schedules around it. Thatte10 is that patent.

A + BSum tritCarry trit
−2−1 + 3 = +1−1
−1−10
000
+1+10
+2+1 − 3 = −1+1

The table is balanced ternary arithmetic, which is public mathematics; the calculator demo propagates it step by step. What Thatte2 claims is the KCL arithmetic engine that performs it as circuit topology, and the optical-ternary standard cells it is built from — TINV, TMIN2, TMAX3 and TMAJ3.

Two trit currents adding at a junction node Two inputs, A equals plus one and B equals plus one, each drawn as a chip with a wire running down into a single junction node. At the node the two currents superpose, giving two units of current. The node feeds a threshold stage, which splits the result into two outputs: a carry trit of plus one and a sum trit of minus one, because plus two equals three minus one and three is a carry into the next digit position. A B +1 +1 = 2 units threshold +1 −1 CARRY SUM
Figure 3: (+1) + (+1). Two unit currents superpose at the node; a threshold splits the result into a sum trit of −1 and a carry trit of +1, because +2 = 3 − 1. The carry is a trit, so it feeds the next position on the same kind of wire.
  • Current carrying a +1 trit
  • Current carrying a −1 trit
  • Node current on its way to the threshold stage
Four · The stack

Twelve Patents, One System

A device is not a computer. The reason this project is unusual is not the nanotube; it is that every layer above the nanotube was designed for it, from first principles, and filed as one portfolio — twelve complete specifications with the Indian Patent Office in 2026, six in April and six in August.

Six of them are the vertical stack. Each layer is built out of the one below it: the gate library out of the device, the processor out of the gates, memory and security out of the processor's fabric, and the compiler and microkernel out of the instruction set. A seventh, Thatte12, is the same two-nanotube device again — cooled far enough that its inner tube's degenerate conducting channels give a qutrit, a native three-level quantum unit. One fabrication process, classical and quantum.

The remaining five are not layers. They are capabilities built on top of particular layers: how the devices are integrated in three dimensions, a variant with no electrical contacts at all, how a ternary processor talks to a binary bus, what it accelerates, and how it stays correct.

That is what the figure is for. Read it bottom to top and the answer to “what would you actually do with this?” is the whole column, not one cell in it.

Dimensions, thresholds, wavelengths, code-point assignments and simulation figures for all twelve are shared under mutual NDA. See the full portfolio →

The seven-layer THATTE stack and the five patents built on top of it A column of seven layers, built from the bottom up. Layer one, the device, is Thatte1. Layer two, logic, is Thatte2. Layer three, the processor, is Thatte3. Layer four, memory, is Thatte4. Layer five, security, is Thatte5. Layer six, software, is Thatte6. Layer seven, quantum, is Thatte12, which is the same device operated cold. To the right, five further patents connect to the layer each is built on: Thatte7, the three-dimensional array, and Thatte8, the contactless device, both attach to the device layer; Thatte10, the ternary neural processing unit, attaches to logic; Thatte9, the binary bridge, attaches to the processor; and Thatte11, error correction over GF three, attaches to memory. THE VERTICAL STACK EXTENDED 1 Device Thatte1 2 Logic Thatte2 3 Processor Thatte3 4 Memory Thatte4 5 Security Thatte5 6 Software Thatte6 7 Quantum Thatte12 11 · GF(3) ECC 9 · Binary bridge 10 · Ternary NPU 8 · Contactless 7 · 3D array
Figure 4: the stack builds bottom-up, each layer out of the one below. The five boxes on the right are the extended architecture, drawn beside the layer each is built on. Thatte12 is listed as layer 7 because it is the Thatte1 device again, operated cold.
PatentRoleBuilt on
Thatte73D array, dual-function thermal and address viasThatte1
Thatte8Contactless all-photonic device variantThatte1
Thatte9Binary–ternary interface circuitThatte3
Thatte10Ternary neural processing unitThatte2
Thatte11Error correction over GF(3)Thatte4
Where to go next

The Same System, in More Detail

This page deliberately stops short of the specifics. Each of these picks up where a figure above leaves off.

Licensing & NDA

Full Technical Brief Available Under NDA

Simulation data, quantum transport results, fabrication specifications, and complete patent claims are shared under mutual NDA only.

Request Mutual NDA → Licensing Tracks
Stay Updated

Follow maniTLab

New research, patent updates and essays, as a feed your reader collects for you. No list to join, no address to hand over, nothing to unsubscribe from.

RSS Feed →
Get in Touch

Write to Manish

Research collaboration, licensing enquiries, technical questions, or press requests.

Replies to manish@manitlab.org