🎮 Interactive Qubit Simulator
Experiment with quantum gates and see how they change qubit states in real-time!
Qubit State
Quantum Gates
Operation History
📊 Measurement Probabilities
💡 How It Works
Quantum Superposition
Unlike classical bits that are either 0 or 1, qubits can exist in a superposition of both states simultaneously. The H gate creates an equal superposition where the qubit is 50% |0⟩ and 50% |1⟩.
Quantum Gates
Quantum gates manipulate qubits by rotating them in quantum state space. Each gate performs a specific transformation - some flip bits, others add phase, and some create superposition.
Measurement Collapse
When you measure a qubit in superposition, it "collapses" to either |0⟩ or |1⟩ based on the probabilities. Once measured, the superposition is destroyed and you get a definite result.
Phase
Quantum states have both amplitude and phase. While phase isn't directly observable, it affects interference patterns in quantum algorithms. The Z and S gates manipulate phase.