649 points · by ScottAaronson · 8y ago · 356 comments
We recently recorded a podcast (https://blog.ycombinator.com/scott-aaronson-on-computational-complexity-theory-and-quantum-computers/) where I discussed my research, AI, and advice for nerds in general or people who want careers in science.
We covered many but not all of the questions submitted over the internet so AMA!
Shtetl-Optimized's tagline is famously "Quantum computers would not solve hard search problems instantaneously by simply trying all the possible solutions at once". What phrase do you think should replace 'trying all the possible solutions at once' in the public conciousness as a succinct description of the mechanisms of a quantum computer? Or is this topic simply too complex to be distilled into a neat synopsis while retaining accuracy?
If you feel that sentence wasn't clear enough, and it would take at least a few more paragraphs to flesh it out ... well, duh, what did you expect? :-D
For a SLIGHTLY longer account, see my attempt to explain quantum computing in 35 seconds or fewer, which Maclean's magazine challenged me and others to do in response to Justin Trudeau's quantum computing explanation: https://www.scottaaronson.com/blog/?p=2694
When I did a piece for the New York Times, I managed to get an explanation that I was reasonably happy with into ~6 paragraphs: https://www.nytimes.com/2011/12/06/science/scott-aaronson-qu...
Given that quantum mechanics is, famously, one of the most counterintuitive things that humanity ever discovered, I don't think it's that big of an ask for people to read 6 paragraphs about QC before they decide they basically know what it's about. :-)
Quantum computing is a technique that lets you sample a problem's answer-space using "loaded dice," such that the problem's correct answers correspond with probability spikes in your dice throws. Right now, we only know how to usefully "load" those dice for certain problems, and it's pretty hard to do.
These are even relatively simple to work with; back in high school, I set up my basement as a darkroom, set up a sandbox for isolation, borrowed a laser from my physics teacher, bought a kit online with a beam splitter, mirrors, lenses, and film, and made some holograms of various objects utilizing light interference.
You could set up an apparatus in which light goes through a beam splitter, reflects off mirrors to travel via different paths, and is recombined and interferes in the end to produce an interference pattern. You could probably encode a lot of information in the exact length of the different paths, perhaps in an array of mirrors which could be actuated to produce slightly different path lengths in different parts of the beam (after the beam is expanded), and use the interference to make calculations.
Other than the smaller scale, and greater difficulty of working with it, what is special about quantum interference that would make it more amenable to solving problems that are NP complete than some apparatus producing similar kinds of interference with light?
Also, has it been proven (or argued sufficiently convincingly) that quantum computation at scale is actually possible? I'm wondering if there could be an issue where it requires more computation to construct a quantum computer than the computation you get out, or require a non-constant number of quantum computers (with respect to the size of the problem) to actually get reliable enough results out, or something of the sort.
I think this is somewhat like the questions of whether certain automata are Turing-complete (https://en.wikipedia.org/wiki/Wolfram%27s_2-state_3-symbol_T...), when a sufficiently complex process is needed to encode the problem into the automata that it could be argued that the computation was not actually carried out by the automata itself (I don't actually know if that question was answered; Wikipedia references a mailing list thread that has a lot of discussion, but I haven't seen any authoritative conclusion).
Given that empirically, only extremely simple quantum computers have been able to be constructed, what makes us think that there isn't some kind of tricky scaling issue like this were the additional complexity of building, running, or verifying the results of quantum computers will negate the benefits?
No, of course no one has proven that it can work: presumably, the only proof that will convince everyone will be the actual construction of the machines! But in the 1990s, the theory of quantum error-correction convinced almost everyone that, as far as current physics can say, the difficulties (though staggering) seem to be ""merely"" difficulties of engineering. As I discussed in another answer, a deep reason why QC could never be scaled would be MUCH more interesting scientifically than a mere success in scaling it (which would "merely" confirm what physicists already believe). And of course, with the ongoing efforts of Google and others to demonstrate "quantum supremacy" with 50-70 qubits, we're likely to get experimental results that are relevant to your questions within the next few years.
Imagine you are a parent/teacher in a room full of happy kids, playing their kid games. Some kindergarten playground or something. They're generally all doing some kind of stuff, and doing it in parallel. Is this "doing work in parallel"? Every one of them is doing something totally else, one kid is building a castle, the other is throwing bricks at it and destroying it ("interference cancelling each other's work"). One is digging holes in a sandbox, another just kicked the sand inside, filling the holes back.
Now, you are just one, insignificant adult in this room. Imagine you would want them to do something for you. Can you just shout at them, "do me some parallel computation"? "Build me a castle of bricks"? Meh, sure you can, but they'll look at you funny, maybe a few of them will start, but their attention will be soon diverted by others, and anyway they'll soon get bored and start fudging around.
But here comes the fun part - if you're a smart and creative teacher/parent/..., you can actually do much better: you can "trick" them into doing your work; you have to either find some kind of a "system", or a "fun game", that they will like, that will fit their abilities and sensibilities, so that they'll choose to generally more or less contribute in the direction you want them to. You have to find a way of doing the task that will be "compatible" with them. Then, collectively, you can actually have them make your work done! But if you don't find the trick - sorry, no free lunch for you :) But you can still keep enjoing watching in awe and wonder how they're having fun, the little buggers... erm, sweethearts :P
In a somewhat similar way, in QC, you have to invent a system that can trick all the qubits, who have their particular, peculiar ways of living and behaving, to contribute to some particular result that will be meaningful and useful to you. Otherwise, they'll totally do some kind of "parallel work", but the result will be just irrelevant mess. To make the challenge even more tricky, you're actually outside the room when the work is happening. You don't see the "calculation" ([wavefunction] vector) each kid... umm, qubit is contributing, you only see the one final result. Nah; that would be too easy still; you can only see the shape of the result's shadow (just the length of the final vector).
(edit: ah, and I forgot the most important thing: if I'm not wrong, each extra kid is are actually contributing exponentially more work; if you have N qubits, you are trying to trick 2^N vectors to work for you)
Sorry for still being very vague and handwavy :)
Hmm, one more vague analogue could be to "computer proof systems/theorem provers", e.g. Idris, or trying to prove/enforce something with GADTs. You have this set of rules/mechanisms; now, you have to sit and squeeze and tear your brain in different ways to invent how to force those limited rules to encode the thing you want to prove. Not easy. But sure a challenging and potentially fun brainteaser :)
Do you think there is a significant chance that quantum will never take off (i.e. there are non-obvious limitations that will prevent quantum architectures like superconducting qubits / trapped ions / quantum dots /... from ever outperforming classical supercomputers)? Related, what in your opinion is the best indicator (or would be the best indicator if demonstrated) of the potential of quantum devices?
The depressing possibility, of course, is that we never succeed in building useful QCs, but we also never learn anything deep about why we failed: it was just too complicated, too messy, and then at some point the funding ran out.
But I like to proceed on the assumption that the world is ultimately comprehensible (what other choice does one have in science? :-) ). On that assumption, if QC can never work, then there must be a deep reason that's not articulated in any of the existing physics books: either a breakdown of quantum mechanics itself, or else some new principle on top of QM that "screens off" or "censors" QC. Needless to say, the discovery of that principle would itself be a revolution in science -- indeed, I'd personally be more excited about it than a "mere success" in building scalable QC! (But my own bet is on the "boring, conservative" possibility, that QC can ultimately work.)
If we see the milestone of "quantum supremacy" achieved in the next few years -- i.e., a 50-70 qubit quantum computer used to solve some artificial sampling task many orders of magnitude faster than we know how to solve it classically -- that will obviously be one strong indicator that the potential of QC can be realized. An even better indicator would be the use of a quantum error-correcting code, like the Kitaev surface code, to keep encoded qubits alive for longer than the underlying physical qubits are staying alive for (or better still, to perform 1- and 2-qubit gates on them).
By "significant chance" do you mean something like 10% or something like 70%?
Sorry, couldn't resist :-)
Even if quantum computers required near zero temperatures, superconductors and such stuff, there is no reason why you couldn't have all that in a no-serviceable-parts-inside box if the economic incentives were strong enough.
Also, what is your take on Max Tegmark's quantum suicide experiment. Would it work? If yes would that imply that each of us should expect to live a really long time subjectively?
On a more sociological level, D-Wave earned a lot of bad blood with the academic QC community by making false, inflated, and overhyped claims (with a primary offender being its founder, Geordie Rose, who's since left the company). And I certainly took them to task for those sorts of things on my blog. Then the D-Wave folks met with me, John Preskill, and other academics, and pledged to improve in how they communicated, so I was nicer to them for a while. Then they went back to egregious hype about speedups that weren't real, so I criticized them again. Nothing more to it than that. :-)
Regarding quantum suicide: no, I do NOT recommend killing yourself any time anything happens in your life that makes you unhappy, on the theory that other versions of you will survive, in other branches of the quantum-mechanical wavefunction where the bad event didn't happen. This is partly because, even assuming you accept the Many-Worlds Interpretation, "your" moral concern and responsibility presumably extend only to those branches that are in "your" future -- you have no contact with the other branches! And partly it's because I take it as almost an axiom of rationality that, if a metaphysical belief leads you to do "obviously insane" things with your life, then it's probably time to look for a better metaphysical belief. :-) (I wouldn't say the same about scientific or mathematical beliefs.)
The death of natural causes qualifies too.
Would you say that the only moral way to implement quantum suicide is with a Doomsday Device that would destroy the entire world, thus ensuring your actions won't affect anybody else even in the worlds where you die?
On a totally unrelated note, I've been trying to wrap my brain around coherent states and the photon-number/phase uncertainty relationship (e.g. http://hitoshi.berkeley.edu/221a/coherentstate.pdf). Do you know of any simple intuitive stories one can tell about that like one can with position-momentum uncertainty? I know this isn't really in your wheelhouse, but people who both understand this stuff and are willing to field questions like this are exceedingly rare (see above paragraph).
(FWIW, and for the benefit of lurkers, this question was prompted by the discussion on this blog post: http://blog.rongarret.info/2018/05/a-quantum-mechanics-puzzl.... Also FWIW, that's my blog.)
Absent an ultimate theory of fundamental physics, we're unlikely to have a full answer to your question -- e.g., to be able definitively to rule out the possibility of "hypercomputers" solving NP-hard problems in polynomial time. What we can do is
(1) to explain the failure (often, the forehead-bangingly obvious, don't-point-to-the-exponential-elephant-in-the-room failure) of all EXISTING proposals along these lines, and
(2) to point to deep discoveries in fundamental physics -- most notably, the Bekenstein bound https://en.wikipedia.org/wiki/Bekenstein_bound -- which seem to constrain any future quantum theory of gravity to have a form that would rule out these sorts of hypercomputers (for example, by limiting the amount of energy that can be pumped into a finite region, without causing the region to collapse to a black hole, and by likewise ruling out computer components that are smaller than 1 Planck length across or that do more than 1 step per Planck time).
I've often speculated that ultimately, the hardness of NP-complete problems in the physical world might come to be seen as analogous to the impossibility of faster-than-light signalling or perpetual motion machines---i.e., something that we simply take as primitive and then use to explain other phenomena in physics. But while the hardness of NP-complete problems sometimes gets used in that way already, I also think we have a lot more work to do before the situations are truly parallel. (For starters, we could prove P!=NP. :-) )
Edit: This post[1] says two classes are equal with no oracle if they are equal with respect to every oracle, but apparently only because "every oracle" includes the null oracle...
Think of all these separation problems as terrifying monsters that we have to defeat. Some monsters, like P vs. NP with no oracle, are clearly the bosses of the entire game. But in the meantime, we just try to slay whatever monsters we can, because that's how we build up our stamina points and learn ins and outs of the game. And also, almost all these monsters live in dungeons that you can only reach by slaying easier monsters first.
For now, unrelativized separations, like P!=PSPACE, are monsters that we almost never have the tools to defeat. They're like 30 levels ahead of us in the game---or maybe 300 levels; one thing about this game is that it never tells you how many levels you still need to clear.
Oracle separations---and communication complexity separations for that matter---are easier monsters. But the point I want to make is that they're clearly, unequivocally part of the same game as the harder monsters that we're trying to get to.
This is particularly clear in the case of oracle separations from PH. When theoretical computer scientists proved in the 1980s that there's an oracle relative to which PH!=PSPACE, they did so only by proving the inability of small constant-depth circuits of AND, OR, and NOT gates, so-called AC0 circuits, to compute the n-bit PARITY function. This is universally considered one of the most important lower bounds on circuit size ever shown. (Circuit size lower bounds, of course, are the dungeon that P vs. NP is the boss of.)
The connection is this: a PH algorithm that queries an exponentially-long oracle string can be seen as just a massively scaled-up AC0 circuit reading its n-bit input (with no oracle). Conversely, an AC0 circuit is just a massively scaled-down version of relativized PH. There's a giant monster that you have to fight with giant swords, and a tiny monster that you have to fight with tiny swords, but the two battles are isomorphic. Win one and you win the other.
In the same way, proving an oracle separation between BQP and PH, is exactly the same challenge as giving an ordinary computational problem (with no oracle) that quantum computers can solve in polylogarithmic time, by querying the n-bit input in superposition, but that's not in AC0.
Of course, eventually we'd like to prove that interesting problems like 3SAT have no polynomial-size circuits of any kind, thereby establishing P!=NP. For now, though, a little beyond AC0 is the frontier: the most complicated place where we still know how to prove lower bounds on circuit size. And for problems that have the sort of structure that comes with being solvable in quantum logarithmic time (basically, being approximable by low-degree real polynomials), we didn't know until a month ago even how to put them outside AC0, let alone the classes slightly beyond AC0. So an important monster has been slaughtered in the frontier region, and we can now advance to a previously unexplored corridor, in the huge sprawling dungeon where somewhere P!=NP is lurking.
1) You say applying the unitary operation is the quantum analogue of "taking a coin and flipping it" - what do you mean by this? Could we think of, for example, a pair of slits as applying this transformation on a photon qbit being sent through them, so it's now in superposition with regard to which slit it went through?
2) What does it mean when you say there are two paths to |1>? I understand this section is getting at the physical underpinnings of this mathematical model, but I can't quite wrap my head around how there are two "paths". My mind is stuck thinking of the Bloch sphere as a state machine you can deterministically hop around by applying unitary transformations.
P.S. I did a talk called Quantum Computing for Computer Science which covers everything up to the one-bit Deutsch Oracle problem in 1.5 hours; I found that presenting quantum algorithms as running on a "unit circle state machine" (basically 2d Bloch sphere by restricting states to real numbers) was a very effective way to explain the subject to software engineers! (https://www.youtube.com/watch?v=F_Riqjdh2oM)
2) When we talk about the different "paths" that contribute to a given amplitude, it's just a fancy way of saying that we can organize the matrix multiplications in such a way that the amplitude we want is a giant sum. So for example, suppose we apply Hadamard twice in sequence to the initial state |0>. The first Hadamard maps |0> to (|0>+|1>)/sqrt(2). The second Hadamard maps |0> to (|0>+|1>)/sqrt(2) and |1> to (|0>-|1>)/sqrt(2). So by linearity, it maps (|0>+|1>)/sqrt(2) to
((|0>+|1>)/sqrt(2) + (|0>-|1>)/sqrt(2))/sqrt(2) = (1/2+1/2)|0> + (1/2-1/2)|1>.
So in this case, we could say that there are "two paths leading to |0>," both of which contribute 1/2 to its final amplitude (so that the amplitude is 1). There are also "two paths leading to |1>," but one contributes 1/2 to its amplitude and the other contributes -1/2, so the two contributions interfere destructively and the final amplitude of |1> is 0.
This is sometimes called the "Feynman" or "sum-over-paths" picture of quantum mechanics. As you can see, though, it's just a different way of looking at exactly the same math, namely multiplication of matrices and vectors.
So then why use the sum-over-paths picture at all? Well, a few reasons: physicists like it because it often gives them more insight into what's going on, into what are the more and less important contributions to a given process, and it can also make calculations easier. Meanwhile, computer scientists like the picture because it lets us simulate a quantum computer by a classical computer, still using exponential time but now using only a linear amount of memory, rather than the exponential amount of memory we'd need if we tried to store all 2^n amplitudes at once.
As for "careers in science", what can someone later in life (I just turned 60, can't believe it) still do? I have a CS degree from ages ago, and have a scientific mindset (runs in my family, e.g., my sister was a research scientist [mathematician] before retirement). I don't want to retire anytime soon. But I'm unlikely to get into grad school. I can take MOOCs of course, and do. My interest in science tends toward neurology and embodiment.
Of course there's a chicken-and-egg problem here, where the stronger your research record, the more busy researchers will want to talk to you, and the more they'll talk to you, the stronger you'll be able to make your record. Just like with dating or anything else, I guess, it does take persistence to break this cycle. :-)
And of course, you'll need to be considerate of people's time, and you'll need to decline to take it personally if some people are too busy to answer you. Just plow ahead and ask others.
Lastly, let me strongly suggest finding some other people who started their research careers later in life, and asking their advice. They'll surely be able to think of things I didn't!
Two questions:
1. Any meaningful updates you'd make to the PnP survey today?
2. As a total aside, I'm curious for your thoughts on blockchains. Not specifically proof of work as a BFT system per se, but more broadly curious to what degree you think "trustless" transactions and data processing might or might not be transformative.
Apologies in advance if you've recently provided thoughts on either of these topics and I've sadly missed them!
2. See here for my answer to someone who asked me for my thoughts on blockchain just a couple weeks ago: https://www.scottaaronson.com/blog/?p=3861#comment-1768247
If you still have time to answer questions.. is there any recent work in the cryptographic or blockchain space you see as standout? I haven't referred recently to any citations or updates, but found Ben-Sasson, Bentov, Horesh and Riabzev's recent work (https://eprint.iacr.org/2018/046) on ZK-STARKs intriguing.
Can you shed some insight into what's really different about the tools and task of programming a quantum computer versus using classical programming languages and tools? Do you think quantum computer programming will rapidly become standard training for CS undergrads, or do you expect it to remain a niche skillset like FPGAs, etc, since it will only supplement and not replace classical computers.
Also, nice to meet you. Your essays have been inspiring over the years.
I imagine that programming QCs will be a lot like programming classical computers, except with an additional body of technical knowledge that one needs to master. In that respect, it will be a lot like 3D graphics programming, or crypto programming, or AI programming, or compiler programming. And much like with those other types of specialized programming, even in a world filled with useful QCs, I imagine that only a minority of programmers would really need to understand how to interface with them.
Everyone: OK, I'm going to sleep now, since I need to catch a flight tomorrow morning. I'll try to answer a few more questions on the plane, but then I'll probably call it a day (or rather, two days :-) ). No additional questions please. Thanks for all the interesting questions!
Long answer: See my recent blog post https://www.scottaaronson.com/blog/?p=3848 about exactly this!
1. Are mind processes Turing-computable?
2. If yes, at which level in the brain does the consciousness emerge?
Penrose's answers to that (as far as I know) are not generally accepted by the scientific community. What is your intuition about these two questions?
See also his blog posts on IIT, etc., such as: https://www.scottaaronson.com/blog/?p=1799
There are non-quantum physical systems that exhibits positive and negative amplitudes and interference.
Can I factor large numbers by throwing rocks in a lake and measuring the water height at the right place? Why not?
https://en.wikipedia.org/wiki/Analog_computer
An analog computer or analogue computer is a form of computer that uses the continuously changeable aspects of physical phenomena such as electrical, mechanical, or hydraulic quantities to model the problem being solved
I don't think it has much to do with QC, but analog computing is interesting in its own right.
Some other interesting references:
- The waterfall argument in paragraph 6 of the mind-boggling "Why Philosophers Should Care About Computational Complexity". https://www.scottaaronson.com/papers/philos.pdf
- "NP-complete Problems and Physical Reality" https://www.scottaaronson.com/papers/npcomplete.pdf
How about if you never excelled at these topics in school? Is hard work enough, or do you think some people are born with these talents?
Sure, inborn talent matters. Hard work matters. And what about the less-appreciated converses of those two qualities: namely, acquired talent and inborn propensity for hard work? :-)
We could also mention drive to seize opportunities, judgment in picking the right problems to work on, social skill to get potential collaborators excited about those problems, and of course luck. And probably 200 other things I forgot. They all matter.
Maybe the key is, instead of struggling against the profile of abilities that fate handed you, to find a subject or problem that's an optimal fit for that profile. Had Darwin been forced to spend his life as a mathematician, Godel as a biologist, or Einstein as an experimentalist, you would never have heard of any of them.
While some people might be born with a proclivity for these activities, I wouldn't say any individual could not get into science. For the truly uninitiated, check out Planet Earth, Blue Planet, or Cosmos. For the novices, check out your local astronomy club, ask scientists you know to explain their work to you, and don't be afraid to ask follow-up questions. Get into reading science articles in the popular press, and use those to find links to the real research articles, which will be VERY hard to read for beginners. Feel free to skim those, look at graphs/charts/evidence, and read the abstract/conclusions rather than the intro/methods and the whole thing. Finally, check out some MOOCs or local community classes/continuing education.
That depends on how tightly you define "science". If you mean "science in traditional academia, working for/at a major research university or research consortium" then you are almost certainly correct. But if you expand the definition to include the corporate world, and roles that maybe aren't pure research, then I would argue that you can get a job doing science with less "paper credentials" than one might expect.
Whether or not that would/could apply to anything related to QC, I'm not sure, as I don't work in (or even really near) the QC domain. But to pick one example: in terms of machine learning / AI, I've definitely seen it. But maybe AI/ML is an exception to everything else just because it is (at the present) such an empirical / observation / experiment based domain.
Outside of all of that is the notion of "create your own job". If you want to be a researcher in Field X, start a company related to Field X and hire yourself. And, no, I don't intend that to be a glib answer, and I certainly acknowledge that it A. isn't easy, and B. is probably harder / easier in some domains than in others.
Of course, this is just a warning, just be aware of what you're getting into.
Even barring these possibilities, professors who have tenure or tenure track positions just by virtue of statistics are extremely lucky: many smart people write their theses and do substantial work, but there are a small number of actual positions relative to the number of PhD's awarded. For example, in Physics, I think there are may be dozens of openings in the US every year while there are thousands of newly minted PhD's per year, and the majority of good positions as you can imagine go to graduates from a handful (O(1) number) of schools, anything below the top 10 is significantly less well poised for tenure track professorships. Thus, you have to take a professor's advice with a grain of salt, for they're potentially influenced by survivorship bias.
For an attempt at a popular summary of what the circuit lower bound innovations consisted of, see my blog post:
https://www.scottaaronson.com/blog/?p=3827
or, of course, their paper.
No, this doesn’t much change my priors about the power of quantum computation—for one thing, because we all (or at least I :-) ) were already pretty damn confident that Forrelation was not in PH. On the other hand, I was not expecting that the separation could be proved right now—certainly, not without first proving some weaker separations like BQP vs. AM.
By now, there are large interdisciplinary programs in quantum information science (at Waterloo, Caltech, MIT, Maryland, Berkeley, CWI Amsterdam, Singapore, Oxford, and elsewhere), as well as smaller programs like the one we've been building at UT Austin -- where in some sense, the work of blending math, CS, and physics into the smoothie of quantum information science has already been done. So one obvious option for a student interested in this field would be to seek out one of those programs -- they typically have courses and research opportunities even at the undergraduate level.
I take it you don't believe in the SIA? Is this paradox irreducible? Is the world going to end soon?
In quantum computing in the US, we have no right to complain right now about the level of federal funding, since almost everyone else has it worse! For us, the limiting factor has instead tended to be tenure-track faculty positions in CS and physics departments. All the funding and brilliant students in the world wouldn't matter if, outside of a few elite universities, the CS departments all said "this is really physics," the physics departments all said "this is really CS," and both treated it as a passing fad that might disappear in a couple years. Fortunately, though, the situation has steadily improved and I expect that to continue.
On the whole, I think the fact that Google, Microsoft, and other companies hire so many CS PhDs is good, not bad. That's a big part of what lets us admit lots of talented PhD students, and honestly tell them that their career prospects afterward are good. On the other hand, I think it's also true, as you say, that society could better capture the value of a lot of these people by trying to keep them in the open academic world.
If so, could it be adapted to learn the rules when we're not clear on them either, like those for the games of love or politics?
Since you asked me, though, I did a quick Google search and found the following paper:
https://arxiv.org/pdf/1711.09667.pdf
where indeed they use machine learning to induce the rules of chess from a large number of played games (and then learn to play better than any human). It doesn't surprise me at all that this would be feasible with current tools, although I haven't studied the paper yet, and would be curious to know how many games you need before you've learned all the rules around, e.g., castling, en passant, promotion of pawns, and perpetual check.
My guess is that for a machine to learn the rules of the games of love and politics will take somewhat longer. :-)
They didn't induce the rules of chess! What they did was learn an evaluation function for chess moves, from scratch, i.e. without giving it the rules or any hand-crafted features.
So they learned a classifier for good/bad board states, which was later used in an alpha-beta minimax search. However, the classifier didn't learn the rules of the game, only a mapping from board positions to labels, good/bad. This is not made explicit in the text, but minimax typically has a rule-base to generate moves as successor states for the search; so the rules of the game were hand-crafted, but did not contribute to the learning of the evaluation function.
It's extremely hard to induce a set of rules with neural nets, or indeed any statistical machine learning algorithm. I mean, imagine representing the rules of chess as a function; let alone trying to learn that function from data.
(Full disclosure: I study algorithms that learn rules from data; they're not neural nets).
Since you obviously know this subject, what are the best current results in the direction of inducing the rules of chess from played games?
Love and politics have rulesets that are many orders of magnitude more complex; so complex that we don't even know how to write them all down.
You'd think so. Try googling "chess rules induction".
More seriously: people have mooted this possibility for as long as I've been in this field (~20 years). But keep in mind that, when Cocks and Williamson at GCHQ discovered what would later become known as RSA and Diffie-Hellman key exchange---so, 3-4 years ahead of the open world---cryptography essentially didn't yet exist as an academic subject. Almost all the action was still closely tied to the intelligence community. So, no surprise that a not-yet-existing discipline had fallen behind!
By contrast, quantum computing has been openly studied for decades and has thousands of people working on it all over the world. The central thing that causes me to be skeptical of the "million-qubit quantum computer sitting in the NSA's basement" hypothesis, is that we pretty much know who the best people are, and we haven't noticed any effort to vacuum them all up analogous to the Manhattan Project.
Like, it's no secret that the NSA and DoD, and other military and intelligence agencies around the world, are interested in this field and fund a good deal of work on it. In fact my main grant right now (the Vannevar Bush Faculty Fellowship) comes from the Office of Naval Research. But if the secret world is light-years ahead of the open world, then they'd also need to be executing a giant cover operation of pretending to care about what we in academia are doing! :) So at what point does it become an unfalsifiable conspiracy theory?
1. What do you think is the potential for emergence of a third computing model, apart from classical and quantum, which is sufficiently different in its fundamental computing paradigm from these? Do you believe biological substrates offer opportunity for computing which classical/QC cannot replicate?
2. If we achieve quantum supremacy, who do you think will be the biggest winners and losers, in terms of professional skill set and in terms of business models for private companies? Will physicists become much more influential if their ability to model and deliver new evidence (and thereby theory) and convert them into commercial products is advanced?
3. Would it be fair to say that d-wave machine is more an analog computer than a quantum computer; And do you think there is possibly a class of computing problems that might be better/more efficiently solved by analog computers than digital, and without requiring QC?
2. Yes, if quantum computing is successful, I imagine that might be good for the careers of many of the people involved in quantum computing.
3. Regarding D-Wave, there's this weird tendency to get fixated on words and definitions (but is it "really" QC or "really" analog?) even after you've explained the reality of the situation. See https://news.ycombinator.com/item?id=17426023 for my current summary.
Again, I'm skeptical that analog computers will ever be able to solve any problems outside BPP---for that I think you need a QC. (I.e., if not for quantum mechanics, I would have believed in the Extended Church-Turing Thesis. :-) ) Whether analog computers will ever again compete with digital ones on the constant factors, leaving aside the asymptotics, for problems that people actually care about, is a harder and more complicated question to which I don't know the answer.
Do you think we will see a Quantum Winter (or even several), similar to how we've had several AI Winters?
We see tremendous amounts of funding in academia (and also industry) to build ambitious projects that still have significant issues to overcome (both theoretical and engineering) before being any close to being implemented. At the same time there (still) seems to be much misunderstanding, such as Vivek Wadhwa's recent post[0] or various reports about an unhackable internet based on quantum information. I am afraid that this may lead to people having unrealistic expectations on what can be built and how fast it can be built, with the consequence that we will see less and less funding and investments in the nearby future.
The fear of a quantum winter is one reason---if any reasons were needed besides the truth!---why I've spent so much effort on my blog over the past decade trying to counter irresponsible QC hype. Like, if anyone ever comes to me and says "you lied to me! it turns out that scalable QCs are really hard to build, and a lot more basic science needs to be done, and even if you did manage to build them, as far as anyone knows they'd only give you exponential speedups for a few special problems, not for most of the stuff my company cares about," I'll have a pretty enormous record that I can point to when I reply, "I WAS SCREAMING THAT AT THE TOP OF MY LUNGS AND YOU DIDN'T WANT TO HEAR IT!" For all the good it will do. :-)
Then again, maybe the worry is overblown. Some people claim that we've now passed the point where there will never again be an AI winter, any more than there will be an "electricity winter." The train just has too much momentum. Likewise, so long as the pressure continues to get more and more computing power and stave off the end of Moore's Law, it could be that QC will continue to entice people, regardless of the naysayers and regardless of how hard the engineering problems turn out to be.
I honestly don't know. I feel like I have a hard enough time understanding and communicating the truth about where this field stands in the present---and sometimes, trying to advance it by a small increment---without also prognosticating its future. :-) The latter involves all sorts of questions of economics, politics, and psychology that I have no special expertise about.
David Deutsch, in his book "The Fabric of Reality", gives example of a problem that is presumably easily solvable by the quantum computer. On the other hand, he explains that the total number of particles in the universe is smaller than number of computations that will take place. The question that he poses is where the problem was actually solved? His answer is that there parallel universes, and the computation is performed in these universes. He also stipulates that the "weird" quantum behavior of particles, such as spooky action at a distance, all could be explained by the multiverse. What is your opinion about the multiverse and potential of quantum computers to solve quantum physics problems?
"Logically, the possibility of complex quantum computations adds nothing to a case [for the Many Worlds Interpretation] that is already unanswerable. But it does add psychological impact. With Shor’s algorithm, the argument has been writ very large. To those who still cling to a single-universe world-view, I issue this challenge: explain how Shor’s algorithm works. I do not merely mean predict that it will work, which is merely a matter of solving a few uncontroversial equations. I mean provide an explanation. When Shor’s algorithm has factorized a number, using 10^500 or so times the computational resources that can be seen to be present, where was the number factorized? There are only about 10^80 atoms in the entire visible universe, an utterly minuscule number compared with 10^500. So if the visible universe were the extent of physical reality, physical reality would not even remotely contain the resources required to factorize such a large number. Who did factorize it, then? How, and where, was the computation performed?"
So, what do you do when you're not flipping qubits around?
Got any cool stories you wanna share?
(I don't really have much to ask you since anything I could comprehend is easily googlable and I don't wanna waste ur time. Just wanna say keep up the good work and thanks!)
I've already corrected my very mistaken understanding of how QC works, as in the tagline of your blog. Are there any other concepts that we need to shake off that would make explaining these concepts easier for the layman? Do you have any words of wisdom for the masses?
In reality, quantum mechanics is carving out a third profile of abilities, which is neither as weak as the classical profile, nor as strong as the thing that people mistakenly overcorrect to once you tell them that the classical profile is inadequate. E.g., you can violate the Bell inequality but NOT send instantaneous signals; you can solve factoring in polynomial time but probably NOT NP-complete problems. As I like to say (someone already quoted it elsewhere), it's a sufficiently strange state of affairs that no science-fiction writer would have had the imagination to invent it.
But then, if we reject AC, we can have infinite sets that are incomparable (i.e., they're not isomorphic and neither is larger than the other). So pick your poison!
Thinking about such things for too long makes me feel grateful that I spend most of my time in the finite world (or, let's say, the world of continuous parameters that we only ever measure to finite precision, so that the statements we care about can ultimately be phrased arithmetically). In this world, because of e.g. the Shoenfield absoluteness theorem, anything that can be proved with the help of AC can also be proved without it.
For other people reading, here's the blue/red hats puzzle that Scott was referring to (edited from https://en.m.wikipedia.org/wiki/Hat_puzzle#Prisoners_and_hat...):
> A countably infinite number of prisoners, each with an unknown and randomly assigned red or blue hat, line up in a single file line. Each prisoner faces away from the beginning of the line, and each prisoner can see all the hats in front of him, and none of the hats behind. Starting from the beginning of the line, each prisoner must correctly identify the color of his hat or he is killed on the spot. The prisoners have a chance to meet beforehand, but once in line no prisoner can hear what the other prisoners say. The question is, is there a way to ensure that only finitely many prisoners are killed?
The solution is that it is possible, and you can look on the Wikipedia page to find out how.
Even more paradoxical is that the prisoners can still save all but finitely many of themselves even if there are infinitely many possible hat colours. For example you could allow the hat colours to be specified by three real numbers giving an RGB value.
My apologies if that sounds ridiculous, I'm honestly not that attentuated to making much sense to myself.
> Thinking about such things for too long makes me feel grateful that I spend most of my time in the finite world
Hmm.
> For example, breaking almost any cryptographic code can be phrased as an NP problem. So if P=NP—and if, moreover, the algorithm that proved it was “practical” (meaning, not n^1000 time or anything silly like that)—then all cryptographic codes that depend on the adversary having limited computing power would be broken.
Can you explain this reasoning more precisely? The class P contains difficult problems that require O(n^googolplex) algorithms, so are not solvable in practice. The fact that P=NP would not make these problems any easier.
My recollection is that there were 3 necessary gates for a quantum functionally complete set: One gate was classically functionally complete, the other two are where I got lost. Can you explain like I'm 5 (or explain like I'm an undergrad with minimal QM knowledge) what these other gates are doing?
Thanks!
If your question was instead to explain the concepts of superposition and interference themselves, then unfortunately that would take more time. However, you could try some essays that I wrote a while ago
https://www.scottaaronson.com/writings/highschool.html
https://www.scottaaronson.com/blog/?p=208
in addition to the resources that have been linked to elsewhere on this thread.
This is oddly comforting. As Tim Ferris said in Tools of Titans, every successful person is dysfunctional in some way. I guess the trick is to work around your own personal deficiensies, and that's something everyone must figure out on their own.
Is there any chance advances in quantum computing will affect crypto currencies. I.e. it might be possible to shortcut mining or mess with the quorum of the distributed ledger?
I'm curious as crypto currency is so hyped, it would dismay me that advances in quantum computing might disrupt the current landscape, or even better improve it in some way. Entanglement is already deployed and in use for data transit, in curious how annealing or other physics might be a game changer
Briefly, a fully fault-tolerant quantum computer could give a square-root speedup for Bitcoin's proof-of-work, and could completely break its elliptic-curve-based signature scheme. Both issues could in principle be fixed by migrating Bitcoin to quantumly harder problems, though in practice doing so could open up security holes of its own. This hasn't been done, but I think maybe there are other cryptocurrencies trying to use quantum-secure crypto from the outset? Googling just now, I found something called "Quantum Resistant Ledger" (https://theqrl.org/) -- does anyone here know more about what's out there?
Let me stress that none of this is a concern with the QCs of the near future, which will have at most a few hundred decent qubits and no error correction, and which will not be able to threaten Bitcoin or any other cryptography.
Do you think that chaotic systems would be better analysed by quantum computing over classical computing? More generally, is BQP powerful enough to deal with chaotic systems in the same way P is for linear systems?
Oh, and I think your review of "Enlightenment Now" was a bit too rosy. When he analysed the data he's superb, but he seems to lambast people he heavily disagrees with. Its a tad disheartening.
Stepping back, note that "quantum" and "nonlinear" are two completely different concepts -- in fact, at the level of amplitudes (i.e., the Schrodinger equation), quantum mechanics is the one example we have in physics of a perfectly LINEAR theory! Alan Sokal had a lot of fun with that point in his "Social Text" parody article: http://www.physics.nyu.edu/sokal/transgress_v2/transgress_v2...
On the other hand, this is perfectly compatible with quantum systems having chaotic phenomena at the level of observables (like the positions and momenta of particles), and in fact there's a whole field called "quantum chaos" that studies such situations.
I just wanted to say that I think your writing helped me appreciate Michael Cohen and learn what an amazing person he was. The more I read about him, the more I want to be like him. What qualities do you think helped him contribute and be such a great person? What do you think a lackluster programmer could do to be more like him?
This terrifies me
(But if it makes you feel less terrified, you could also choose one of the interpretations according to which "only our branch is real." As far as anyone can tell today, there are no consequences for any experiment we'll ever be able to do.)
Also, what do you find terrifying about the existence of multiple universes where every possible outcome of a decision you make plays out?
Is this a known known that our brain doesn't use QC?
Given your particular situation, it sounds to me like you should not only buy QCSD, but buy 200 copies of it to give all your friends and family. :-)
More seriously, the overlap between QCSD and WPSCACC is actually relatively small---e.g., WPSCACC just has one short section about quantum mechanics, whereas that's at least half of QCSD. QCSD is also written in a much chattier style (but at the same time, it has more space to exposit basic material). I can't guarantee that you'll like QCSD, but I hope that gives you a sense for the diff.
Having said that, in classical probability theory, it's sometimes useful to look at the (positive) square roots of probabilities, for example to get a distance measure between probability distributions. See here:
https://en.wikipedia.org/wiki/Bhattacharyya_distance
Also, we've often been able to use quantum tools to prove new results even about classical theoretical computer science. See here for a beautiful survey, though one that's already a decade out of date:
https://arxiv.org/abs/0910.3376
In this way, the mathematical tools that we've developed in quantum information can "pay rent" in classical CS, even if we counterfactually imagined that our world wasn't quantum-mechanical at all. It would take some time to go through an example of this, but (e.g.) it was shown that if a certain classical error-correcting code existed (called a 2-query locally decodable code of subexponential size), then an even better quantum error-correcting code would also exist, but the latter was something that people already knew how to rule out.
In these situations, some people would argue that we're not "really" using quantum physics or amplitudes; we're just taking MATH that was developed for that purpose, and repurposing it for something else. But it would be weird to say in a talk, "I'm now going to introduce a unit vector of complex numbers that's just an ordinary vector, nothing physical at all about it, then apply the following tensor product of 2x2 and 4x4 unitary matrices to it...," when everyone knows full well that all your intuition about this came from quantum states. Indeed, I confess that even when I'm doing linear algebra that has nothing to do with QM---i.e., my vectors really are just vectors of real or complex numbers, not amplitudes---I sometimes slip up and use the physicists' notation for quantum states (called the Dirac ket notation).
Would it affect the things many people do most on their phones like messaging, news and social media
If there is do you think we're perhaps less than 10 years from QC capable of breaking common number theory based asymmetric cryptographic algorithms like RSA or elliptic curve for at least lower key strengths? That's what these graphs suggest.
(I know breaking crypto is not by any stretch the only or the most valuable thing you can do with QC but it's the one that gets the most press and it's relevant to my current work.)
Yes, you can make plots of the number of qubits, coherence times, etc. as a function of year -- and if you listen to talks by John Martinis, Chris Monroe, or the other leading experimentalists, you'll often see such plots. But at the very least, you need to look at both dimensions (qubits and coherence time) -- not just at "number of qubits," which will be severely misleading! And even if you do, there are very few data points to use for extrapolation, since it's really only within the last ~6-7 years that people have even gotten qubits to work well in isolation, let alone scaling them up. So it's really hard to extrapolate.
Like, I'm hopeful that within the next decade, we'll have systems with a few hundred qubits that will be good enough to do some useful tasks that are classically intractable (such as quantum simulation), though they certainly won't be threatening public-key crypto yet. But I'm not sure even about that. And I'd prefer to see what happens with this before speculating about the timescale for the next step, of building a full universal QC (the kind that would break our existing public-key cryptosystems)!
Back of the envelope:
- It takes 9n error-corrected qubits to break an n-bit ECDH key [1]
- Each error-corrected qubit requires ~2500 physical qubits [2][3]
- Typical ECDH key size is 256 bits [4]
- This year would be the year of ~64 physical qubit machines. [5][6][7]
- log_2(256 * 9 * 2500 / 64) ~= 16.4 years
Note that every one of the quantities in the estimate is subject to future research. E.g. the error corrected qubit size is smaller when using lattice surgery, but not enough to really move the needle on the time estimate.
[1]: https://arxiv.org/abs/1706.06752
[2]: See section VI of https://arxiv.org/abs/1805.03662
[3]: https://docs.google.com/presentation/d/e/2PACX-1vReeRxH80Ruu...
[4]: https://crypto.stackexchange.com/a/47337/7860
[5]: https://ai.googleblog.com/2018/03/a-preview-of-bristlecone-g...
[6]: https://www-03.ibm.com/press/us/en/pressrelease/53374.wss
[7]: https://newsroom.intel.com/press-kits/quantum-computing/#49-...
I just wanted to say I wrote a student-paper on quantum computational complexity last year and I felt like your papers made up almost 90% of my references. Thank you for making my learning about the subject possible!
On to my question: I'm working on a capstone project right now that's using quantum computing to create a small video-game. I'm using the 5-qubit quantum experience from IBM and I was wondering if you had any cool ideas/suggestions for small game experiences that could use actual quantum computing resources to teach people about the properties of quantum mechanics?
Thanks again for all your work in understanding the quantum world, Scott.
Notably, this game doesn't even try to teach about entanglement (which, no surprise, is hard to keep track of in your head!). Tt deals only with a single photon passing through a network of beamsplitters and phaseshifters: a situation that has one foot in quantum physics and one foot in classical physics (the macroscopic state of a laser beam obeys exactly the same math). But the puzzles are really clever!
If you're just trying to create an educational game, why bother using the Quantum Experience? Won't it just introduce enormous errors and delays (~30 seconds per run when I tried it), complicating and obfuscating whatever you're trying to teach? Why not just make some puzzles that force people to reason about small, idealized quantum systems, along the lines of the successful example above?
I am looking at using something like the Quantum Experience for two reasons: 1) Because giving people real quantum computing results is really cool, and 2) Because it's my capstone project and the work has to have a certain threshold of technical exploration. That being said, I'm not well-versed in alternatives that could maybe just simulate quantum properties without having to go through an actual quantum computer.
I have been looking into creating a small quantum neural net (with either real or simulated qubits) to show how that differs from a neural network running on classical computing. I've been trying to work that into a game idea but I'd be lying if I said I've come up with anything compelling yet. If you got any cool game mechanics/ideas you think quantum computing resources would lend themselves to then I'm all ears!
This may be an ill-formed question, but it's something I've been thinking about for a long time:
Do you think the human mind is equivalent to Turing machines, or somehow above it? Assuming we have an infinite tape/memory and time.
The first one is, can the human brain be simulated by a Turing machine in its input-output behavior (to a suitable precision, given appropriate initial data, yada yada)? Note that, even though you specified "infinite tape/memory and time," from the outset I'm going to outlaw "simulations" that simply cache what the human would do in response to every possible stimulus in a gargantuan lookup table. For that kind of simulation trivially exists, and its existence tells us nothing interesting. I'll insist instead that the simulation be "reasonable"---so, at a minimum, that it simulate the brain without an exponential blowup in size.
I don't know for certain, but as a believer in the physical Church-Turing Thesis, my guess is going to be yes, this is possible. I.e., I guess that the laws of physics are fully computable---that there's nothing in them like what Roger Penrose wants---and I see no evidence that the brain can violate the laws of physics that govern everything else in the universe.
(Even here, though, there remains the extremely interesting question of whether, even in principle, one could scan a specific person's brain well enough to "bring additional copies of the person into being," without simply killing the person if one tried. My friends in the futurist and singularity movements expect that the answer is yes, but if one needed to scan all the way down to the molecular level, then the No-Cloning Theorem of quantum mechanics would certainly present an obstacle. For my thoughts and speculations about this question, see my "Ghost in the Quantum Turing Machine" essay, which was referenced elsewhere on this thread: https://www.scottaaronson.com/papers/giqtm3.pdf )
Anyway, the second question is whether, even if we agree that a human brain can be simulated by an appropriate Turing machine, there's some special sauce of consciousness that makes there be something that it's like to be us, but nothing that it's like to be a conventional Turing machine. I.e. there's Chalmers' "hard problem of consciousness."
Here I'm going to plead ignorance, with my extenuating circumstance being that we're up against arguably the ultimate mystery of existence. :-)
Yes, I feel like there's something that it's like to be me. (Though if I were a philosophical zombie, just a glorified Turing machine made of meat, I could've told you exactly the same thing, so you should take whatever I have to say about this with a grain of salt. :-) )
And yes, I take it as axiomatic that there's similarly something that it's like to be you---or for that matter, to be a chimpanzee or a dog (but an ant? a bacterium? unclear). No, I don't understand it. No, I don't know what properties of a computational process are either necessary or sufficient to cause there to be something that it's like to inhabit that process; I don't know how we should build an AI either to ensure that it's conscious or to ensure that it isn't. In practice, we'd probably have to extend a presumption of consciousness to anything that behaved sufficiently similarly to us---that, famously, was Turing's point in 1950. But even here there are many uncertainties: for example, would you still take a machine to have "passed the Turing Test" if you could perfectly predict everything it would say given a copy of its source code---not just in principle but in practice?
what would you say are the main reasons why you in your mid-thirties are a professor at a prestigious university?
Sheer determination and perseverance? Less partying and more learning? Your upbringing?
I’m asking, because sometimes there’s an interesting story behind it, like with Matt Might (http://matt.might.net/articles/tenure/) who found himself in a objectively bad situation — a child believed to die soon — making him reevaluate priorities and getting successful as a side effect.
Now that I have tenure and a wife and two kids, and get to travel the world and study what interests me, I'd like to tell myself a story according to which "all the hard work and sacrifice ultimately paid off." On the other hand, I know people who had fantastic social lives all throughout college and are now also highly successful---an instance of the general phenomenon that there's no justice in the universe. :-D
Anyway, if you're interested, I told some more of my story in my Scientific American interview with John Horgan - https://blogs.scientificamerican.com/cross-check/scott-aaron...
Of the two main possible applications of QC, i.e. computational chemistry and cryptography, it's often just cryptography that is mentioned in the media. The Wikipedia entry on QC, in its "Potential" section, discusses mostly cryptography, while only two sentences are dedicated to chemistry. Cryptography is also used as the toy-problem for QC prototypes, i.e. factoring integers.
However, as I understand it, QC-for-cryptography will break existing techniques, and will not (from an application standpoint) bring anything new to the table.
Therefore, my question: does QC have a PR-problem?
Everyone who follows QC knows that simulating quantum chemistry could be commercially important, while breaking RSA is not. And as far as I can tell, no one cares anymore about doing tiny demonstrations of Shor's algorithm, to factor 21 into 3x7 or whatever. Over the past 5 years, the experimental interest has shifted to (1) demonstrating sampling-based quantum supremacy (which has nothing to do with Shor's algorithm), (2) demonstrating the building blocks of quantum error correction, and (3) the prospect of doing useful simulations.
(A central reason for this is that, until you have a full fault-tolerant QC with millions of physical qubits, you almost certainly can't run Shor's algorithm in a way that will outperform a classical computer, even if you wanted to. By contrast, people are excited right now that they might be able to learn something new for physics or chemistry with just a few hundred good physical qubits.)
So anyway, we all know all of this, but popular expositions still like to concentrate on breaking public-key crypto because of its wow-factor (and, of course, the undisputed theoretical importance of Shor's algorithm, and its possible eventual security importance). In addition, there's often a time-lag problem, where the people working in the field have one set of concerns, and then the broader discussion is still stuck in the world of 1997.
Can you explain to me the concept of "logical qubit", and the whole debacle about qubit quality? I'm still getting confused again and again over this.
The longer a qubit lasts while maintaining its quantum coherence, and (especially) the more operations you can do on it while keeping it coherent, the better that qubit's quality.
In practice, we will never be able to build qubits of perfect quality (i.e., ones that maintain their coherence forever except when we deliberately measure them). In the 1990s, some people thought this would be a fatal obstacle to scaling up QCs. But then two closely-related discoveries, called quantum error-correction and quantum fault-tolerance, dramatically changed the picture. These discoveries showed that, even if your physical qubits fall short of perfection, as long as they have a high enough quality, you can glom a bunch of them together into a single "logical qubit"---that is, a qubit that lives in the collective state of multiple physical qubits, and that can still be recovered even if any small number of those physical qubits lose their coherence. Furthermore, one can do an arbitrarily long quantum computation on these encoded (logical) qubits, continuously monitoring to see which of the physical qubits have suffered errors and correcting those errors (but not monitoring in a way that would collapse the logical qubits!). In this way, one can in principle build a reliable quantum computer out of unreliable parts---a generalization of John von Neumann's famous discovery from the 1950s, which showed that the same was true of classical computation.
I am interested in attending graduate school for a PhD in Computer Science and am beginning to think about the areas of research I'd like to get involved in.
Below are a few sporadic questions.
1) I really like mathematics, so what are the foundational areas of mathematics in quantum computing? What areas of mathematics should researchers know very well?
2) Are there any exciting connections between machine learning and quantum computing that you know about?
3) What is a problem that really excites you about the field at this very moment?
4) Can you direct me to good books, papers, or resources for the absolute beginner in quantum computing?
Two good sources for newer material (from the past quarter-century) are "Complexity Theory: A Modern Approach" by Arora and Barak, and "The Nature of Computation" by Mertens and Moore.
A personal, idiosyncratic favorite is "Gems of Theoretical Computer Science" by Uwe Schoning.
If it turned out to be true that advances in advertising technology like profiling and microtargeting (see, e.g. [1]) could effectively deliver the likelihood of electoral victory to their highest paying and most ruthless practicioners, would this be something to worry about? And if so, what action should we take in order to preserve democratic ideals?
1: https://medium.com/join-scout/the-rise-of-the-weaponized-ai-...
Honestly, I don't see scientific papers going away anytime soon. What's the alternative to an individual or group setting out clearly in writing what they discovered, the evidence that it's true, and the background and context to the discovery, putting the writeup where interested people can easily find it, and then taking full responsibility for it, so others can cite and build on the work? As far as I'm concerned, that's all a "scientific paper" means---regardless of whether it appears in a prestigious journal or just the arXiv or somewhere else on the web, and whether it otherwise follows normal academic writing conventions or flouts them. Even an answer on a website like MathOverflow, were it sufficiently well-written and sourced, could as far as I'm concerned be cited as a research paper and given academic credit.
But while "papers," for some definition, are probably here to stay, I'm optimistic about deep reform to the system of journals. The first step, of course, should be for academics to shake off the yoke of the truly brazen predatory publishers like Elsevier. Many of us have already pledged never again to review for or submit to those publishers, at least until they fundamentally change their practices. For more about this, see my review of "The Access Principle": https://www.scottaaronson.com/writings/journal.html
As the next step, we should break free even of society journals, insofar as they put research results behind a paywall. Everything---certainly if it was funded by the taxpayers---should be freely accessible on the web. (In math, CS, and physics, we already put essentially all our papers on the arXiv, where they're freely available, and have been doing that for ~25 years. But the fact that the paywalls even exist still rankles---and other fields, like biology, have yet to catch up.)
Ultimately, we might converge on the model of journals as "arXiv overlays": that is, stamps of approval that particular arXiv preprints have been peer-reviewed (which is pretty much the only service that journals now provide anyway). Or maybe we'll even handle peer review in some other way entirely. E.g., people keep trying to experiment with peer reviews being public, but it keeps failing---possibly because, lo and behold, most academics don't want their frank commentary on the importance of each other's work to be made public with their names on it! :-)
As it happens, my friend and colleague Michael Nielsen used to work in quantum computing, but now spends full time at Y Combinator thinking about the future of scientific communication. He wrote a book that had lots of interesting ideas for how we could improve things, and surely there are many other good ideas waiting to be proposed, possibly taking advantage of recent or near-future technologies. While the concept of a "paper" (or treatise, or monograph, or note, or other unit of written research) strikes me as mostly determined by the nature of science itself, as far as I'm concerned almost everything else is up for grabs.
What do you think of the Copenhagen Interpretation especially in light of the delayed choice quantum eraser experiment[0]?
I know interpretation of QM is something actual working scientists try to avoid (I know I do such for my little corner of physics) but given how much interpretation informs intuition it's worth considering once in a while.
[0] https://en.wikipedia.org/wiki/Delayed_choice_quantum_eraser
For some of my recent thoughts about interpretation of QM, see this blog post, and especially the discussion in the comments section: https://www.scottaaronson.com/blog/?p=3628
I was wondering how you feel that success/celebrity has affected you. Does it actively drive you to something other than research -- say, are you viewing it as a building block to maybe publishing a book or so? Or does it feel like a distraction from research in that "oh why do I have these arguments online" way that we can often fall into?
But I do try hard to “keep it real”—or better, “keep it complex”—by setting aside some quality time just for me and some pen and paper. As I like to say, it’s all about the amplitudes.
(Seriously: I do have a book, Quantum Computing Since Democritus! And I have been approached by people asking me to sign it. But typically only in a few highly selected places, like Cambridge, MA or Berkeley, CA. :-) )
Can you explain why Grover's algorithm has a runtime of root N? It seems like the runtime should be log2(n) because of exponential qubits or 1 because there must be a way for all the qubits to interfere.
Also, What resources do you reccomend for self study? Are there quantum computing meetups in San Francisco that you can recommend?
A fundamental result from the 1990s, called the BBBV Theorem, shows that not even a quantum computer can solve the unordered search problem any faster than Grover’s algorithm solves it. I won’t prove the theorem in this comment :-), but the intuition is simply that quantum mechanics is a norm-preserving and linear theory. So you actually need to do something to gradually put more and more amplitude onto the marked item; you can’t just instantly and magically give an amplitude of 1 to whichever branch of your superposition happened to hit the marked item.
I’m not sure if there are QC meetups in SF (does anyone else?). But certainly nearby Berkeley is one of the centers of the world for QC—home to Umesh Vazirani’s group, the Simons Institute for Theory of Computing, and now also the startup Rigetti.
https://www.meetup.com/Bay-Area-Quantum-Computing-Meetup/
Next one will likely be at the end of July. Hope to see you there!
There are also qutrits, which are quantum trits (superpositions of |0>, |1>, and |2>), "qubytes" (collections of 8 qubits), and so on.
This terminology is now 30 years old, and in probably thousands of books and tens of thousands of papers. It's not going to change.
The earlier name for "qubit"---the name that Feynman, for example, would have recognized---was "spin-1/2 particle." But while there was some resistance, I think that even within particle physics, condensed-matter physics, etc., they'd now typically say qubit rather than spin-1/2.
In any case, would you pronounce "qit" like "kit" or "kwit"? :-)
In a qubit the infinitely many superposition states are all mixtures of just two eigenstates.
Further, (and anyone, please correct me where I'm wrong), the eigenfunctions (which could actually be called eigenstates) of an operator ARE the basis set, as they are orthonormal. (Right?)
If I have any tips, I guess they’d be bend-over-backwards honesty, willingness to make an ass of yourself, practice, and more practice.
For more, see my other answers on this thread about QC skepticism.
If quantum computing ever becomes commonplace, and quantum computer programs widely written and understood, do you envision that the teaching of quantum mechanics itself will be significantly impacted? Or instead will we simply see quantum complexity theory begin to redefine the undergraduate computer science curriculum?
If you want to see a recent text by a bona fide physicist that presents QM in exactly this way—what I think of as simply the “modern” way—then check out Lenny Susskind and Art Friedman’s remarkable “The Theoretical Minimum” series. Or you could look at pretty much any introductory book or course lecture notes about quantum information, including mine. We do it this way as well, except that we never do get to the harmonic oscillator or the hydrogen atom. :-) I can say from experience that the material is then totally accessible to any bright undergrad who’s done math up through linear algebra.
Thanks for the enlightening response!
What was the best part/most favorite thing about your sabbatical?
Can you explain why Forrelation is a guiding light for quantum deep learning these days?
As a bonus - it would be nice to see a walkthrough - commentary of the recent oracle separation proof of Tal and Raz and how they used Fourier transforms specifically.
Forrelation is not a “guiding light for quantum deep learning.” I’m not even sure if there’s such a thing as “quantum deep learning” that’s sufficiently well-developed to deserve the name. You can use Forrelation as a separating example for some other quantum learning problems, e.g. k-means clustering, but so far that mostly just shows that you can artifically shoehorn an exponential quantum speedup into those tasks, rather than that the tasks will give us useful quantum speedups in “real life.”
In the Forrelation problem, I conjecture that the only thing that really matters about the Fourier transform is that it’s a unitary matrix all of whose entries have small absolute values. As such, it lets you relate two Boolean functions in a way that a quantum computer can notice, but that’s extremely “global” in nature and doesn’t show up locally. Raz and Tal may have used some additional technical properties of Forrelation in their proof (now that I write that, I’m actually not sure—I’ll need to check!). But if they did, then I conjecture that another proof could avoid the use of those properties.
Have you seen https://arxiv.org/abs/1806.09729?
I would call that quantum deep learning, or more accurately, foundations of quantum deep learning.
What do you think of radical Mathematical Platonism (eg. a la Tegmark)? As a computational physicist I tend to tell people that in my hands a computer is like a telescope, but it lets me see into mathematics---but that seems to tacitly assume the reality of mathematical objects.
What do you think about Topological Quantum Computation?
How do you think we can solve the problem that many people getting their PhD are vastly underpaid and also adjunct professors?
Couple things: your book is an amazing repertoire of abstractions, theorems, phenomenon and whatnots. Does it get overwhelming sometimes walking down the street like normal people, with that deep an understanding of these domains?
I personally think that your book is a nice place to start with, in the domain(s) of fundamental mathematics. The text gives a nice idea of the depth I'll encounter in these fields (I think). Keepin' it real helps me, an engineering grad, to not pass it up as ravings of men with too much time on their hands. Do you think your book should be read in this context? What else would you recommend, if any?
Besides QCSD, I’d try Mermin’s Quantum Computer Science: An Introduction for QC, or any of my 50 favorite books from this list
https://www.scottaaronson.com/blog/?p=3679
if you’re just looking for some interesting reading material.
> Well, yes, “the fact of experience” is a toughie! :) In fact, I regard the “hard problem of consciousness” as so far beyond us, that it’s not even clear that science or rational argument give us any sort of toehold.
Longer answer: whatever I have to say about possible implications of QC for the hard problem of consciousness, you can probably find in the following lecture
https://www.scottaaronson.com/blog/?p=1951
or in the Ghost in the Quantum Turing Machine essay that’s linked below.
That said, most attempts at quantifying whether or not distinctly quantum mechanical processes in the brain related to things like microtubules and NMDA receptors are significant to cognition (i.e. is the brain a quantum computer?) have generally concluded the answer is no:
See:
https://arxiv.org/abs/quant-ph/9907009
https://onlinelibrary.wiley.com/doi/pdf/10.1207/s15516709cog...
If somebody claims that there is no freedom of will, what what you accept as a reasonable proof? It seems that one can be sceptical even in presence of extremely precize predictions as it my be easier to alter memory about predictions than to produce them.
1. https://en.wikipedia.org/wiki/Linearity_of_integration
2. Not really but close enough.
3. I don't know what I mean either, but https://en.wikipedia.org/wiki/Linear_time-invariant_theory is interesting anyway.
Could you give an overview of the proceedings of your job as a researcher in quantum computing?
For instance, how do you start your day job, what do you do during the day (how exactly do you do research,) how do you end your day, etc...
7am - Wake up, eat breakfast, check email, help get daughter ready and walk her to school
9am - Back to sleep
2pm - Wake up again, shower, eat lunch, check email. Possibly coffee with friend or colleague.
4pm - Time to pick daughter up again!
4-6pm - Play with kids, eat more, check email
6-8pm - Read news and social media, get depressed
8-9:30pm - Help get kids ready for bed
9:30pm-4am: NOW it’s time to do some research!!! Tools: pen, paper, sofa, LaTeX editor, and sometimes web browser to look up papers (but this last tool is extremely dangerous and can lead to procrastination)
4am - Collapse
Being back in Austin and teaching will severely affect the above hours. But in any case, it’s not like I consciously decided on them, as part of some plan to maximize productivity (!!) - this is just what I fall into when I don’t have other obligations.
Do you think it's a good idea that all the teams working on quantum computing have put their money on the surface code? What are your thoughts? Do you believe that we are putting all our eggs in one basket?
You can't have quantum von Neumann computer or can you? Are realistic quantum computers always going to be quantum circuits?
There's no clear relationship between P vs. NP and the Riemann hypothesis, except that the generalized Riemann hypothesis (GRH) would let you derandomize certain randomized algorithms, and also Mulmuley's Geometric Complexity Theory (a speculative approach to P vs. NP using algebraic geometry and representation theory) involves some of the same mathematical objects that were used to prove the analogues of RH over finite fields.
In your opinion what are some good universities across the world to look into if one wants to do graduate or post-graduate level research in quantum computing?
Also the groups in Innsbruck and Vienna in Austria.
Can you recommend a nice technical intro on what this is all about? (Level: I'm an EE, fine with undergrad quantum mechanics but never understood field theory at all.)
Thanks! Tom McNamara
Is anyone in your field working on the implications of computational complexity for normative ethics? Hume's guillotine relies on the impossibility of any evidence for or against moral facts, but one could stipulate to that while using e.g. Kolmogorov complexity to select moral facts with the highest prior probability to a naive computational oracle.
Not saying it's how I'd necessarily choose my ethics, but if AGI employs algorithmic inference (e.g., approximating Solomonoff induction) for conventional epistemology, the potential may exist for it to extend those algorithms to normative judgments, for better or worse.
P.s. I enjoyed your book 'Quantum Computing Since Democritus'.
What's the likelihood of quantum computing being a practical method to solve some class of problem in the next ten years?
If it is possible but not practical for solving any problems, that's a thing one would want to know.
If it's possible but unlikely to be practical within the next ten years, that's even more useful.
Perhaps it's possible and already practical for some problem. I don't know what that is, so it would be good information.
In all of these cases, it's Scott's presumably better-informed opinion that's being requested.
Why do we live in a universe where the Halting Problem is unsolvable?
The Halting Problem's unsolvability is proven in a fully abstract mathematical way, and so the truth of this result is as logically necessary as the truth of other mathematical theorems. It doesn't refer to anything about physics. So it seems like this question might be better bifurcated into
Why do we live in a world in which Turing machines are a good model for what computations we can physically perform?
and
Would the laws of mathematics be the same in any universe?
Each of these questions might then be a good one to pose to Scott.
Or better yet, we could bifurcate into:
(1) Why is our universe apparently unable to solve the halting problem for Turing machines?
The answer, presumably, is a combination of the physical Church-Turing Thesis (specifically, the apparent impossibility of Turing-uncomputable processes in our world), with Church and Turing and Post's theorem on the unsolvability of the halting problem.
Of course one could then push back and ask why the Church-Turing Thesis should be true of our world: i.e., why shouldn't there be physical "hypercomputers"? That's an enormous question, but my old survey "NP-Complete Problems and Physical Reality" contains some thoughts about it: https://arxiv.org/abs/quant-ph/0502072
And then there's:
(2) Why should we live in a universe that's unable to solve "its own" halting problem?
I.e., even if super-Turing computers were physically possible, we could presumably formulate a halting problem for those computers, which would then require a still more powerful computer to solve (a super-duper-Turing computer?), and so on forever. This is because we could simply repeat Turing's diagonalization argument at a higher-level up -- given very minimal properties of computation, such as the ability to feed one program to another program as code, the ability of one program to emulate another one, and the ability to compute the NOT function. Once you have those properties, the inability of any given computational model (even a super-Turing model) to solve its own halting problem is just a matter of logic, as schoen said.
This seems to assume that logic provides some form of undeniable truth but I am not sure that this is the case. Sure, every system of logic is hopefully consistent and you can use it to derive true statements within it by simply playing a game of symbol manipulation, and in that sense the system is a source of undeniable truth. But when we are using logic to reason about the real world, we need the real world and the logic we use to be compatible. Classical logic works great in the classical world but quantum mechanics seems to push it to its limits. You can certainly still use it if you are careful, but it seems no longer a really good fit once you no longer have your particles either here or there, either spin up or spin down.
So logic seems much more like physics if you want to apply it to the real world instead of just using it for the fun of symbol manipulation. There are systems of logic that are useful to describe the world and there are ones that are less useful or probably even ones yielding wrong conclusions about the real world. Long story short, I am not sure that we can conclude that there will be halting problems for super-Turing machines because we can not be sure what kind of logic would be adequate to describe those machines. Not that I consider this a likely scenario or whatever, I just think we have to be more careful when saying something is just a matter of logic.
There's a related comment here[1]. The simpler version of the bound doesn't depend on mass or energy, just surface area (or radius for a Schwarzschild black hole). It seems to me that 2^72 of "storage" is already pushing it, but anyway I don't understand why the number of bits needed to "describe" the state isn't the relevant quantity. IIRC Bekenstein had at least one completely classical derivation of the bound.
[1] https://www.scottaaronson.com/blog/?p=2428#comment-786973
[1] https://www.amazon.com/dp/0521199565/
Also, are you planning to write another book at some point?
I feel bad that I rarely have the time (or willpower!) to do exercises anymore, though I'd probably benefit if I did.
0. http://slatestarcodex.com/2015/01/01/untitled/
1. https://www.scottaaronson.com/blog/?p=2091#comment-326664
OK, I'll also give you a few links. Here's my Quora answer about what it felt like to be widely attacked on social media, for trying to host a conversation about gender and teenage nerdery that got past platitudes to the roots of people's feelings:
https://www.quora.com/What-was-it-like-for-you-to-be-widely-...
Second, here's my friend Sarah Constantin's blog post about the changing nature of social media, the one I mentioned in the podcast:
https://srconstantin.wordpress.com/2016/11/27/hiding-in-plai...
Third, here's a recent post called "On Culture War Bubbles," from the blog "Thing of Things":
https://thingofthings.wordpress.com/2018/06/27/on-culture-wa...
This is much easier said than done, but as Ozy writes in that post, may we all be granted the mental strength to ignore culture war bullshit, until and unless we decide with the rational parts of our brains that it's important or worth responding to.
Let me speak only about academic CS, since that's what I know best. Of the students who enter the major CS PhD programs in the US, I think something on the order of half of them (maybe a bit less) end up in academic positions, with the rest going to startups and industry and government. So, of the PhD students who really want academic positions in CS, fortunately a large fraction are still able to get them---just not necessarily at a top-tier school. Of course, many students outright prefer industry -- Google and Microsoft can, after all, offer compensation packages that blow academic ones out of the water -- or else they prefer industry to the academic options that are available to them. And that's fine. I feel lucky to work in a field where PhD students have multiple career options, and when a student comes to me for advice, I try to help them figure out what's best for them, rather than imposing some global preconception on it.
From what I know, the situation is worse in other academic fields, like math and high-energy physics and certainly philosophy and other humanities fields -- where you can get dozens of well-qualified applicants for every academic opening, with all the cutthroat competition and other pathologies you'd imagine that would lead to.
Do you know what the Google Bristlecone quantum processor is? Is it a "real" or simulated quantum computer?
Do you think quantum computers (or perhaps alternate computing paradigms like trinary) are better at fuzzy problems than traditional binary systems?
Would you see, in the future, quantum computing used by end-users? If so in what possible applications?
can encrypted data on blockchains easily be decrypted with quantum computers in the coming decade?
Do you think some understanding of the implications of quantum computers is important for laypeople, and what do you think is the best way to communicate this kind of information? You can see the eyes of `regular people' glaze over mid-sentence if you use the word quantum, and associate any quantum-anything to magic. In the era of clickbait and fake news, this makes misinformation all the more prevalent, especially when it comes to pop-sci/`mainstream' coverage.
tl;dr a) How much of a problem is it that people will believe anything with the word `quantum' in it? and b) What do you think is the best way to remedy this?
Can you use the premises of the Simulation Argument to make similar statements regarding the availability/capability of sufficiently advanced technology that would potentially impact our coming into existence?
For instance, directed panspermia. Would at least one of the following have to be true?
1. The human species is very likely to go extinct before we can develop the capability to successfully seed the galaxy with R/DNA-based life and spawn another biosphere.
2. Any sufficiently advanced civilization is unlikely to attempt to seed other worlds with the basic building blocks of their living system so as to initiate other biospheres.
3. Our biosphere was almost certainly initiated by way of directed panspermia from another sufficiently advanced R/DNA-based civilization that has existed.
For this argument, imo, (1) seems less likely than in the simulation argument since I'd think we're closer to being able to send out small ships with hibernating microscopic life than we are to building Universe-sized simulations. (2) also seems less likely since the cost/benefit analysis of seeding other worlds seems much higher to me than building and maintaining a universe-sized simulation.
So for (3) if we assume abiogenesis started a civilization which decided to start seeding other planets which then have a chance of leading to other seeding civilizations, then we'd need to compare the likelihood of seeded life vs abiogenesis to determine how likely it is that we are an abiogenesis civilization vs a seeded civilization.
"You don't actually want qubits, you want an analog computer with differentiable signals. Most likely photonic. Qubits are a dead evolution branch.
I've been recently exploring computational metamaterials for photonic computation.
http://users.ece.utexas.edu/~aalu/research%20-%20page%203.ht.... (there's quite a few papers on this but unfortunately they are all paywalled. Spoiler alert, they seem to be based entirely on Fourier transform).
These computational metamaterials don't need electricity to be powered (you need something that will shoot the photons on them and read back the values off tho).
Machine learning would be much, much faster on these as you have O(1) differential calculus.
They don't heat up. You can possibly build a house sized CPU out of these. I can see it, a city block sized CPU and a nuclear reactor next to it.
Did you know that on an analog machine, you can do sort in O(n)?
https://en.wikipedia.org/wiki/Spaghetti_sort
Hit me up if you wanna chat about this. I've seen the "light" (xdddd) now and can't go back to stupid bits.
I'm not like super married to the metamaterials but analog photonic trumps quantum for just about every task I can think of."
- adamnemecek
Here's the digital version of spaghetti sort:
1. Enumerate the possible lengths of spaghetti that your spaghetti sorter can distinguish above a certain probability. This enumeration will be small and finite.
2. Round your values to one of these lengths.
3. Radix sort or bucket sort those values in O(n).
2^2, 47, 8121293, 1210175511547330273998081353233737902915153751853051779316281348898985913176974726270161034273517189585147616550512413067820157568220278077881421197895369014359432790978536356806591021
>>> gmpy.is_prime(1847699703211741474306835620200164403018549338663410171471785774910651696711161249859337684305435744585616061544571794052229717732524660960646946071249623720442022269756756687378427562389508764678440933285157496578843415088475528298186726451339863364931908084671990431874381283363502795470282653297802934916155811881049844908319545009848393775227257052578591944993870073695755688436933812779613089230392569695253261620823676490316036551371447913932347169566988069)
0Its been my longtime dream to work in Electronics Engineering - more specifically, design integrated circuits for Artificial Intelligence/ Machine Learning applications. I read about FPGA's a lot and love the concept of Reconfigurable Computing. Its because of my love for FPGA's I want to carve out a career in VLSI. Right now, I work in Enterprise Software (BMC Software - as a Support Engineer and in administrator role).
I tried to get a job in VLSI after attending a 6 month finishing school from CDAC, but no luck. However, I still dream of getting an opportunity in companies like Intel/ Xilinx and being able to develop some FPGA based solutions for AI/ ML.
In the next 18 months, I see myself getting my Canada PR and searching for a job there. My current job requires me to be in touch with Java and Java related frameworks to a very small extent (primarily for reading logs, and our development platform is build up on Eclipse.) I am hoping to get a job in Canada based on these skillsets.
What do you reckon is the future of the hardware industry? I heard there's a lot of scarcity of jobs there?
Or should I stick to Enterprise Software?
Honestly need your opinion here.
Thanks in advance, and great job taking up this AMA !! :)