Quantum Noise and Decoherence Lab

See how a qubit loses its state. Watch energy and phase decay on the Bloch sphere, run simulated T1, Ramsey, echo and Rabi experiments, explore five noise channels, and find out how many gates a noisy qubit survives.

Reviewed December 2026. New to this? Start on the Decay tab with the defaults and drag T2 down.

Times are in arbitrary units (microseconds, for example). Real values depend on the device.

|0⟩|1⟩+x

x, y, z

0.513, 0.000, 0.393

P(0)

69.7%

Purity

0.709

Vector length

0.647

-1.00.01.00200400timevalue
z (population)coherence √(x²+y²)

Populations relax with T1 towards |0⟩ (z → 1). Coherence, the part of the state that sits on the equator, fades with T2. Pure dephasing time Tφ = 96.0, from 1/T2 = 1/(2·T1) + 1/Tφ.

A five-minute path

  1. Decay tab: start at the north-pole-opposite state and watch z climb as T1 acts.
  2. Move the starting state to the equator and drag T2 down. See coherence fall faster than z.
  3. Measure tab: run a T1 decay with few shots, then many, and compare the fitted time to the true one.
  4. Switch to Echo and then Ramsey. Notice which one oscillates.
  5. Channels tab: compare amplitude damping with depolarizing noise.
  6. Gate budget tab: lower the error per gate and see the usable depth grow.

What the lab does and does not do

  • It models one qubit with exact formulas. Times are in arbitrary units.
  • Shot noise in the experiments is simulated with a seeded random generator.
  • The Rabi decay is a simple model, not a model of any specific device.
  • It does not model crosstalk, leakage, readout error or multi-qubit noise.

Reference tables

Produced by the same functions as the lab.

Starting in |1⟩ with T1 = 1 (time measured in units of T1): the chance of still reading 1, and the Bloch height z.
Time (units of T1)P(1) = e^(−t/T1)z
0.2577.88%-0.558
0.560.65%-0.213
136.79%0.264
213.53%0.729
34.98%0.900
50.67%0.987
For a given T1, how much pure dephasing is hiding behind a measured T2? The limit T2 = 2·T1 means no extra dephasing.
T1T2Pure dephasing time TφComment
100200∞energy loss is the only limit
100150600.0extra dephasing dominates
100100200.0dephasing as strong as the T1 effect
1005066.7extra dephasing dominates
1002022.2extra dephasing dominates
What each channel does to the Bloch vector (x, y, z) with strength p. The amplitude and phase damping parameters are γ and λ.
Channelxyz|+⟩ at p = 0.3 becomes
Amplitude dampingx√(1−γ)y√(1−γ)z(1−γ) + γ(0.837, 0.000, 0.300)
Phase dampingx√(1−λ)y√(1−λ)z(0.837, 0.000, 0.000)
Depolarizingx(1−4p/3)y(1−4p/3)z(1−4p/3)(0.600, 0.000, 0.000)
Bit flipxy(1−2p)z(1−2p)(1.000, 0.000, 0.000)
Phase flipx(1−2p)y(1−2p)z(0.400, 0.000, 0.000)
How many depolarizing gates a pure state survives before its fidelity falls below a threshold.
Error per gateFidelity above 99%Fidelity above 90%Fidelity above 75%
0.1%15167519
0.5%333103
1.0%11651
2.0%0825
5.0%0310

Eight guides

Predict, then check

A qubit starts in |1⟩. After three T1 times, how likely is it to still read 1?

5.0%.

T1 = 100 and T2 = 150. What is the pure dephasing time?

600.0, from 1/Tφ = 1/T2 − 1/(2·T1).

T1 = 100. What is the largest T2 that is physically possible?

200, which is 2·T1.

With 1% depolarizing error per gate, how many gates before the fidelity falls below 90%?

16 gates. At 0.1% error: 167.

With 1% depolarizing error, what is the fidelity after 10 gates?

93.7%.

Related on QuantumAtlas

Frequently asked questions

What does this lab show?

How a single qubit decays under energy relaxation (T1) and dephasing (T2), how those times are measured, what five standard noise channels do to the Bloch sphere, and how many gates a noisy qubit survives.

Are the times in seconds?

No. Times are in arbitrary units, so only ratios matter. This lab quotes no real device numbers, which change as hardware improves.

Why can T2 not exceed 2·T1?

Energy relaxation alone already shrinks the phase information at rate 1/(2·T1), and any extra dephasing adds to that. The lab clamps T2 to 2·T1.

Is this a simulation of a real device?

No. It is an ideal single-qubit model with exact formulas, and simulated shot noise for the measurement experiments.

How are the fits found?

By a simple grid search for the decay time with the smallest squared error. Real labs fit more parameters because real readout is imperfect.

What is a Kraus operator?

One of a few small matrices that together describe a noise process acting on a density matrix. See the guide on noise channels.

Is real noise depolarizing?

Not exactly. Depolarizing noise is an idealised average. Real errors can be coherent or biased, so treat the gate budget as optimistic.

Does this lab cover multiple qubits?

No. Everything here is for one qubit. Correlated noise between qubits is outside its scope.

How does this connect to error correction?

Error correction is the defence against the errors shown here. Try the Quantum Error Correction Lab next.

Can I use the numbers in a paper?

Use the formulas, not the lab output, and check them against a textbook such as Nielsen and Chuang.

Sources and further reading

References were written from memory of the original works. Check the originals for exact citations.