I'm Scott Aaronson, quantum computing/computational complexity researcher. AMA
649 pointsHey HN,
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!
Comments (356) 123 threads
Show all comments
Showing thread 7 of 123
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.