News for hackers. Stuff that matters.
Re:Proof emerges that a quantum computer can outperform a cl... by gus_massa on Sunday September 29, 2019 @06:55AM (#21106322)
Note that they have a quantum computer that can solve a very specific type of problem. (But it solves them exponentially faster than a classical computer). They don't have a general purpose quantum computer, in particular, they can't run Shor's algorithm to factorize numbers and break a big part of encryption methods.

For a more detailed and better explanation than mine, you can read post of Scott Aaronson https://www.scottaaronson.com/blog/?p=4317 (HN discussion: https://news.ycombinator.com/item?id=21053405 (595 points, 5 days ago, 207 comments))

Re:Proof emerges that a quantum computer can outperform a cl... by statusquoantefa on Sunday September 29, 2019 @11:06AM (#21107426)
> (But it solves them exponentially faster than a classical computer)

do you mean literally exponentially? or do you mean "a lot" faster?

Re:Proof emerges that a quantum computer can outperform a cl... by cgearhart on Sunday September 29, 2019 @11:34AM (#21107607)
Literally exponentially.

But keep in mind that QC does not mean you can solve _any_ problem exponentially faster than a binary computer. If something is NP-Complete (or any of the less familiar “hard problem” classes) then it’s still gonna be hard for the quantum computer.

So you’ll get an exponential speed up for some specific problems like quantum circuit sampling, but it can’t help you solve the Traveling Salesman Problem any faster unless we find a new algorithm—and even then that would imply P=NP.

There’s still lots that QC could bring to the table even if it only works for some problems, but it’s not expected to completely replace classical computers—more like augment them with some new super powers.

Re:Proof emerges that a quantum computer can outperform a cl... by primaryobjects on Sunday September 29, 2019 @11:57AM (#21107750)
The Traveling Salesman Problem is indeed a potential application of quantum computing. Grover’s Search could theoretically find a solution in quadratic time (sqrt(n!) versus n!). On a physical quantum computer, this would have profound impact to many different real-world applications.
Re:Proof emerges that a quantum computer can outperform a cl... by teraflop on Sunday September 29, 2019 @12:09PM (#21107838)
Grover's algorithm provides a quadratic speedup, but sqrt(n!) is not quadratic time; it's super-exponential.
Re:Proof emerges that a quantum computer can outperform a cl... by smountjoy on Sunday September 29, 2019 @11:26AM (#21107565)
The difference in running time grows exponentially with the size of the input. I'd say that's "literally" exponential.
Re:Proof emerges that a quantum computer can outperform a cl... by balfirevic on Sunday September 29, 2019 @07:59AM (#21106535)
> They don't have a general purpose quantum computer, in particular, they can't run Shor's algorithm to factorize numbers and break a big part of encryption methods.

What limitations does it have, other than not having enough qubits to run Shor's algorithm (Scott Aaronson mentions it would require thousands of logical qubits, translating to possibly millions of physical qubits due to error-correction requirements)?

Scott's FAQ says: "The key difference with Google’s effort is that they have a fully programmable device—one that you can program with an arbitrary sequence of nearest-neighbor 2-qubit gates, just by sending the appropriate signals from your classical computer."

Unfortunately, I don't know what "arbitrary sequence of nearest-neighbor 2-qubit gates" means and what kinds of algorithms are out of reach for that method.

Re:Proof emerges that a quantum computer can outperform a cl... by krastanov on Sunday September 29, 2019 @08:13AM (#21106589)
> arbitrary sequence of nearest-neighbor 2-qubit gates

The classical equivalent is (very handwavily) a processor that can perform all the ops from a reasonable small ISA, but each op has 1% chance of failing silently.

Hence, any quantum algorithm can be put on this device in principle, but you are limited to stuff that uses only 50 qubits and does not mind the 1% error. There are not really any useful things you can do in the presence of (accumulating) 1% errors, beside proof of concept contrived problems.

Re:Proof emerges that a quantum computer can outperform a cl... by BurningFrog on Sunday September 29, 2019 @11:39AM (#21107648)
Re:Proof emerges that a quantum computer can outperform a cl... by eternalban on Sunday September 29, 2019 @09:28AM (#21106911)
> What limitations does it have, other than not having enough qubits ..

Would appreciate informed commentary on the scaling characteristic of the current approaches.

It seems reasonable to question whether that the scaling challenge itself will prove to be as formidable as solving certain problems. Is it?

Re:Proof emerges that a quantum computer can outperform a cl... by erichocean on Sunday September 29, 2019 @04:32PM (#21109449)
Yes, it takes a classical computer more time to simulate a quantum computer than just running that quantum computer and checking the output.

But did anyone think this wasn't going to be the case? Quantum circuit solving is just one example of this phenomenon; physically-based rendering is another: it's much faster to stick a camera in a room and measure the resulting image than it is to simulate light transport of the identical scene in the computer using an unbiased rendering algorithm.

I'm sure there are other examples: any physical phenomenon that is "NP-like" will have this property where setting up the (physical) system and measuring the end result after it has "settled" is exponentially faster than simulating the entire system in a classical computer and then measuring the result.

Re:Proof emerges that a quantum computer can outperform a cl... by hcs on Sunday September 29, 2019 @06:53PM (#21110134)
I think Aaronson addresses your objections in Q12, including claiming that there are some who didn't think even this would be possible (see also Q14).

If you built a programmable room for creating a large variety of material and lighting setups under computer control, that might be comparable?

Re:Proof emerges that a quantum computer can outperform a cl... by AlexCoventry on Sunday September 29, 2019 @12:56PM (#21108135)
> For a more detailed and better explanation

You can also read the actual paper: https://drive.google.com/file/u/1/d/19lv8p1fB47z1pEZVlfDXhop...

Re:Proof emerges that a quantum computer can outperform a cl... by octosphere on Sunday September 29, 2019 @08:09AM (#21106580)
> in particular, they can't run Shor's algorithm to factorize numbers and break a big part of encryption methods

Given a sufficient time horizon, large swathes of crypto will be broken by such a computer and has many people worried. NIST is working on algorithms resistant to quantum attacks, but we're still far off.

Re:Proof emerges that a quantum computer can outperform a cl... by Yajirobe on Sunday September 29, 2019 @08:45AM (#21106709)
> NIST is working on algorithms resistant to quantum attacks, but we're still far off.

These have existed for years already

Re:Proof emerges that a quantum computer can outperform a cl... by octosphere on Sunday September 29, 2019 @09:00AM (#21106783)
Yes but isn't there a competition to find an algo that can be widely deployed and not subject to weird requirements? A sort of 'goldilocks' algo. For example, I can't recall the name of the algo, but one such candidate for a post-quantum algo required keysizes to be 1TB in size. Another had large computation requirements and so thus couldn't do on-the-fly crypto (which is needed to do LUKS style encryption of disks for example). (Sorry for my lack of sources but it was a Youtube video of some talk about post-quantum crypto algos I randomly stumbled upon and forgot to bookmark)
Re:Proof emerges that a quantum computer can outperform a cl... by EGreg on Sunday September 29, 2019 @10:03AM (#21107075)
Excuse me if I’m being ignorant but isn’t a quantum computer unable to reverse hashes? Are they going to make a preimage attack or a collision attack on SHA512 for example, by trying all combinations at once?

If hashes are safe, then why not simply base our signatures and other stuff on them? The only thing that may be missing is actual encryption / decryption, but that can be done by XORing with “one-time” pads built from peeling onion layers from hashes.

Re:Proof emerges that a quantum computer can outperform a cl... by speakeron on Sunday September 29, 2019 @10:32AM (#21107243)
A quantum computer can find hash collisions in the square root of the time a classical computer can using Grover's algorithm. (So a 256-bit hash becomes as difficult as a 128-bit hash to reverse). Symmetric encryption (e.g. AES) is the same, so encryption itself doesn't have any problems with quantum computing (if you consider 128-bit AES to be safe in general).

Quantum computing affects the distribution of symmetric keys using public key encryption (and so affects a large amount of encryption as used in people's daily lives) which is vulnerable to quantum computers with sufficient bits.

Re:Proof emerges that a quantum computer can outperform a cl... by EGreg on Sunday September 29, 2019 @11:38AM (#21107637)
In that case we are perfectly fine. We can distribute symmetric keys in a different way. Just run a hash 10,000,000 times and your public key will be the last result, while the private key will be the first input. Only you can reconstruct the other layers going backwards, as you “peel the onion” and you can use those numbers any way you want. My favorite application is to generate random numbers among untrusting participants by everyone revealing the next number and then using functions of that as seeds to an RNG. It can be used for tons of byzantine fault tolerant applications.

The only problem is that it seems to also have forward secrecy built in because once you’ve revealed the next onion layer, anyone could have constructed the transcript up to that point. So you can only be sure that the author signed something if you are sure they didn’t reveal the next private key to anyone else (to verify it).

Re:Proof emerges that a quantum computer can outperform a cl... by atq2119 on Sunday September 29, 2019 @11:53AM (#21107722)
This doesn't work for encryption, though. You'd need a cryptosystem where it's possible to encrypt a message with H(x) such that it can only (efficiently) be decrypted given x, for a hash function H. To the best of my knowledge, no such hash function is known.
Re:Proof emerges that a quantum computer can outperform a cl... by EGreg on Sunday September 29, 2019 @12:01PM (#21107776)
It’s an open question whether hash functions can be used for encryption using XOR:

https://crypto.stackexchange.com/questions/35809/whats-wrong...

Here is a basic explanation:

https://cryptography.fandom.com/wiki/Snuffle

Note however that you would need a nonce / salt transmitted with each message because otherwise decrypting messages encrypted with the same key would just be as easy as XORing them!

Re:Proof emerges that a quantum computer can outperform a cl... by atq2119 on Sunday September 29, 2019 @12:38PM (#21108023)
Snuffle is symmetric key encryption, and yes, it's a well-known construction. However, you previously suggested that an asymmetric encryption scheme (with public and private keys) could be constructed using a hash.
Re:Proof emerges that a quantum computer can outperform a cl... by EGreg on Sunday September 29, 2019 @01:41PM (#21108418)
oh, right. It’s only good for signing and random number generation, not encryption.

Still that’s plenty useful! It can be used for blockchains and crypto currency.

Re:Proof emerges that a quantum computer can outperform a cl... by hyper_reality on Sunday September 29, 2019 @11:43AM (#21107674)
Yes, NIST has an ongoing standardisation process for Post-Quantum cryptography: https://csrc.nist.gov/Projects/post-quantum-cryptography/Pos...

With the 1TB keysizes, what you are thinking of is Berstein et al.'s tongue in cheek paper "Post-quantum RSA": https://cr.yp.to/papers/pqrsa-20170419.pdf

Re:Proof emerges that a quantum computer can outperform a cl... by lonelappde on Sunday September 29, 2019 @11:52AM (#21107715)
That's not an interesting statement. It's already possible to crack encryption given sufficient time. The amount of time matters.
Re:Proof emerges that a quantum computer can outperform a cl... by octosphere on Sunday September 29, 2019 @01:55PM (#21108515)
I meant having a sufficient amount of time before certain crypto schemes are broken. Maybe I really meant reasonable. In a reasonable amount of time we can expect quantum computers to attack crypto schemes.

If you mean brute forcing an encrypted message, then yeah: that could take until the heat death of the universe for complex passphrases. Infact you might even need several universes of time to crack some passphrases.

Re:Proof emerges that a quantum computer can outperform a cl... by baybal2 on Sunday September 29, 2019 @09:47AM (#21106993)
> Note that they have a quantum computer that can solve a very specific type of problems.

Yes, it's an adiabatic quantum computer, not different from D-Wave's device.

Calling it a quantum computer is like bunching an electromechanical differential analysers with modern CPUs because both use electricity.

Re:Proof emerges that a quantum computer can outperform a cl... by evanb on Sunday September 29, 2019 @11:02AM (#21107399)
It's not an adiabatic machine. It's a gate-type machine, with registers that experience programmable interactions with its neighbors. That's very much more like a classical computer than an adiabatic machine.
Re:Proof emerges that a quantum computer can outperform a cl... by baybal2 on Sunday September 29, 2019 @12:00PM (#21107761)
Tell me what is non adiabatic about it?
Re:Proof emerges that a quantum computer can outperform a cl... by krastanov on Sunday September 29, 2019 @01:51PM (#21108482)
In this context "adiabatic" usually refers to "slow continuous transition" (even if this is not the literal meaning of the word). This device uses the circuit model (discreet gates), not the adiabatic model (continuous transition between hamiltonians) of quantum computing.

Your initial comment also had an imprecision that is pretty common: 1. Adiabatic quantum computers and circuit model quantum computers are equivalent models. 2. Dwave never constructed an adiabatic quantum computer, rather something they called a quantum annealer. These are interesting devices inspired by the model of adiabatic computers, but we do not have a reason to think they are better than classical computers.