Ask HN: What scientific phenomenon do you wish someone would explain better?
607 pointsI've been studying viruses lately, and have found that the line between virus/exosome/self is much more blurry than I realized. But, given the niche interest in the subject, most articles are not written with an overview in mind.
What sorts of topics make you feel this way?
Comments (813) 149 threads
I've often heard it said that Quantum Computers can crack cryptographic keys by trying all the possible inputs for a hashing algorithm or something handwavey like that. Are they just spitting out "probable" solutions then? Do you still have to try a handful of the solutions manually just to see which one works?
I am not a quantum person but i once saw a geometric explanation for grover's algorithm which kind of made it all make sense to me. (grover's algorithm is the quantum algo you use for problems where you dont know any approach better than brute force. It can bruteforce stuff in O(sqrt(n)) guesses instead of O(n) like a normal computer). Basically, the geometric version was that you start with all possibilities being of equal probability (i.e. an even superposition of all possible states), negate the amplitude of the correct answer, then reflect the amplitudes around a line that is the mean of the amplitudes (do that sqrt(n)) times. The end result is the correct answer has a higher probability than the other answers. I unfortunately can't find the thing where i originally saw this, but they visualized it basically as a bar graph (of the amplitudes of possible states) and it seemed much clearer to me than other explanations i have come across
Quantum computing is all about finding ways to hack the interference process to compute more than you otherwise would have.
I had the same "problem" as you. What finally made me feel I sort of cracked it was those videos. The way I think of it now is: They let you do matrix multiplication. The internal state of the computer is the matrix, and the input is a vector, where each element is represented by a qubit. The elements can have any value 0 to 1, but in the output vector of the multiplication, they are collapsed into 0 or 1. You then run it many times to get statistical data on the output to be able to pinpoint the output values more closely.
Continue this thread — 7 replies
It's by Andy Matuschak and Michael Nielsen, and it is excellent. Have fun!
The basic gist I get is that quantum computing, for a very specific set of problems, like optimization, let's you search the space more efficiently. With quantum mechanics you can associate computations with positive or negative probability amplitudes. With the right design, you cause multiple paths to incorrect answers to have opposite amplitudes, so that interference causes them to cancel out and not actually happen to begin with. That's just my reading of the comic over and over though.
Continue this thread — 3 replies
However, even with understanding how a Quantum Computer works at its most basic level I still have difficulty understanding the more useful Quantum Algorithms:
https://en.wikipedia.org/wiki/Shor%27s_algorithm
https://en.wikipedia.org/wiki/Grover%27s_algorithm
Proof? Just look at all the replies you got: each one is dozens of pages of complex (imaginary) math, control theory, and statistics.
The hardest part of QC is exactly what you described: how to extract the answer. There is no algorithm, per se. You build the system to solve the problem.
This is why QC is not a general purpose strategy: a quantum computer won't run Ubuntu, but it will be one superfast prime factoring coprocessor, for example (or pathfinder, or root solver). You literally have to build an entire machine to solve just one problem, like factoring.
Look at Shor's algorithm: it has a classical algorithm and then a QC "coprocessor" part (think of that like an FPU looking up a transcendental from a ROM: it appears the FPU is computing sin(), but it is not, it is doing a lookup... just an analogy). The entire QC side is custom built just to do this one task:
https://en.wikipedia.org/wiki/Shor%27s_algorithm
In this example he factors 15 into 5x3, and the QC part requires FFTs and Tensor math. Oy!
Like I said, it will take decades for this to become easier to explain.
For fun, look at the gates we're dealing with, like "square root of not": https://en.wikipedia.org/wiki/Quantum_logic_gate
Continue this thread — 1 reply
Continue this thread — 1 more reply
Continue this thread — 13 more replies
Also why, exactly, are they buying the exact assets that they are buying (govt. debt, high-yield bonds, etc..) and why not others (e.g. stocks or put money into startups)? And then, what happens if a debtor pays back its debt? Is that money consequently getting "erased" again (just like it's been created)? What happens if a debtor defaults on its debt? Does that money then just stay in the economy, impossible to drain out? What is the general expectation of the central banks? What percentage of the debt is expected to default and how much is expected to be paid back?
And specifically in the case of central banks buying govt. debt: Are central banks considered "easier" creditors than the public? What would happen if a country defaults on a loan given by a central bank? Would the central bank then go ahead and seize and liquidate assets of the country under a bankruptcy procedure to pay off the debt (like it would be standard procedure for individuals and companies)?
> Macroeconomics. Central banks are "creating" a trillion here, a trillion there, like nobody's business. But what are the consequences?
Nobody quite knows; it's still hotly contested between left wing lovers of Keynes and right wing believers in austerity.
> What is the thought process that central bankers have gone through to make these decisions?
Probably largely a political one. Central banks may be trying to fulfill a remit set by law (e.g. bank of england: keep inflation below x%) and are trying to deliver on that. (why? too much or too little inflation both cause problems, I guess we somehow reached consensus on a "sane" amount that keeps pace with genuine growth of wealth within the economy)
> Also why, exactly, are they buying the exact assets that they are buying (govt. debt, high-yield bonds, etc..) and why not others (e.g. stocks or put money into startups)?
I think this is about distributed decision making. The central bank does not have the expertise to decide which stocks or startups represent the best investments. The examples here involve lending money to government, presumably the idea being the latter is better placed to decide what to do with the money. Another example is buying assets from other banks, which are again better placed to decide which businesses/homeowners/etc represent a more sound investment as they do it on a daily basis (from a profit/loss point of view ... of course we debate whether or not that's the case on a societal level).
> What would happen if a country defaults on a loan given by a central bank?
Internally it would depend on laws/balance of political power within the country. Between countries, depending on the currency the country could do crazy stuff like print excessive amounts of money to repay the loan (Germany did this in the 1930s leading to hyperinflation) or they could just as you say, default. The country's credit rating would then be downgraded, making it harder for them to raise credit in future.
> Would the central bank then go ahead and seize and liquidate assets of the country under a bankruptcy procedure to pay off the debt (like it would be standard procedure for individuals and companies)?
Not the bank, but the country making the loan, may first negotiate some debt relief with strings attached e.g. preferential trade agreements. Beyond that, I have no idea what precedent exists.
A lot of these things are kind on unknowable because they depend on future human behaviour in ways you can't really predict. A lot of George Soros's theory of reflexivity is along those lines. People think they are calculating on the basis of fundamentals but the things that look like fundamentals are actually functions of human behaviour so the system is inherently unstable. He's made a few bob from that.
> Macroeconomics. Central banks are "creating" a trillion here, a trillion there, like nobody's business. What is the thought process that central bankers have gone through to make these decisions?
The general consensus is that central banks should stay passive and keep prices stable. However, in periods of crisis, like the one we live in, the central bank could support economy. In ordinary times, creating trillions would lead to inflation. But here the idea is more to save the economy in the short term because it's always cheaper than reparing it. Central bankers agreed to create trillions such that banks do not go bankrupt like they did in 1929. By creating trillions, they also keep interest rates low for government such that they can still borrow.
> But what are the consequences?
Some inflation. Another consequence is that investors will invest in riskier assets afterward to keep their profitability target. (Again, because lending trillions will lower the interest rates)
> Also why, exactly, are they buying the exact assets that they are buying (govt. debt, high-yield bonds, etc..)?
They usually buy low risk, higly liquid assets. Putting trillions in startups is infinitely infinitely complicated for a central bank because it implies high monitoring costs, and it also takes a lot of time to create those kind of contracts. Remind that the goal is to provide lot of liquidity to the economy as fast as possible. There is also an academic debate about giving money directly to the general public (known as "helicopter money"), but with little attention from central bankers.
> And then, what happens if a debtor pays back its debt? Is that money consequently getting "erased" again ?
Yep, pretty much... Appart from fiat money, money is constantly created and destroyed. It is mostly created by private banks when they grant loans. And it is destroyed when you repay it. Of course they cannot do whatever they like and create at will, but remember that "Deposits DO NOT make the credits (but in some way it defines how much you could create)"
> What percentage of the debt is expected to default and how much is expected to be paid back? What would happen if a country defaults on a loan given by a central bank?
Central banks buy bonds, and bonds are pretty much always paid back. And if not, the central bank will not suffer much. Cases of countries not reimbursing are very scarce and exceptional (I can just think of Argentina). Anyway, a country CANNOT go bankrupt like a person. And in general, comparing countries with individuals or companies is not a good idea. Countries are here pretty much forever (in a financial sense), you don't. Countries can waive taxes, individuals cannot.
>Yep, pretty much...
I would add that if the system is fractional reserve then it increases the proportion of the bank's reserve allowing more money to be created. So while it's technically true that it's destroyed you could see the next loan as its reincarnation, no..?
I didn't go here in my response above because my vague understanding is that we're not strictly a fractional reserve system any more, though I don't understand how.
At least for non private companies ...asset prices go up....auctions clear at values with maximum leverage...recession....monetary stimulus....repeat.
I'd love to see this properly explained, because it definitely has a counter intuitive ring to me.
I'm pretty ignorant in this field, and usually I've been a day or so behind the posts (missing the window to press for more information), but I feel like there's definitely some contention there.
Continue this thread — 7 replies
Now our Bank loans out 50,000 of those hackerbucks to Customer B. It does this by crediting her account with 50,000 hackerbucks, but notice that Customer A still has 1 million in his account - so now there's 1,050,000 hackerbucks in apparent existence - we've created 50,000 hackerbucks from thin air. If Customer B withdraws the loan money to go spend it, the Bank will have 950,000 in reserves and an asset worth 50,000 (the loan). Customer B will have 50,000 in cash.
What we've actually done is increase the "M2", one of the measures of how much money is in the economy.
If Customer B either repays the loan or defaults on it, that new money disappears. In the loan repayment case, the Bank goes back to having 1,000,000 in reserves, and in the loan default case the loan asset becomes worthless and it is left with only 950,000 in reserves (the other 50,000 is out there with wherever Customer B spent it).
So the bank's speculative asset loses value: I struggle to see this as money being destroyed as it wasn't actually money, it was an asset with a price attached to it which has now changed. In contrast to money sat in your bank account, the price was never redeemable (you couldn't go spend it on beer) unless you used that asset to get the debtor to pay you back (or convinced someone else it was worth buying from you as a speculative asset). You might as well say money is destroyed when share prices tumble. Maybe this is the point of such arguments, to make the case that money is no different to any other asset, but we don't tend to treat it like that in reality. Or do we?
Continue this thread — 1 reply
Continue this thread — 8 more replies
[0] https://youtu.be/5VefaI0LrgE
Continue this thread — 60 replies
To wit, the idea is that you cannot distinguish whether you are in an accelerated frame or in a gravitational field; alternatively stated, if you’re floating around in an elevator you don’t know whether you’re freefalling to your doom or in deep sideral space far from any gravitational source (though of course, since you’re in an elevator car and apparently freefalling... I think we’d all agree on what’s most likely, but I digress).
Anyway, what irks me that this is most definitely not true at the “thought experiment” level of theoretical thinking: if you had two baseballs with you in that freefalling lift, you could suspend them in front of you. If you were in deep space, they’d stay equidistant; if you were freefalling down a shaft, you’d see them move closer because of tidal effects dictated by the fact that they’re each falling towards the earth’s centre of gravity, and therefore at (very slightly) different angles.
Of course, they’d be moving slightly toward each other in both cases (because they attract gravitationally) but the tidal effect presents is additional and present in only one scenario, allowing one to (theoretically) distinguish, apparently violating the bedrock Equivalence Principle.
I never see this point raised anywhere and I find it quite distressing, because I’m sure there’s a very simple explanation and that General Relativity is sound under such trivial constructions, but I haven’t been able to find a decent explanation.
Continue this thread — 17 replies
All comments shown.
Couldn't load more comments. Check your connection and try again.