News for hackers. Stuff that matters.
Re:Show HN: Play with real quantum physics in your browser by nineplay on Friday February 07, 2025 @12:43PM (#42975341)
Question from someone who's not going to even pretend to understand quantum physics..

The explanation says the visualization shows the coin in all possible states. I'm trying to count quickly and it seems like about 8. Does all possible states mean there's an infinite number and 8 are shown for visualization purposes, or is there a finite predictable number of possible states.

Re:Show HN: Play with real quantum physics in your browser by shalg on Friday February 07, 2025 @01:38PM (#42975958)
Quantum mechanics tells us that the qubit (coin) can exist in any linear superposition of heads and tails. To express this you write a|heads> + b|tails> the only constraint is that a^2 + b^2 must equal 1. Now why would that be the constraint? It is because a^2 and b^2 are the probabilities of measuring heads and tails respectively.

In this example the coin is put into the state where an and b equal 1/sqrt(2) to give an equal probability of each outcome. So there is exactly one state associated with the coin. Now this state does lead to two possible outcomes but the underlying state (that can not be directly observed) is exactly one thing.

Re:Show HN: Play with real quantum physics in your browser by shalg on Friday February 07, 2025 @01:40PM (#42975982)
Oh and to be clear the visualization is nonsense it doesn’t relate to anything.