QuantumAtlas

Interactive Calculator · Hardware and Physics

Coherence and Gate Error Calculator

Turn T1, T2, and gate times into the error floor that decoherence alone imposes, and see how much longer-lived qubits would help.

Intermediate
Presets

T2 cannot exceed 2·T1. The calculator caps it if you go higher.

Single-qubit error floor

0.012%

From decoherence alone

Two-qubit error floor

0.078%

Both qubits decohere during the gate

Gates per T2

1,200

Two-qubit gates that fit inside one dephasing time

Depth at 50% success

891.5

Two-qubit layers if decoherence were the only error

Pure dephasing time

Tφ = 200.0 µs, from 1/Tφ = 1/T2 − 1/(2·T1).

Real gate errors are larger than this floor, because control errors, crosstalk, leakage, and measurement add on top of decoherence.

Decoherence-limited two-qubit error versus gate time

10⁻⁹10⁻⁷10⁻⁵10⁻³0.111010010001000010⁵0.1%1% (surface-code threshold region)your gateGate duration (ns)Error from decoherence
Your T1, T210× longer coherence100× longer coherence

Compute decoherence-limited single-qubit and two-qubit gate errors from T1, T2, and gate durations, find how many gates fit within the coherence time, and compare platforms from transmons to trapped ions.

What this calculator does

Quantum information is lost to the environment in two main ways. Energy relaxation, with timescale T1, is the decay of an excited state toward the ground state. Dephasing, with timescale T2, is the loss of the phase relationship between the components of a superposition. Both clocks start running when a gate begins, so every gate has a minimum error set by how long it takes compared with the coherence times. A faster gate leaves less time for the environment to interfere, and a longer-lived qubit gives the same speed a lower error.

This calculator turns those three numbers into an error floor. Enter T1, T2, and the durations of single-qubit and two-qubit gates, and it computes the average gate infidelity from decoherence alone, the number of two-qubit gates that fit inside one dephasing time, and the circuit depth at which decoherence alone would reduce the success probability to one half. The chart shows how the error floor depends on gate time for your coherence and for qubits ten and one hundred times longer lived.

How to use it

Use the Typical transmon preset first, with T1 of 150 microseconds, T2 of 120 microseconds, a 30 nanosecond single-qubit gate, and a 100 nanosecond two-qubit gate. The decoherence floor is about 0.012 percent for the single-qubit gate and 0.078 percent for the two-qubit gate. Real devices usually show larger errors, around 0.1 to 0.5 percent for two-qubit gates, so decoherence is only part of the story, but it sets a hard minimum. Roughly 1,200 two-qubit gates fit inside one T2.

Now try the Trapped ion preset. The coherence times are orders of magnitude longer, around a second, but the gates are also orders of magnitude slower, about 100 microseconds. The decoherence floor is similar to the transmon, near 0.007 percent. The lesson is that what matters is the ratio of T2 to gate time, not either number alone. Ions trade speed for coherence, and superconducting circuits trade coherence for speed. Neutral atoms, with fast Rydberg gates and second-long coherence, combine long T2 with moderately fast gates, which is part of their appeal, though other error sources dominate in practice.

The chart makes the improvement path explicit. Reading across the lines at a fixed gate time, ten times longer coherence cuts the decoherence floor by about ten times. That is why materials research, such as the move to tantalum-based transmons, matters, but also why the floor is not the bottleneck once it sits well below 0.1 percent: control errors, crosstalk, leakage, and measurement must also come down. The dashed lines mark 0.1 percent, a common target for gate errors, and 1 percent, the neighborhood of surface code thresholds.

Reading the result

The calculator uses the standard expression for the average fidelity of an idle qubit over a time t with relaxation T1 and dephasing T2, which is F = [3 + e^(−t/T1) + 2e^(−t/T2)] / 6. For short gates it reduces to an infidelity of about t divided by 6 times the sum of 1/T1 and 2/T2. If T2 equals 2·T1, dephasing comes only from relaxation, and no extra pure dephasing exists. T2 cannot exceed 2·T1 for a physical qubit, so the tool caps it and tells you when that happens. The pure dephasing time Tφ follows from 1/Tφ = 1/T2 − 1/(2·T1).

For two-qubit gates, the tool doubles the single-qubit idle error over the gate duration, because both qubits decohere during the operation. This is an approximation that is accurate for small errors and independent noise. It ignores that qubits spend part of the gate in states that decohere faster or slower than idle ones.

Assumptions and limits

This is a floor and not a prediction. Real gates suffer from control imperfections, calibration drift, leakage out of the qubit states, crosstalk with neighbors, non-Markovian noise from two-level defects, and in some platforms heating or laser noise. The values in the presets are rounded orders of magnitude that vary widely between devices and over time. Use them to build intuition about scaling, and consult device calibration data for specifics.

The formulas behind it

Idle fidelity

F(t) = [3 + e^(−t/T₁) + 2e^(−t/T₂)] / 6

Average gate fidelity of an idle qubit for duration t under amplitude damping and dephasing.

Error floor

ε₁(t) = 1 − F(t) ≈ (t/6)(1/T₁ + 2/T₂)

Valid for t much smaller than T1 and T2.

Two-qubit floor

ε₂ ≈ 2 · ε₁(t_gate)

Both qubits decohere while the gate runs.

Pure dephasing

1/T_φ = 1/T₂ − 1/(2T₁)

T2 is bounded above by 2·T1.

Gates per coherence time

N = T₂ / t_gate

How many gates fit before dephasing erases the phase.

Depth budget

D₅₀ = ln 2 / ε₂

Two-qubit layers before decoherence alone reduces success to 50 percent.

Worked examples

A typical transmon

  1. T1 = 150 µs, T2 = 120 µs, two-qubit gate 100 ns.
  2. ε₁(100 ns) = [3 − e^(−0.000667) − 2e^(−0.000833)]/6 = 0.00039.
  3. ε₂ ≈ 0.00078, N = 120 µs / 0.1 µs = 1,200 gates, and D₅₀ ≈ 890.

ResultA decoherence floor of about 0.078 percent per two-qubit gate.

A best-in-class lab transmon

  1. T1 = 1 ms, T2 = 0.8 ms, two-qubit gate 60 ns.
  2. ε₁(60 ns) ≈ 3.5 × 10⁻⁵, so ε₂ ≈ 7 × 10⁻⁵.

ResultA floor of 0.007 percent, so other error sources dominate completely.

A trapped ion

  1. T2 = 1 s, T1 ≫ T2, two-qubit gate 100 µs.
  2. ε₁ ≈ (100 µs / 6) × (2 / 10⁶ µs) = 3.3 × 10⁻⁵, so ε₂ ≈ 7 × 10⁻⁵.

ResultThe same floor as the fast transmon, reached by a very different route.

Frequently asked questions

Is T2 always less than T1?

T2 is at most 2·T1. It is often smaller than T1 because of extra dephasing noise.

Why do some qubits have very long T1 but short T2?

Because dephasing can be caused by noise that does not change energy, such as fluctuating magnetic or electric fields.

If decoherence is not the bottleneck, why improve T1 and T2?

Longer coherence removes one error source, relaxes the speed requirements on gates, and leaves room to trade speed for fidelity in control.

References

  1. Krantz, P., et al. (2019). A quantum engineer's guide to superconducting qubits. Applied Physics Reviews, 6, 021318.
  2. Kjaergaard, M., et al. (2020). Superconducting qubits: Current state of play. Annual Review of Condensed Matter Physics, 11, 369-395.
  3. Place, A. P. M., et al. (2021). New material platform for superconducting transmon qubits with coherence times exceeding 0.3 milliseconds. Nature Communications, 12, 1779.
  4. Bruzewicz, C. D., Chiaverini, J., McConnell, R., & Sage, J. M. (2019). Trapped-ion quantum computing: Progress and challenges. Applied Physics Reviews, 6, 021314.
  5. Saffman, M. (2016). Quantum computing with atomic qubits and Rydberg interactions: progress and challenges. Journal of Physics B, 49, 202001.
  6. Koch, J., et al. (2007). Charge-insensitive qubit design derived from the Cooper pair box. Physical Review A, 76, 042319.

Keep exploring

These calculators use simplified, published models for education and planning. Real devices and systems differ, so treat results as estimates. They are not engineering, investment, legal, or security advice.