Depolarizing Noise

qc/noise

The simplest way to model an imperfect gate: after the gate, the state gets partially replaced by the fully mixed (maximally random) state.

Larger = more randomization. It’s intentionally non-specific about why the gate is imperfect — no direction, no timing dependence, just “some of the information got scrambled.”

The repeated-X experiment

A clean way to see this noise accumulate: apply an even number of x gates to and measure. Since , an ideal circuit always returns exactly to regardless of — so any decay in as grows is a pure noise signal, not a logic error.

def repeated_x_circuit(n):
    qc = QuantumCircuit(1, 1)
    for _ in range(2 * n):
        qc.x(0)
    qc.measure(0, 0)
    return qc

Under this model, the survival probability decays exponentially toward (fully random) as grows:

This same repeated-gate structure is reused (with different measurement bases) to probe directional Pauli errors and time-dependent decay — it’s a general-purpose noise-characterization pattern, not just a depolarization-specific trick.

Self-Check

  • Why does the repeated-X experiment isolate noise from logic errors — what makes gates special?
  • Could you explain in plain language what depolarizing noise does to a qubit?
  • Why is depolarizing noise called “non-specific” compared to the Pauli error model?