Superposition is one of the foundational principles of quantum mechanics and a key resource for quantum computing. A qubit in superposition is not simply in an unknown classical state — it genuinely occupies a combination of |0⟩ and |1⟩ at the same time, described by complex probability amplitudes. This is fundamentally different from classical uncertainty, where a coin under a cup is definitely heads or tails even if you don't know which.
The Hadamard gate is the most common operation for creating superposition, transforming |0⟩ into an equal superposition of |0⟩ and |1⟩. When multiple qubits are placed in superposition, the system can represent all possible combinations of their states simultaneously. For example, 50 qubits in superposition represent 2⁵⁰ (over one quadrillion) states at once — more than any classical computer could enumerate in real time.
Superposition is fragile. Interactions with the environment — thermal noise, electromagnetic interference, cosmic rays — cause decoherence, which destroys superposition and collapses the qubit toward a classical state. Maintaining superposition long enough to perform useful computation is one of the central engineering challenges in quantum computing, driving the need for near-absolute-zero temperatures in superconducting systems, ultra-high vacuum in trapped-ion systems, and sophisticated error correction codes across all platforms.