Equal mixture
|0⟩ or |1⟩, chosen at random with probability ½ each
- Coherence ρ₀₁
- 0.000
Three small simulations of ideal textbook models. Each one changes a single quantity and shows what follows from it.
Browser-based educational simulations. They run on your device, send no data and use no quantum hardware.
How does a qubit’s direction change the chance of measuring zero?
Browser simulation · Exact predictions
Named states
Changing φ turns the vector around the z axis. Computational-basis probabilities stay the same; switch to the X basis to see the phase matter.
Model: |ψ⟩ = cos(θ/2)|0⟩ + eiφ sin(θ/2)|1⟩. P(0) = cos²(θ/2) and P(+) = (1 + sin θ cos φ)/2. Values are exact predictions for an ideal qubit with no noise.
What happens when two identical waves fall out of step?
Browser simulation · Classical waves
Time
Model: y = A sin(2πx/λ − 2πt/T + δ) for each wave, added point by point. R = 2A|cos(Δφ/2)|. Displacement is the signed height of the wave at one point; intensity is proportional to R² and is averaged over time. Both waves travel in the same direction, so the pattern moves while its amplitude stays fixed.
Can two preparations with the same measurement probabilities respond differently to a gate?
Choose |0⟩ or |1⟩ with equal probability for the mixture. Prepare |+⟩ for the coherent state.
Both give P(0) = ½ when measured now. Predict what one Hadamard gate will change on fresh copies.
Apply H once to each fresh preparation. The mixture retains its probabilities. H maps |+⟩ to |0⟩.
Browser simulation · Exact and sampled results
No copies measured yet.
|0⟩ or |1⟩, chosen at random with probability ½ each
(|0⟩ + |1⟩)/√2, the same superposition on every copy
Model: density matrices ρ for one ideal qubit, H = (1/√2)[[1, 1], [1, −1]], ρ → HρH, and P(0) = ρ₀₀. Exact values come from the matrices. Sampled values are simulated measurements from a seeded pseudo-random generator, so a run can be repeated. Both preparations share the same diagonal; only the coherent one has the off-diagonal term that a Hadamard turns into a definite result.
One ideal qubit with no noise, and two ideal classical waves. Real devices lose coherence, mis-apply gates and misread results. None of that is included here.
Exact values come straight from the formulas. Sampled values imitate repeated measurements with a seeded pseudo-random generator, so they scatter around the exact values and a run can be reproduced.
The calculations live in separate modules from the drawings and are covered by automated tests: poles, equator, normalization, phase periodicity, the wave endpoints at 0, π and 2π, and agreement between each figure and its readout to within 10⁻⁹ before rounding.
Further study: IBM Quantum Learning, superposition with Qiskit · OpenStax University Physics, Interference of Waves
Explore the possibilities of quantum intelligence.
An independent conceptual quantum AI research initiative.