1. Home
  2. Explore
  3. Computer Science
  4. Quantum Computation Lecture

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Quantum Computation Lecture

Speaker 1Speaker 2

Quantum Computation Lecture

16:22
0:00-16:22
  1. Simon

    Welcome to the episode. Today we're exploring Scott Aaronson's question: can computational complexity help explain the laws of physics themselves? Aaronson is a theoretical computer scientist at the University of Texas at Austin, where he studies the capabilities and limits of quantum computation.

  2. Corey

    And the central issue is bigger than simply asking whether computers can help scientists analyze data. The question is whether computational difficulty belongs inside our explanations of why physics works the way it does.

  3. Simon

    Let's define computational complexity first. It studies the resources needed to solve computational problems—time, memory, randomness, or quantum resources—and especially how those resources scale as the problem gets larger. We usually care about broad patterns, such as polynomial versus exponential growth, rather than details tied to one programming language or one computer chip.

  4. Corey

    That distinction matters because a problem can be difficult for several unrelated reasons. We might lack information, as in garbage in, garbage out. Chaos can make prediction impossible because tiny errors in the measured initial state grow exponentially, even for an infinitely fast computer. And people can make poor decisions despite having information and computing power.

  5. Simon

    Computational intractability is narrower. It means we have the relevant data, and an infinitely fast computer could process it, but our actual computational resources are insufficient. Humans have worried about speeding up calculations for a very long time—Euclid discussed efficient greatest-common-divisor computation around 300 BC—but computability was formalized in the 1930s, and efficient computation became a systematic subject around the 1960s.

  6. Corey

    Alan Turing captured the philosophical importance of this. He argued that we often act as though, once a fact is presented to a mind, all of its consequences appear simultaneously. That assumption can be useful, but it is false. A fact may be easy to state while its consequences require an enormous computation to discover.

  7. Simon

    Computational limits already affect physics in an obvious practical way. Particle experiments such as the Large Hadron Collider produce enormous streams of data, and computer clusters must decide which collision events to retain and analyze. We can even ask whether interesting events might be missed because available computing power is insufficient.

  8. Corey

    But Aaronson wants to go further. Instead of asking whether computation helps us discover physical laws, he asks whether computational complexity can directly explain those laws. He examines three case studies: quantum computing and Many-Worlds, a complexity-enhanced version of Occam's razor, and computational complexity as protection for effective physical theories.

  9. Simon

    The first case begins with quantum mechanics. One useful way to teach quantum theory is as a generalization of probability theory, where the quantities being added are amplitudes rather than ordinary probabilities. In the two-slit experiment, if either slit is open alone, the photon reaches a particular location with probabilities P1 or P2.

  10. Corey

    If both slits are open, ordinary probability would suggest adding those probabilities. But experiments do not work that way. Each possible path has a complex amplitude, the total amplitude is the sum of those amplitudes, and the observed probability is the squared absolute value of the total.

  11. Simon

    That creates interference. Suppose one path contributes an amplitude of one-half and another contributes negative one-half. Together they give total amplitude zero, so the probability of arriving at that location is zero. Closing one slit removes the cancellation, leaving probability one-quarter. Fewer available paths can therefore increase the chance of an outcome.

  12. Corey

    The essential feature for quantum computing is not simply that quantum objects have many possibilities. It is that amplitudes can interfere, including canceling one another. Complex numbers add further structure, but positive and negative real amplitudes already display much of the key phenomenon.

  13. Simon

    A qubit is the basic unit of a quantum computer. It has an amplitude for being zero and an amplitude for being one, so its state can be written as a superposition of those basis states. When measured, it produces one outcome probabilistically according to the Born rule.

  14. Corey

    The number of amplitudes grows exponentially with the number of qubits. One qubit requires two amplitudes, two qubits require four, three require eight, and a thousand qubits require 2 to the 1,000 amplitudes—more numbers than could be written down using the observable universe, according to the lecture's comparison.

  15. Simon

    That exponential state space makes classical simulation of quantum systems extremely difficult. Feynman and David Deutsch suggested turning the problem into an opportunity: build computers that themselves use quantum states, so they can efficiently simulate quantum mechanics.

  16. Corey

    But quantum computing is not simply trying every answer in parallel and then reading out the correct one. If we create an equal superposition of exponentially many answers and measure immediately, we only get one random answer. The real goal is to design interference so wrong answers cancel while the desired answer receives reinforcing contributions.

  17. Simon

    That is a demanding kind of algorithmic design. The computer must arrange the interference pattern without already knowing which answer is correct, and it must do so faster than the best classical method. Quantum mechanics provides a strange computational resource, but nature does not guarantee that it will be useful for every problem.

  18. Corey

    The best-known applications fall into three categories. First is Shor's algorithm, which efficiently factors large integers and solves related number-theoretic problems such as discrete logarithms. Modern public-key cryptography relies on the presumed difficulty of such problems, so a scalable quantum computer could threaten HTTPS, encrypted messaging, financial data, elliptic-curve systems, and some cryptocurrency holdings.

  19. Simon

    That is why researchers are working on post-quantum cryptography, including systems based on lattice problems. The transition needs to begin before large quantum computers exist, because information collected today could potentially be attacked later. Still, breaking existing cryptography is more a major security problem than a positive application.

  20. Corey

    The second category is quantum simulation, Feynman's original motivation. Quantum computers could potentially simulate systems relevant to high-temperature superconductivity, photovoltaics, batteries, and chemical reactions used to produce fertilizer. Aaronson described this as the most promising economically valuable application in the near term.

  21. Simon

    The third category is everything else: optimization, machine learning, artificial intelligence, and finance. The evidence there is much less certain. Grover's algorithm gives a broad quadratic improvement, searching a list of n possibilities in roughly square-root-of-n steps instead of n, but that is not an exponential speedup.

  22. Corey

    And the hardware overhead is crucial. Quantum error correction is necessary for large reliable computations and may optimistically impose an overhead around a factor of a million. Comparing n with a million times square root of n means the quantum advantage may not appear until n reaches the trillions.

  23. Simon

    Beyond Grover's algorithm, many proposed speedups are specialized, modest, or speculative. Some disappear when a better classical algorithm is found. Aaronson's suggestion is that researchers may need to look for unusual problems rather than assume quantum computers will improve every familiar task. One example is generating cryptographically certified random numbers, which has been demonstrated with current hardware.

  24. Corey

    The complexity classes help organize these claims. P contains problems solvable in polynomial time by classical computers. NP contains problems whose proposed solutions can be efficiently checked, and NP-complete problems are the hardest problems within NP. BQP is the quantum analogue of bounded-error polynomial time.

  25. Simon

    Quantum computers are known to solve some problems, such as factoring, that are not known to be in P. We do not believe they can solve NP-complete problems efficiently, although that is not proven. We also do not know whether every BQP problem lies in NP, because quantum simulation may involve problems where even efficiently checking the answer is difficult.

  26. Corey

    Experiments have now demonstrated forms of quantum computational advantage. Google used a superconducting chip with 103 qubits to produce bit strings that classical supercomputers are not known to generate within anything like a practical time—Aaronson cited an estimate of around 10 to the 25 years. More recent work by Google and Quantinuum has moved toward simulating physical systems and calculating specific quantities that can be checked against other quantum devices or experiments.

  27. Simon

    These demonstrations still do not run Shor's algorithm at the scale needed to factor cryptographically important numbers. But they raise a philosophical question: does quantum computing support the Many-Worlds Interpretation of quantum mechanics?

  28. Corey

    Many-Worlds treats the entire exponentially large amplitude vector as fundamental reality. Measurement is not a special event requiring an observer; instead, the measured system becomes entangled with the measuring device, the observer, the surrounding air, and the environment. One branch contains a record of one outcome, another branch contains a record of another, and all the branches continue to exist.

  29. Simon

    Other interpretations make different moves. Bohmian mechanics accepts the large wave function but says that most branches are empty, while one branch contains the actual occupied reality. Another possibility is that unknown physics causes large-scale superpositions to collapse. So far, experiments have found no evidence for such a collapse, but it would be a testable form of new physics.

  30. Corey

    David Deutsch argued that if a quantum computer factors a number using more resources than seem to exist in the visible universe, we should ask where that computation occurred. But this is not a straightforward experimental test of Many-Worlds, because all interpretations that accept ordinary quantum mechanics predict that Shor's algorithm will work.

  31. Simon

    Aaronson's view is that quantum computing makes the exponential amplitude vector impossible to ignore, so it strengthens the conceptual relevance of Many-Worlds. But it does not answer the metaphysical question of whether other branches contain observers or are equally real. There is also an irony: quantum algorithms work by making amplitudes from different branches interfere, so those branches may never fully establish themselves as separate, noninteracting worlds.

  32. Corey

    The second case is what Aaronson calls Occam's razor with complexity-theoretic aftershave. Traditional Occam's razor favors simpler explanations. The added question is whether we should also distrust physical theories that give nature extraordinary computational powers.

  33. Simon

    Consider a hypothetical computer that can run arbitrarily faster. It might test the first case of Goldbach's conjecture in one second, the second in half a second, the third in a quarter second, and so on. After two seconds, it would supposedly have tested infinitely many cases. Known physics blocks this idea: computation requires energy, and pushing operations beyond roughly one Planck time risks concentrating enough energy to make the computer collapse into a black hole.

  34. Corey

    Relativity offers another apparent shortcut. Leave a computer on Earth, travel near the speed of light, return, and billions of years might pass on Earth while much less time passes for the traveler. But achieving the required time advantage demands an exponential amount of energy, so the problem has merely been exchanged for another exponential resource.

  35. Simon

    Closed timelike curves create a different possibility. Time travel must avoid contradictions such as killing one's own grandfather, so David Deutsch modeled it using consistent quantum fixed points. A system could be forced to find a self-consistent state, and finding that state can itself encode a hard computational problem.

  36. Corey

    With closed timelike curves, one can construct scenarios that solve NP-complete problems using polynomial resources. Aaronson and John Watrous showed that such methods can solve all problems in PSPACE, and with an unbounded closed timelike curve, they can even solve the halting problem, which is normally uncomputable.

  37. Simon

    That suggests a bias against physical theories that grant unlimited computational power. But Aaronson warns against making the bias absolute, because quantum computing itself appears to expand classical computational power without solving every problem believed to be hard. A modest extension, such as efficient factoring, seems more plausible than a theory that enables polynomial-time solutions to all NP-complete problems.

  38. Corey

    The third case concerns computational complexity as armor for effective theories. Effective theories such as quantum field theory and general relativity are not expected to be the final description of nature, but they work within particular regimes. The question is whether computational hardness can help define the boundary of those regimes.

  39. Simon

    Harlow and Hayden proposed this idea in connection with the black hole information paradox. Certain experiments near an evaporating black hole might require a computation taking vastly longer than the black hole's lifetime—Aaronson gave a comparison involving 10 to the 67 years versus 2 to the 10 to the 67 years. If the needed computation cannot finish in time, then the apparent paradox cannot be operationally observed before the effective theories cease to apply.

  40. Corey

    Aaronson also described recent work with collaborators on the second law of thermodynamics. Maxwell's demon appears to gather gas particles on one side of a box and reduce entropy. The standard resolution is that the demon's memory stores the information needed to perform the sorting, so entropy has not disappeared; it has moved into the demon's memory.

  41. Simon

    In a toy model with deterministic, reversible classical dynamics, that stored information can behave like pseudo-entropy. If P equaled NP—or more generally if there were no one-way functions—the demon could compute or massively compress its memory after collecting the particles. The result would appear to reverse the second law.

  42. Corey

    This does not mean a practical demon could violate thermodynamics. Chaos and quantum mechanics would probably defeat the strategy in realistic systems. The point is conceptual: computational hardness alone can protect the apparent second law, just as it can protect effective descriptions near black holes.

  43. Simon

    The broader lesson is that information already entered fundamental physics through statistical thermodynamics and the no-signaling principle in relativity. So computational limits may not be as anthropocentric as they first appear. They could become part of the explanation for why certain physical processes are effectively impossible.

  44. Corey

    There is still an important distinction between testing a complete theory and testing predictions we can actually calculate. Physicists usually test novel, computable predictions that distinguish a theory from its predecessors. This is why quantum field theory can be tested on small numbers of particles even though we cannot calculate every behavior of a macroscopic object containing an enormous number of particles.

  45. Simon

    That practice resembles abstraction layers in software. Biology can explain phenomena using chemistry, chemistry can be connected to physics, and each layer remains useful within its domain even though the underlying theory may be more fundamental. Computational complexity helps explain why such layers and effective theories can remain valid without making every prediction efficiently calculable.

  46. Corey

    So why are useful quantum algorithms so hard to find? Aaronson's answer is that quantum interference is an extraordinarily strange computational resource that did not have to help with many classical problems. Factoring happens to fit it beautifully, but the space between problems already in P and NP-complete problems is relatively sparse.

  47. Simon

    That is why he recommends searching for new kinds of problems, including problems outside the usual P-versus-NP framework. Quantum simulation may belong there, although such problems can be harder to state naturally because we may not even have an efficient way to verify a proposed answer.

  48. Corey

    In the end, the lecture's proposal is cautious rather than definitive. Computational complexity may help explain quantum phenomena, guide our preferences among physical theories, and protect effective laws from apparent paradoxes. Whether these ideas become fundamental principles will depend partly on unresolved mathematics, including questions such as P versus NP, and partly on what physics continues to reveal.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent