305 points · by 0xbxd · 8y ago · 140 comments
newbie question : are they naturally instable (so we won't fix that) or is it just because we don't master them well enough right now (and we'll fix them "soon") ?
Even software that is supposed to be useful is so terribly slow. Computers are between 2 and 4 orders of magnitude faster than programmers today experientially believe they are, because today’s culture of programming has rotted so thoroughly. Do you really need a quantum computer when 3 orders of magnitude are just sitting there on the table waiting to be picked up?
I totally agree with your first paragraph, though.
Technology doesn't make people better. It lets people do better things if they have the desire to do so. It also must enable them to do worse things if they have the desire to do so. You can not have one without the other. And on the balance things have historically gotten better so there's not too much reason to be worried about the fact most people just use global communication to bicker. They won't be remembered. Those who are, however, wouldn't have been possible otherwise.
As for where quantum computing factors into this, I don't have the slightest clue.
Three orders of magnitude speedup is a constant factor. Quantum computers provide between sqrt(n) and log(n) speedup depending on the problem - for example, biochemistry simulation for improved drug designs and such. That seems worthwhile.
And I agree that it's disheartening to watch how horribly we use these incredible tools. But thankfully as programmers we're in a position to design these tools to offset the worst parts of humanity.
And one field in which more powerful computers will be needed soon is deep learning. It appears that progress is beginning to stall, as larger networks are necessary. Better tools for distributed computing will make up the difference in the short term, but the current infrastructure appears to be insufficient for general intelligence.
So if I decide to use the device that I have bought and invested in, to "rant" about something (to connect to other people through it, essentially), or even just connect to my loved ones sending "meaningless" information (as many I'm sure would call it), or if I choose to use it for anything else, who is to say that it's "wasting my life"? You? Why do you decide what is wasteful and what is not? Maybe all those people want to do those things?
You can't say that this technology is wasted or is not used properly without also implicitly assuming moral and philosophical authority about what people should choose and not to choose with their time and other resources, including the money used to buy such devices and resources spend on developing them. Why do you assume that you can be such an authority?
Of course, looking at this in another way, you definitely have the ultimate authority in this area in this one regard: where it applies to your own life. Which I guess is another way of saying that what you wrote says more about your outlook on life than on the underlying technology and its social ramifications.
I know virtually nothing about quantum computing, so can you give some examples? Whenever I've asked anyone who seemed to know anything about the field, all they can come up with is weather forecasting and simulating nuclear explosions. Not exactly "general use," as you put it.
In the back of my mind, I know that quantum computing is a big deal, and we're in ENIAC days with it. But I don't have a good understanding of where it goes or why.
Many classical algorithms, which run in ~O(poly(n)) can have an 'equivalent' quantum algorithm in ~O(log(n)) - an exponential speedup. There is still debate as to how the complexity class of problems which are efficient on a quantum computer (BQP) relate to other complexity classes. Its suspected P lies entirely within BQP.
However, at least initially, I think quantum computers will be a specialized piece of equipment. Classical computing is pretty good for your average person. Quantum computers will be used for more heavy compute tasks.
National Quantum Initiative - Action Plan
https://www.lightourfuture.org/getattachment/85484dca-465a-4...
The state of each qbit is represented by a state vector of two complex numbers [a, b] where |a|^2 + |b|^2 = 1. There are two special qbit values called the classical basis: [1, 0] which is the classical bit 0, and [0, 1] which is the classical bit 1. If a qbit is not in one of the two classical states, we say it is in superposition. When a qbit is in superposition, we can measure it[0] and it will collapse probabilistically to 0 or 1; for a qbit [a, b], the probability that it collapses to 0 is |a|^2 and the probability that it collapses to 1 is |b|^2.
Things get more interesting when we have multiple qbits. If we have two qbits [a, b] and [c, d], we define their product state as their tensor product [ac, ad, bc, bd]. For example, if we have two qbits both in state [1/sqrt(2), 1/sqrt(2)], their product state would be [1/2, 1/2, 1/2, 1/2]. We use the product state to calculate the action of a quantum logic gate that operates on multiple qbits - for a gate which operates on two qbits, we can always represent its action as a 4x4 matrix.
Usually we can move back and forth between the product state representation and writing out the individual qbits states. However, in certain scenarios something very special happens: we cannot factor the product state back into the individual state representation! Consider the product state [1/sqrt(2), 0, 0, 1/sqrt(2)]. If you try to write this as a tensor product of two states [a, b] and [c, d], you cannot! It cannot be factored; the qbits have no individual value, and we say they are entangled.
Well, what does this mean? It means when you measure one qbit, even if the qbits are very far apart, you instantly know the value of the other qbit. So if I entangled two qbits in the state [1/sqrt(2), 0, 0, 1/sqrt(2)], give you one, then we go to opposite ends of the universe, if I measure my qbit and see a 0 I'll know your qbit instantly also collapsed to 0 (or collapsed to 1 if I measured 1). This phenomenon has been experimentally-verified to occur faster than light. It is instantaneous, as far as we can tell. So, local realism is wrong! Spooky action at a distance is real!
There is an important caveat: while the qbits seem to coordinate in some faster-than-light way, you cannot use this to communicate in a faster-than-light way. All we have is a shared random number generator. I can't send some chosen bit from my reference frame to yours. This is called the no-communication theorem.
If you found this interesting, I have a full video on quantum computing for computer scientists here: https://youtu.be/F_Riqjdh2oM
[0] IDGAF about your chosen quantum mechanics interpretation, don't @ me
In more practical terms, the theory also falls apart when you start doing more complicated things with entangled qbits than just measuring them, like quantum teleportation or error correction.
Also, the idea that collapse is a physical phenomenon that propagates faster than light is not universally accepted. There are other ways to interpret these results. None of them take a toll on your intuition, but personally I like this one:
http://www.flownet.com/ron/QM.pdf
(There's a video too: https://www.youtube.com/watch?v=dEaecUuEqfc)
We’ve made real-world measurements here that correlate with measurements made at the exact same time over there in a way that mathematically cannot be accounted for without some species of intuition-violating spookiness. It’s all very real.
0: https://en.wikipedia.org/wiki/Bell_test_experiments#Hensen_e...
"A Bell test experiment or Bell's inequality experiment, also simply a Bell test, is a real-world physics experiment designed to test the theory of quantum mechanics in relation to two other concepts: the principle of locality and Einstein's concept of "local realism". The experiments test whether or not the real world satisfies local realism, which requires the presence of some additional local variables (called "hidden" because they are not a feature of quantum theory) to explain the behavior of particles like photons and electrons. According to Bell's theorem, if nature actually operates in accord with any theory of local hidden variables, then the results of a Bell test will be constrained in a particular, quantifiable way. If a Bell test is performed in a laboratory and the results are not thus constrained, then they are inconsistent with the hypothesis that local hidden variables exist."
Spooky private method scope is spooky.
I have two guitars. I place the guitars facing one another, such that plucking the HIGH E string on one, also plucks the LOW E string on the other. We put ear plugs in our ears, such that I can separate the two guitars, without us ever hearing them. I pluck the guitars, give you one, and take the other one and travel far away. I then listen to my guitar. It is the HIGH E guitar. Now I know you have the LOW E guitar. Wow. Incredibly unspooky. Not teleportration.
Imagine you and I each have a device: a small box with one openable window on the top, one on the front, and one on the back. When one of these windows is opened, it shows either white or black. Further, I tell you that these boxes are entangled: if we both open the same window, the same color will be displayed on both boxes. This only works for the first window opened and only if we both open the same window: if a second window is opened or if we open two different windows, the colors shown will no longer be correlated in any way.
I actually have many of these pairs of boxes, each pair numbered uniquely to identify its matching twin, and we run the experiment for an arbitrarily large number of them until you're satisfied that my claim holds true. You see nothing special about these boxes and argue that they're simply preprogrammed from the factory to display a set of colors the first time a window is opened (for example, BWB or WWB). I counter that entanglement is special and the boxes are not preprogrammed from the factory. In fact, they decide at random which color to show right at the moment one of the boxes' windows is opened!
My claim seems crazy and at first glance possibly even unprovable! But it turns out with a bit of cleverness we can test this.
We take an arbitrarily large number of boxes and begin independently opening their windows at random (without consulting or coordinating with each other when deciding which window to open), recording box numbers, window choices, and the resulting colors. When finished, we compare notes. Sure enough, when we both open the same window on entangled boxes, the colors match as expected. Upon a closer look at the data, we discover something surprising. Ignoring which window we opened, each pair of entangled boxes showed the same color exactly 50% of the time. How is this surprising? A little bit of probabilistic analysis conclusively demonstrates that such a result is fundamentally incompatible with any hidden variable theory.
Assume for the sake of argument that the boxes are preprogrammed. The only possible programming for each box is some form of XXX or XXY. Consider: if both boxes are programmed WWW (or BBB) and we both open a window at random, it will show the same color 100% of the time. If both are programmed WWB (or BWB, or BWW, or any equivalent variant), 2/3 of the time there's a 2/3 chance of displaying the same color when choosing windows at random and 1/3rd of the time there's a 1/3 chance. Combined, whenever the colors are in an XXY configuration, there's a 5/9 chance of showing the same color when windows are chosen at random. Note that in both scenarios the odds of seeing the same color from randomly-chosen windows are greater than 50%! Assuming the preprogrammed colors are chosen at random, some form of XXX will be chosen 2/8 of the time and XXY will be chosen 6/8 of the time, we see that the total odds of seeing the same color if the boxes were preprogrammed should be 2/8 * 100% + 6/8 * 5/9 = 2/3. In theory, our data should have shown a 66% agreement in color, but our experiment consistently shows colors matching 50% of the time.
A hidden variable theory—any hidden variable theory—runs into this probabilistic hurdle.
There is no absolute motion or speed. There is only relative motion or speed.
18-qubit entanglement with photon's three degrees of freedom
Here is how radar works: You shine a flashlight somewhere. If there is an object within range, some of the light is reflected back at you and you know there is an object. This is literally what radar does.
So, what part of this, and how, does this "quantum" magic affect?
When the reflection returns, they can use the entanglement to sort out signal from noise much better and radar is safe from jamming and spoofing.
Originally "We 'shine' a bunch of photons at an object, and see if they come back. Except there could be dragged decoy spamming photons back at us, and we don't know if there is. Or it could be sending out so much light, our photons coming back are lost in the mix."
With quantum: "We can verify that any photons that get reflected are the ones that we sent out and check only our photons when flooded with photons from enemy flashlights."
Right?
"Each bit is tripled in how much information it could hold"? Normally bits have two states, but Shreppler is claiming these qubits can have six states? What am I missing?
How do you get 18 qubits from 6 photons? You use multiple degrees of freedom. Whereas a bit in traditional memory has a single degree of freedom (electric charge), photons have many degrees of freedom such as polarity, direction of travel and angular momentum.
This is because in traditional memory, a single "cell" stores many elementary charges (electrons).
Reading the arxiv document prepared by Microsoft Word is so painful. Can't Microsoft learn something from TeX?
They can be combined, (like coordinate vectors) by writing coefficients before them. For example, 1/√2 |a> + 1/√2 |b> would be a combination of state a and state b. Combinations of states obey the condition that the sum of the squares of each coefficient equals one. This is the unitary constraint, and above you can see that 1/√2^2 + 1/√2^2 = 1/2 + 1/2 = 1.
Coefficients can be complex numbers, which consist of a real part and an imaginary part.
So, putting all of this together, a qbit that may be in the state |1> or the state |0> may also be in the state (a+bi)|1> + (c+di)|0>. With the unitary constraint, we can cut out a degree of freedom by introducing the equation |a+bi|^2 + |c+di|^2 = 1. This leaves three degrees of freedom, which can be mapped in to a sphere by a change of coordinates. Three spherical coordinates plus the unitary constraint specifies the four-number state combination.
Why superfluid 4He is not quantum-entangled? What differentiates macroscopic many-body quantum states from many-body quantum entanglement?
You can have flasks of superfluid 4He with thousands of moles of entangled atoms clearly visible.