Live data from Hacker News

Show HN: Play with real quantum physics in your browser

quantum.orgsoft.org

71–78 of 78 posts

Re: Show HN: Play with real quantum physics in your browser

#71
post #53
post #48

I watched how it works, but it seems the rotation is just an animation and a fake. There are two requests: /flip and /info. When you click mouse button, the /flip request is GET immediately and it returns a result of 1(eagle) or 0. After that the coin animation begins with requests to /info which always returns the same response for no clear reason. After several /info requests the coin eventually stops without recei…

Well yeah, the result from ibm quantum is either a 1 or 0 i suppose. Did you expect the quantum computer to draw you the coins through your phone too?

The coin animation is non-quantum. I thought it was a bug and it doesn’t work as the author intended.

Re: Show HN: Play with real quantum physics in your browser

#72

A few years ago I heard a story on NPR about someone who built a site that also used the IBM quantum backend. They had you input a question about what you should do with your life (I think the example was "Should I grow a beard?"). Then the quantum backend would give you a yes or no answer. The idea here is that if you believe the many worlds interpretation then that quantum decision splits the universe in two, and i…

This is a little silly, of course, because processor-provided random number generators (e.g., RDRAND) already incorporate quantum mechanical phenomena [1].

[1] https://spectrum.ieee.org/behind-intels-new-randomnumber-gen...

Re: Show HN: Play with real quantum physics in your browser

#73

In the many worlds interpretation, if one connected this computer to a machine that would instantly kill you if the result was heads, you as the observer should find that you never die, but rather that the machine always seems to come up tails. Is that correct? Might be cool for some kind of euthanasia patient to experience.

If it maimed you horribly instead, you'd quickly find that you'd still have to deal with the consequences.

Re: Show HN: Play with real quantum physics in your browser

#74

A few years ago I heard a story on NPR about someone who built a site that also used the IBM quantum backend. They had you input a question about what you should do with your life (I think the example was "Should I grow a beard?"). Then the quantum backend would give you a yes or no answer. The idea here is that if you believe the many worlds interpretation then that quantum decision splits the universe in two, and i…

Isn’t that what happens without the need of a quantum computer…

Re: Show HN: Play with real quantum physics in your browser

#75
quantum physicist here. I code with quantum computers (well, simulators most of the time) quite a lot.

This is a cool demo and a great first effort, but does it really use IBM's quantum computer? From my experience, the queues are generally quite long and and it takes atleast 10-15 secs from submission to getting your results back. And getting a single bit back is hugely inefficient. My guess is that you are submitting a circuit with hadamard on all the qubits with 1000-10000 shots and storing the results and showing them to people one by one? This might be misleading as you are not actually connected to the ibm quantum computer and generating random numbers in real-time.

Plus, since the ibm quantum comptuers exhibit a lot of noise, you are not getting truly random numbers. A better introduction to generating random numbers and also certifying them is available: https://github.com/dorahacksglobal/quantum-randomness-genera...

You can play with this on qBraid.com and try out even more quantum computers. We actually used this as a hackathon challenge at South Carolina Hackathon. Keep on building and join us at future events!

Re: Show HN: Play with real quantum physics in your browser

#76

Quantum logic gate > Universal logic gates: https://en.wikipedia.org/wiki/Quantum_logic_gate#Universal_q... From https://news.ycombinator.com/item?id=37379123 : > [ Rx, Ry, Rz, P, CCNOT, CNOT, H, S, T ] From https://news.ycombinator.com/item?id=39341752 : >> How many ways are there to roll a {2, 8, or 6}-sided die with qubits and quantum embedding? From https://news.ycombinator.com/item?id=42092621 : > Exercise: Impl…

From https://quantumflytrap.com/scientists/ :

> [Quantum Flytrap] Virtual Lab is a virtual optical table. With a drag and drop interface, you can show phenomena, recreate existing experiments, and prototype new ones.

> Within this environment it is possible to recreate interference, quantum cryptography protocols, to show entanglement, Bell test, quantum teleportation, and the many-worlds interpretation.

Re: Show HN: Play with real quantum physics in your browser

#77
post #75

quantum physicist here. I code with quantum computers (well, simulators most of the time) quite a lot. This is a cool demo and a great first effort, but does it really use IBM's quantum computer? From my experience, the queues are generally quite long and and it takes atleast 10-15 secs from submission to getting your results back. And getting a single bit back is hugely inefficient. My guess is that you are submitti…

Hi real quantum physicist, yup, you pretty much got it. This is a prototype demo of the concept – and is using real IBM quantum computers. The queues are between 10s and 10min generally.

This is explained very closely to what you've said in the "Technical details" help section. Occasionally you'll get a real-time result. I'll check out the links you sent next, thank you!

Do you think qBraid could support this with more real-time latency?

Re: Show HN: Play with real quantum physics in your browser

#78
post #77
post #75

quantum physicist here. I code with quantum computers (well, simulators most of the time) quite a lot. This is a cool demo and a great first effort, but does it really use IBM's quantum computer? From my experience, the queues are generally quite long and and it takes atleast 10-15 secs from submission to getting your results back. And getting a single bit back is hugely inefficient. My guess is that you are submitti…

Hi real quantum physicist, yup, you pretty much got it. This is a prototype demo of the concept – and is using real IBM quantum computers. The queues are between 10s and 10min generally. This is explained very closely to what you've said in the "Technical details" help section. Occasionally you'll get a real-time result. I'll check out the links you sent next, thank you! Do you think qBraid could support this with mo…

Unfortunately, qBraid cannot help with the real-time latency. For that matter, I don't think anyone is aiming for get better latency for these calculations. The calculations that people have been focusing on, to run on a quantum computer are where quantum computers could provide a potential exponential speedup (e.g. quantum chemistry simulation, optimization problems, etc.), so, that big improvement is what people care about and none of those use cases, require low latency. In fact, IBM might be the best experience you might get anyway.

What you did was a cool experiment, but, given our current understanding of quantum computing hardware will not scale. Random number generation has to be incredibly cheap and I remember encountering a few startups in the past that used photonics to generate random numbers.

Post reply on HN