Nice idea, but watching the spinning coins made me a bit nauseous. I had to go away from the page.
Show HN: Play with real quantum physics in your browser
21–30 of 78 posts
Re: Show HN: Play with real quantum physics in your browser
#22I've wondered for a long time what the user experience for quantum computing will look like. I had imagined some library with a type for "qbit" and an dsl for making them interact in certain ways and then some kind of async thing where your classical code could run locally while periodically shuttling data to and from wherever the quantum computer is. This isn't quite that but I guess it's a first step.
import numpy as np
from qiskit import QuantumCircuit
# 1. A quantum circuit for preparing the quantum state |000> + i |111> / √2
qc = QuantumCircuit(3)
# generate superposition
qc.h(0)
# add quantum phase
qc.p(np.pi / 2, 0)
# 0th-qubit-Controlled-NOT gate on 1st qubit
qc.cx(0, 1)
# 0th-qubit-Controlled-NOT gate on 2nd qubit
qc.cx(0, 2)Re: Show HN: Play with real quantum physics in your browser
#23I was surprised to see this on the frontpage this morning and the scale is pushing the limits of our quantum randomness generator
It should be working again now as I'm pushing fixes. Thanks for your patience.
Re: Show HN: Play with real quantum physics in your browser
#24Re: Show HN: Play with real quantum physics in your browser
#25When I click the coin I see an animation of 7-8 blurry coins spinning. Further clicking seems to have no effect. Is something else supposed to happen?
Re: Show HN: Play with real quantum physics in your browser
#26Hey HN! Creator here. Sorry for the downtime and dizzying spinning coins. I was surprised to see this on the frontpage this morning and the scale is pushing the limits of our quantum randomness generator It should be working again now as I'm pushing fixes. Thanks for your patience.
Re: Show HN: Play with real quantum physics in your browser
#27Considering this states its talking to an actual quantum computer somewhere(at least that's what I'm led to believe by the "Connected to " in the bottom right), I'd imagine this has gotten hugged to death, and hence why we are only seeing the spinning coins rather than it actually resolving.
Re: Show HN: Play with real quantum physics in your browser
#28Re: Show HN: Play with real quantum physics in your browser
#29My observation is too weak, the coins keep spinning. Maybe I am so disconnected from the rest of reality, I count as absolute, non destructive observer?
Re: Show HN: Play with real quantum physics in your browser
#30A physical coin is biased?