Skip to main content

🎮 Interactive Qubit Simulator

Experiment with quantum gates and see how they change qubit states in real-time!

Qubit State

|0⟩
Current State
Ground State
Superposition
0%

Quantum Gates

Operation History

Initial: |0⟩

📊 Measurement Probabilities

Probability of |0⟩
100%
Probability of |1⟩
0%

💡 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.