Hacker Newsnew | past | comments | ask | show | jobs | submit | dshields1's commentslogin

Thanks! I'll look into doing dynamic update. There is an API for this, I'll add some docs to the site on how to call it.


No. We’re still a long way from quantum computers powerful enough for that.


Indeed. We currently have machines with ~ 50 qubits and we’d need likely 10s of millions of qubits.


I like the Qiskit community textbook: https://community.qiskit.org/textbook/


Yes. Right now simulators tend to be faster, cheaper, and more accurate than real quantum computers.


How can a simulation be more accurate than what it's simulating?


Physical quantum computers have noise. Let's take a (simplified) scenario. You've set up your quantum circuit with one qubit, and put it in a position where it will measure as either 0 or 1 with equal chance. In the simulation it'll come out as 0 or 1 with actual equal chance. In the real world, other factors will create a bias one way or the other (this may not be consistent, either) so that it comes out more like 60% 0 to 40% 1, even over 1000s of trials.

If you set up a circuit where you've entangled two qubits so that they should come out as the same value (00 or 11) and the configuration says they should come out with 50% chance of either, the simulation will show that. The outputs of 01 and 10 will never show up in the simulation. But in the real world, there's still a chance that you get those. You'll likely (on IBM's quantum computers) get something like 1-5% 01, 1-5% 10, 45-50% 11, 45-50% 00 (again, over thousands of runs).

If you want to see how this plays out with simulations and real quantum computers, IBM [0] has free access (constrained by credits when you want to run on real quantum computers, they reset each day).

[0] https://quantum-computing.ibm.com/


As far as I understand, it's because what it's simulating is a logical qubit which is different from the very noisy, almost instantaneously collapsing physical qubits present in current quantum computers.

Software simulates what's supposed to happen while the hardware only approaches it through many repeated trials.


Current quantum computers are noisy. Gates aren’t perfectly implemented. Qubits are prone to dephasing and decoherence.


I think he means returns correct results to known problems more reliably.


Quantum computers are used to simulate digital computers, so a digital computer simulating a quantum computer simulating a digital computer can cheat.


That label is so long it’s breaking the HN front page layout for me on mobile.


Yup. @dang, can you fix this?


In principle yes, but I tried in 4 (edit: 5) browsers and couldn't reproduce the problem, and it's late here and I'm running out of steam. So you may have to suffer overnight. Sorry about that.

Edit: ok, thanks to https://en.wikipedia.org/wiki/Unicode_character_property#Whi... I put in a bunch of ​. I hope that fixes it because I need to sign off now. If it isn't fixed, it would be helpful if someone would email hn@ycombinator.com so we see that in the morning. Short term memory does not survive the firehose.


It probably shouldn't be visible in title tag: https://i.imgur.com/a1RLCt0.png


You're right.


Happened for me on iOS 13 if it helps. Font stays the normal size but you have to scroll right. If you zoom out, it’s a bit harder to read but not bad.


Firefox and Firefox Focus on Android present the same issue.


It's reproducible for me when viewing the home page in Chrome 75 on Android 9 (Pixel 2 XL).


Thanks, it’s not a huge issue! I’m able to see the issue with safari on my iPhone, FYI.


HN should add the CSS rule "word-wrap:break-word". In fact this rule should almost always be the default for text that might contain excessively long words (such as user-submitted text on forums).


(...Or german)


Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz

1: https://de.m.wikipedia.org/wiki/Rindfleischetikettierungs%C3... - check out the voice version!


You've got to love the "abbreviations" for these laws.

RflEttÜAÜG


I like that better than the American way of inventing stupid names, so that the acronym is "cute".


You should use &shy; or <wbr> between word&shy;parts for 100% pedantically correct word breaking.


Same here. I notice it's truncated in the comment dialog, why not also the main page?


I've attempted to fix it. Details at https://news.ycombinator.com/item?id=20352144.


Thanks. That fixed it for me (chrome on Android)


That's why it's broken! Was so confused


I was wondering what was going on!


Also broke hckrnews.com on mobile.

I was wondering what was going on there.


So that explains it!


> any pair of students can be swapped if they both get a more preferred school.

This is the meaning of stable in the stable marriage problem. And the Gale-Shapley algorithm does this.


The important part is that the algorithm is applied by the system without human interaction after the initial input of preferences. Placements are still final.


The subsidy is $1.5B for 13,000 jobs. The other half of the subsidy is for capital investment and construction expenses.

It's still a huge number though.


The article states that: "At $3 billion for 13,000 jobs, the Wisconsin deal would cost $231,000 per job."

By comparison, economists have estimated $125K/job-year to $202K/job-year from the 2009 stimulus (ARRA). [1]

[1] https://files.stlouisfed.org/files/htdocs/publications/revie... , page 3


I'm confused about the comparison between cost per job and cost per job year. Presumably this (the Wisconsin deal) would be the better deal as the jobs presumably last more than one year?


Doubtful alot of the Recovery Act was for One Time Construction projects, like paving a road.

There were also alot of one off projects like sending people out to help with Energy Efficiency in homes.

There was not alot of long term stable jobs in there.


Your first sentence suggests that you disagreed with my previous post, but your rationale very much supports my point. Spending 125-250K on a job that only exists for a year is markedly worse than paying a comparable amount for a job that lasts many years.


I dont think the government should be paying for any job.

I disagree with this corporate subsidy, and I disagreed with the Recovery act


That's fine, but my statement was neither for not against. Just observing that one appears to be a better bargain than the other.


What about all the Wall Streeters bailed out? Those are long-term stable jobs, after a fashion.


That should just about cover Trump's first term.


Interesting to think of this as a highly inefficient welfare system for the electoral college.


Up to 13,000 jobs.


Alabama. It says so near the very end.


The paper says they "adjusted for patient and physician characteristics" which presumably includes the patient's sex.


Concretely:

> We accounted for patient characteristics, physician characteristics, and hospital fixed effects. Patient characteristics included patient age in 5-year increments (the oldest group was categorized as ≥95 years), sex, race/ethnicity (non-Hispanic white, non-Hispanic black, Hispanic, and other), primary diagnosis (Medicare Severity Diagnosis Related Group), 27 coexisting conditions (determined using the Elixhauser comorbidity index28), median annual household income estimated from residential zip codes (in deciles), an indicator variable for Medicaid coverage, and indicator variables for year. Physician characteristics included physician age in 5-year increments (the oldest group was categorized as ≥70 years), indicator variables for the medical schools from which the physicians graduated, and type of medical training (ie, allopathic vs osteopathic29 training).

They don't say _how_ they controlled for those characteristics though. Presumably, they divided each patient's calculated 30-day risk of death [1, table 10] by the relative ratios in risk of death of every category, calculated from the same data set. That should probably cut it for controlling for this particular difference, although I am not a statistician.

Paper link:

https://jamanetwork.com/journals/jamainternalmedicine/fullar...

[1] Supplemental material https://jamanetwork.com/data/Journals/INTEMED/0/IOI160102sup...


It's a regression model, so "accounted for" usually means that the factors were included in the models.

Ideally, we'd ask a group of male doctors and a group of female doctors to independently diagnose and treat the same set of patients. We can't actually do that--in addition to the cost, you obviously can't treat the same patient twice. However, we can try to estimate this effect statistically.

First, they build a model describing the probability of a patient dying within 30 days. They used a linear probability model, which essentially means that the probability of someone dying is the sum of the "weights" related to the patient, doctor, and hospital. These weights are estimated from the data using ordinary least squares (the same way you may have learned to fit a line to points at school).

Having built the model, they then ask what the marginal effect of the doctor's sex is. In other words, if you hold everything but that constant, how does the probability of dying change? They cite a nice Stata guide (#32 in the paper here: http://www.stata-journal.com/sjpdf.html?articlenum=st0260 ) which gives some background and examples.

The rest of the paper looks at different variations (only hospitalists, different diseases, etc), using a pretty similar approach.


People also speculated that this was the reason Alphabet invested in SpaceX. (Which was around the same time as that announcement)

http://www.nytimes.com/2015/01/21/technology/google-makes-1-...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: