Decoherence is the process by which a quantum system loses its ability to show interference and superposition because it becomes entangled with its environment. A qubit that starts in a crisp superposition gradually behaves as if it were in a classical statistical mixture instead — its off-diagonal density-matrix element ρ01 decays away. This is the single biggest engineering obstacle in building a quantum computer: superconducting and trapped-ion qubits are cooled in dilution refrigerators and shielded in ultra-high vacuum precisely to push out the T1 and T2 clocks as far as possible before the environment scrambles the state.
ρ01(t) = ρ01(0)·e^(−t/T2)
ρ11(t) = ρ11(0)·e^(−t/T1)
ρ00(t) = 1 − ρ11(t)
Tr(ρ²) = ρ00² + ρ11² + 2|ρ01|²
The best superconducting qubits today reach T2 coherence times of a few hundred microseconds — still far too short for large algorithms without error correction. The theory of decoherence, developed by Wojciech Zurek, Dieter Zeh and others from the 1970s onward, also explains why the everyday classical world looks classical at all: constant "measurement" by the environment continuously selects out the stable, non-superposed states we actually observe, a process called einselection.
Decoherence is what happens when a quantum system stops behaving quantum-mechanically because it becomes entangled with its surroundings. This simulator models a single qubit's density matrix ρ and lets you watch its off-diagonal coherence term ρ01 decay exponentially with a characteristic dephasing time T2, while its diagonal populations ρ00 and ρ11 optionally relax toward the ground state on a separate timescale T1. Both are the two standard experimental metrics engineers quote when they report how "good" a physical qubit is.
The equatorial panel shows the transverse Bloch vector shrinking as coherence is lost, the side bar tracks the vertical population balance, and the scrolling plot traces both |ρ01(t)| and the purity Tr(ρ²) over real elapsed time. Understanding and fighting decoherence — through cryogenic cooling, vacuum isolation, dynamical decoupling and quantum error correction — is the central engineering challenge standing between today's noisy qubits and a fault-tolerant quantum computer.
Decoherence is the loss of a quantum system's ability to show interference and superposition, caused by unavoidable interactions and entanglement with its environment. As a qubit decoheres, its off-diagonal density-matrix element ρ01 shrinks toward zero and the state starts to behave like a classical statistical mixture instead of a coherent superposition.
T1 is the energy relaxation time — how long an excited qubit takes to decay toward its ground state. T2 is the dephasing time — how long the coherence between basis states survives. T2 is always less than or equal to twice T1, and both are standard figures of merit reported for every real quantum-computing platform.
Under pure dephasing (T1 switched off) the populations ρ00 and ρ11 never change, only the coherence ρ01 decays. Purity Tr(ρ²) = ρ00² + ρ11² + 2|ρ01|² still falls because the |ρ01|² term vanishes, leaving only ρ00² + ρ11², which equals 0.5 only for an exact equal superposition (θ = 90°) and is otherwise somewhere between 0.5 and 1.
Every quantum algorithm relies on maintaining coherent superpositions and interference between qubits for as long as the computation takes. Decoherence is the enemy of that: it is why quantum processors are cooled in dilution refrigerators near absolute zero, isolated in vacuum and shielded from stray electromagnetic noise — all to push T1 and T2 as high as possible before the environment scrambles the state.