Lurker News
I'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

arkanciscan22 replies#
Quantum Computers. Not like I'm five, but like I'm a software engineer who has a pretty decent understanding of how a classical turing machine works. I can't tell you how many times I've heard someone say "qubits are like bits except they don't have to be just 1 or 0" without providing any coherent explanation of how that's useful. I've also heard that they can try every possible solution to a problem. What I don't understand is how a programmer is supposed to determine the correct solution when their computer is out in some crazy multiverse. I guess what I want is some pseudo code for quantum software.
KhoomeiK2 replies#
I had an aha moment with quantum computers a few months ago when reading an article that explained it as probability distributions. I don't think I have the complete understanding in my mind anymore and I wish I had saved the article, but looking into how quantum computers essentially serve as probability distribution crunching machines might help with your understanding.
arkanciscan3 replies#
So can they still do traditional deterministic(?) calculations? Or would that be somewhat akin to using machine learning to do your taxes; possible but just overkill?

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?

bawolff#
"Trying all possible solutions" is generally a bad metaphor for quantum computing and will confuse you. (Its more like you start out with all answers being equal probability, and get the wrong answers to somehow cancel each other out making the "right" answer have a high probability)

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

OkayPhysicist#
Yeah, they can do deterministic calculations. You just avoid ever putting the quibits in a state where measurement gives probabilistic results. it would, however, be a ridiculous use of technology, like using a Neural net to simulate an XOR
sideshowb#
Like probability distributions, but they don't just sum when you combine them, they interfere (probability is the square of amplitude, which can be negative).

Quantum computing is all about finding ways to hack the interference process to compute more than you otherwise would have.

elgfare1 reply#
I recommend Computerphile's videos https://www.youtube.com/playlist?list=PLzg3FkRs7fcRJLgCmpy3o....

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.

ad404b8a372f2b91 reply#
I don't know if it's accurate (because I never understand anything I read about it) but this is the most concise and clear explanation I've read on this subject to date. Thank you!
dreamcompiler7 replies#
It's accurate. QC is just linear algebra with complex numbers, plus probability extended to the complex domain. Why that's useful is something I'm still struggling with as well.

Continue this thread — 7 replies

twomoretime#
In short I'd say you need to understand the underlying mathematics to intuitively understand the operations that underpinn the algorithms. And since this is quantum mechanics...there's no real ELI5 version that can give you any useful understanding.
__sy__3 replies#
Since no one has listed it yet, please check out https://quantum.country/

It's by Andy Matuschak and Michael Nielsen, and it is excellent. Have fun!

cloogshicer#
Yes! How come this isn't higher up in the list? This is one of the best pieces of education I've ever seen. Absolutely wonderful.
nagarjun#
This deserves to be upvoted all the way to the top!
gigama#
upvoted
7thaccount1 reply#
There is a comic (maybe SMBC) that covers the whole commonly false belief surrounding qubits.
klmadfejno2 replies#
https://www.smbc-comics.com/comic/the-talk-3

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.

mda3 replies#
I found the comic not very good either. Kid suddenly blurts "Wait a minute, that means a qubit corresponds to a unit vector in 2 dimensional Hilbert space" Yeah.

Continue this thread — 3 replies

Izkata#
Along those same lines, I once heard a description that went something like: "Imagine a Jenga tower so precisely balanced that, when it falls over, it spells out the answer."
drocan#
not quantum computers per se but I had my aha moment when I saw quantum computing as "linear algebra with probability coefficients". It's mostly working on superpositioned qubits while doing the calculation and then making them (with linear transformations) as likely as possible to collapse on the solution (when "measured").
corysama#
There’s an O’Reilly book on Programing Quantum Computers that explains it really well. Bonus: it was written by Batman.
0xff00ffee1 reply#
Short answer: there isn't an easy answer. Yet. (Give QC another 50 years).

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

izuchukwu2 replies#
This feels like the high-level missing piece in my understanding of its use. Do you know any resources that expand on QC’s effective potential more from this point of view?
0xff00ffee1 reply#
Sorry, I do not.

Continue this thread — 1 reply

Continue this thread — 1 more reply

Continue this thread — 13 more replies

rsp198411 replies#
Macroeconomics. Central banks are "creating" a trillion here, a trillion there, like nobody's business. But what are the consequences? What is the thought process that central bankers have gone through to make these decisions?

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)?

sideshowb1 reply#
Not sure I'd class it as a science, but here's my take... though I'm no expert and certainly agree this stuff could be better explained!

> 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.

tim333#
>Nobody quite knows

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.

super_mayo1 reply#
PhD student here. Not expert on all those questions but:

> 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.

sideshowb1 reply#
>> And then, what happens if a debtor pays back its debt? Is that money consequently getting "erased" again ?

>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.

texasbigdata#
There's also a concept of "capital deepening". Basically, while vague, when your monetary supply growth outpaces GDP, which is not hard to do with low single digit GDP growth you have more capital available for "one unit of GDP". Therefore asset prices go up.

At least for non private companies ...asset prices go up....auctions clear at values with maximum leverage...recession....monetary stimulus....repeat.

jddj2 replies#
I've wondered the same thing lately whenever someone here posits that defaults cause the destruction of money.

I'd love to see this properly explained, because it definitely has a counter intuitive ring to me.

sideshowb2 replies#
Whoever defaulted spent the money on something else, so it's still in circulation somewhere, just not in a form the original creditor can get hold of.
jddj7 replies#
That would be my intuition too. But if you go down almost any "this crisis won't cause inflation because..." rabbit hole on hacker news, you should see multiple unopposed claims that defaults lead to deflation through the destruction of money.

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

caf#
Sure, and that's just like a net effect of a gift from the creditor to the debtor, which doesn't have any effect on the money supply.
caf2 replies#
It works like this: imagine we create some new Bank. Customer A deposits his life savings of 1 million hackerbucks.

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).

sideshowb1 reply#
Thank you for clarifying.

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

systemshutdown#
If Customer B repays the loan, the new money disappears but the money made in interest stays. Eventually does a bank get to a point where it has enough real money, that it can lend it out instead of increasing the money supply?

Continue this thread — 8 more replies

umvi60 replies#
I would like to understand how cellular biology processes actually work. Like, how do all the right modules and proteins line up in the right orientation every time? Every time I watch animations, it seems like the proteins and such just magically appear when needed and disappear when not needed [0]. Sometimes it's an ultra-complex looking protein and it just magically flys over to the DNA, attaches to the correct spot, does it's thing, detaches, and flies away. Yeah right! As if the protein is being flown by a pilot. How does it really work?

[0] https://youtu.be/5VefaI0LrgE

Continue this thread — 60 replies

qubex17 replies#
I find most explanations of the Equivalence Principle that lies at the foundation of General Relativity to be very lax.

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

Load more comments