Quantum Computing

Discussion of chess software programming and technical issues.

Moderator: Ras

Jouni
Posts: 3513
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: Quantum Computing

Post by Jouni »

Despite high hopes for quantum computing, significant progress in hardware, and optimism about future applications, a 2023 Nature spotlight article summarized current quantum computers as being "For now, [good for] absolutely nothing".
Jouni
syzygy
Posts: 5663
Joined: Tue Feb 28, 2012 11:56 pm

Re: Quantum Computing

Post by syzygy »

towforce wrote: โ†‘Wed Nov 20, 2024 10:14 pm
Leo wrote: โ†‘Wed Nov 20, 2024 9:15 pm I wonder what Quantum Computing would mean for chess.
Deeper search - link:

"...we find examples of trees for which the classical algorithm requires time exponential in ๐‘›, but for which the quantum algorithm succeeds in polynomial time."
I would like to think of a quantum computer as a nondeterministic computer that can make the right choice every time, but it seems nondeterministic computer and quantum computers (or rather NTMs and QTMs) are probably incomparable in the sense that each can efficiently solve some problems that the other cannot solve efficiently.

Still, I suspect that alpha-beta running on a quantum computer would at best be comparable to alpha-beta-with-perfect-move-ordering on a regular comnputer. Current chess engines already come very close to that.
User avatar
towforce
Posts: 12143
Joined: Thu Mar 09, 2006 12:57 am
Location: Birmingham UK
Full name: Graham Laight

Re: Quantum Computing

Post by towforce »

syzygy wrote: โ†‘Thu Dec 19, 2024 3:47 am
towforce wrote: โ†‘Wed Nov 20, 2024 10:14 pm
Leo wrote: โ†‘Wed Nov 20, 2024 9:15 pm I wonder what Quantum Computing would mean for chess.
Deeper search - link:

"...we find examples of trees for which the classical algorithm requires time exponential in ๐‘›, but for which the quantum algorithm succeeds in polynomial time."
I would like to think of a quantum computer as a nondeterministic computer that can make the right choice every time, but it seems nondeterministic computer and quantum computers (or rather NTMs and QTMs) are probably incomparable in the sense that each can efficiently solve some problems that the other cannot solve efficiently.

Still, I suspect that alpha-beta running on a quantum computer would at best be comparable to alpha-beta-with-perfect-move-ordering on a regular computer. Current chess engines already come very close to that.

Why can't a quantum computer have the same quality of move ordering as a normal computer?
Want to attract exceptional people? Be exceptional.
JohnWoe
Posts: 529
Joined: Sat Mar 02, 2013 11:31 pm

Re: Quantum Computing

Post by JohnWoe »

Didn't google make some "breakthrough" lately. Their quantum computer made some 10e20 calculations in second. Nobody bothered going into details what kind of BS calculations those were. Why I'm not bothering with news anymore.

I should have stayed in academia. I could tour the world talking nonsense and get paid big bucks doing so. :lol:
User avatar
towforce
Posts: 12143
Joined: Thu Mar 09, 2006 12:57 am
Location: Birmingham UK
Full name: Graham Laight

Re: Quantum Computing

Post by towforce »

JohnWoe wrote: โ†‘Thu Dec 19, 2024 11:59 am Didn't google make some "breakthrough" lately. Their quantum computer made some 10e20 calculations in second. Nobody bothered going into details what kind of BS calculations those were. Why I'm not bothering with news anymore.

I should have stayed in academia. I could tour the world talking nonsense and get paid big bucks doing so. :lol:

I linked Google's Willow announcement - link.

Their new Willow chip is a breakthrough because it's so good at error correction. However, the example on which it can outperform normal computers is contrived: it can't do anything useful like crack encryption yet.
Want to attract exceptional people? Be exceptional.
syzygy
Posts: 5663
Joined: Tue Feb 28, 2012 11:56 pm

Re: Quantum Computing

Post by syzygy »

towforce wrote: โ†‘Thu Dec 19, 2024 8:21 am
syzygy wrote: โ†‘Thu Dec 19, 2024 3:47 am
towforce wrote: โ†‘Wed Nov 20, 2024 10:14 pm
Leo wrote: โ†‘Wed Nov 20, 2024 9:15 pm I wonder what Quantum Computing would mean for chess.
Deeper search - link:

"...we find examples of trees for which the classical algorithm requires time exponential in ๐‘›, but for which the quantum algorithm succeeds in polynomial time."
I would like to think of a quantum computer as a nondeterministic computer that can make the right choice every time, but it seems nondeterministic computer and quantum computers (or rather NTMs and QTMs) are probably incomparable in the sense that each can efficiently solve some problems that the other cannot solve efficiently.

Still, I suspect that alpha-beta running on a quantum computer would at best be comparable to alpha-beta-with-perfect-move-ordering on a regular computer. Current chess engines already come very close to that.
Why can't a quantum computer have the same quality of move ordering as a normal computer?
I did not say it can't?

A nondeterministic computer running alpha-beta would be as fast as a regular computer running alpha-beta with perfect move ordering. It would not be a big improvement over current engines.

Of course AlphaZero and Lc0 have shown that non-alpha-beta approaches are possible, too. So who knows. But I don't think that any of our current algorithms for playing chess could be made to run significantly faster on a quantum computer.
Chris Formula
Posts: 88
Joined: Sun Aug 21, 2016 7:59 am
Full name: Chris Euler

Re: Quantum Computing

Post by Chris Formula »

Werewolf
Posts: 1944
Joined: Thu Sep 18, 2008 10:24 pm

Re: Quantum Computing

Post by Werewolf »

I wonder if quantum could do a pure brute force search with no mini-max?
smatovic
Posts: 3040
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: Quantum Computing

Post by smatovic »

Werewolf wrote: โ†‘Tue Dec 24, 2024 10:50 pm I wonder if quantum could do a pure brute force search with no mini-max?
Mini-Max is the brute force method for computing chess, the whole game tree to the end, with win/draw/loss.

Thus the question would be, how to implement Mini-Max on Quantum Computers based on quantum gates, qubits?

My own estimation says you will need qubits in the range of thousands to implement Mini-Max for TicTacToe, and in the range of billions for the game of Chess.

There are also qudits, which can store decimals, theoretical there are also quinfs, to compute with infinity, a hyper-turing-machine, as mentioned, in theory.

There is also another approach, the von Neumann architecture for quantum computers, to separate memory and computation.

ATM I see no practical value of quantum computers for chess, it is more likely that we will use qubits for inferring neural networks first.

--
Srdja
User avatar
towforce
Posts: 12143
Joined: Thu Mar 09, 2006 12:57 am
Location: Birmingham UK
Full name: Graham Laight

Re: Quantum Computing

Post by towforce »

Good video by a clever German lady on how quantum computer companies are funded (specialist companies, as opposed to IBM and Google, who do quantum computing as research projects):

* their revenue is too lower to cover their costs

* most of the revenue they do get is in the form of grants from governments

* they are initially funded by venture capital

* in order to get their money back, the venture capitalists require these companies to go public

* these companies cannot go public, because in order to list on a stock exchange, they would have to do due diligence

* in order to avoid due diligence, they're listed via SPACs (Special Purpose Acquisition Company)

All explained in the video:


Want to attract exceptional people? Be exceptional.