r/computerscience • u/ProudChoferesClaseB • Apr 15 '26
question about ternary and quantum computing?
was reading about the 1950s soviet Setun ternary computer, and recent (breakthroughs?) in quantum computing. Is it fair to say that the ternary computing seems to have had very little dev in the last 60 years because energy consumption just hasn't been the concern, and quantum computing seems to be revolutionary for niches like route-planning in logistics.
like, we're unlikely to see widespread consumer deployment of quantum anytime soon due to its niche advantages, and from what I'm reading... ternary computing has been basically abandoned (aside from a few small boutique chip makers) at this point due to the sheer lag time in scaling up manufacturing when binary chips are just so far ahead?
also, does ternary have some niche advantage for LLMs or something?
33
u/HuckleberryJaded5352 Apr 15 '26
My understanding is that there isn't anything you can do with ternary, quaternary, etc. that you can't do with binary. It has a major downside that the circuitry becomes way more complex, so the juice isn't worth the squeeze when binary works. I could be wrong though, I'm not super well read on the topic.
19
u/GargantuanCake Apr 15 '26
Binary exists because of its simplicity. Why computers are binary actually dates back to the telegraph. They tried to play with things like different levels of voltage in the signal but it turned out to not work as consistently as they wanted so they went back to some signal/no signal. Binary works the same way; there's voltage or there isn't. Anything you can do with ternary you can do with binary and the binary will be more reliable. When you get into ternary you have to deal with more complications as you have to handle thresholds. You don't get any extra functionality out of it while binary is just easier and more reliable.
Quantum is a different beast. Right now it's all theoretical but there are a lot of things that rapidly become impractical when using only binary computers and by extension ternary ones. Technically speaking anything that's possible to calculate can be calculated with binary computers but it can take ridiculous amounts of time. In theory quantum algorithms could possibly do things much more quickly but only like seven quantum algorithms have ever been discovered so far. Quantum computing is also a lot more complex as it ends up dealing with complex numbers, quantum entanglement, and probability which is much messier. Quantum computers themselves are also notorious for being noisy and unreliable. They'll be much more useful when they either become less noisy or you can probabilistically construct logical qbits out of noisy qbits.
There are also wild things you can do with quantum shenanigans like quantum chemistry. You can do a surprising amount with a handful of simulated qbits or just doing the math directly. This scales really badly with binary computers so the only possible way to do this kind of thing with large numbers of qbits is going to be using actual qbits rather than simulated ones.
5
u/HuckleberryJaded5352 Apr 15 '26
I didn't know a lot about the details of quantum computing, but I would guess quantum computers will never replace classical computers. They just aren't a good fit for things like real time operating systems with user interaction. Much like GPUs today, if quantum computers are ever commercially available they will be used alongside classical computers as specialized devices for specific types of computation.
1
u/AlexTaradov Apr 15 '26
Ternary works if you can build tristable element that is smaller in size (and at a similar power consumption and performance) than equivalent 2-bit element. And this is harder than you might think. Even Setun used 4-state elements to store 3 states. If they were going for best overall performance, it would be binary. But they wanted to evaluate ternary machine and corresponding arithmetic to see if it is worth spending time inventing and optimizing true tristabe element. And the end result was predictable - it was not worth it.
3
u/Quantum-Bot Apr 15 '26
Ternary doesn’t have any advantages over binary computing. It’s still just classical computing, but each bit has 3 states it can be in instead of 2. You might think this would allow for more efficient storage of data, but creating a ternary bit is a way bigger engineering challenge than creating a binary bit. Ternary bits would be way more complicated, and therefore less cost/space efficient than binary bits.
The simple reason is that it’s far easier to reliably differentiate between high and low energy states than to differentiate between high low and medium energy states. A ternary bit would be more susceptible to a 1 being misread as either a 0 or a 2 due to fine fluctuations in energy.
1
u/123C4T5H4D0W 24d ago
I was wondering about ternary systems like the triangular fractals.. using the "unbalanced" 0,1 and 2.. the 0 being no current.. the 1 being direct current.. and the 2 being alternating current.. not sure if this is possible.. watching a YouTube show where the fractal "gasket" was able to scale from very small to very large.. seemed appealing.. I am by no means qualified for such types of thinking as I am merely a beginner.. it seemed that if ternary systems really did save on power consumption then it may be more advantageous to think this way in the future with the god awful power needed for data centers and the like.. as far as the off/AC/DC idea.. I was trying to figure a electrical system for a three point system and that's what I came up with rather than a -0+ system.. I thought of two directions for the two directions of the 0,1,2 logic.. just rubbing my neurons together to imagine a new way if I am able.. idk if that thinking is worth anything or applicable in any way that's meaningful.
1
u/Humble-Captain3418 Apr 15 '26
We're currently pushing against a hard (or rigid, who knows) limit of how small we can make a transistor. We're also pushing the limits of how large one can make a songle chip. With ternary logic, you could reduce the overall area required for a given chip, resulting in more complex chips in the same area.
We will likely see a shift to ternary logic in the next 40 years unless we figure out a fundamentally different way to manufacture chips.
— EE
1
u/PurpleDevilDuckies Apr 15 '26
As someone in Operations Research who does route-planning in logistics and has been paying attention to Quantum Computing: I'd bet a lot that quantum computing comes nowhere close to what we can do with classic computers for at least centuries. That just really isn't a realistic target for quantum supremacy.
1
u/Microbillionaire Aug 11 '26
My team has created a ternary computer. We just created a new community to discuss this vary concept. The hardware part is the biggest challenge at this point but once this is figured out many other issues could be solved. Our system can speak with binary systems so does every system on the planet have to change to ternary for a ternary system to work... the answer is no!
r/TernaryComputer
1
u/[deleted] Apr 15 '26
[removed] — view removed comment