Circuit Depth
Understanding Circuit Depth
A quantum circuit is structured as a sequence of gate layers applied to a register of qubits. Gates within the same layer execute simultaneously on different qubits, while gates in different layers execute sequentially. The circuit depth is the total number of these sequential layers, analogous to the critical path length in classical circuit timing analysis. A circuit with depth d and gate time tg takes total time d·tg to execute, during which the qubit states are subject to decoherence (energy relaxation at rate 1/T1 and dephasing at rate 1/T2).
The fundamental constraint is that circuit depth cannot exceed T2/tg before the quantum information is lost to decoherence. For a superconducting transmon with T2 = 100 μs and single-qubit gate time of 25 ns, this gives a theoretical maximum of 4,000 layers. However, two-qubit gates (CX, CZ) have significantly higher error rates (0.5 to 2% per gate) than single-qubit gates (0.01 to 0.1%), so the practical depth limit is determined by the cumulative two-qubit gate error budget. A circuit with 100 two-qubit gates at 1% error per gate has a total error probability of approximately 1 - (1 - 0.01)100 = 63%, meaning the output is mostly noise. This is why NISQ algorithms target shallow circuits with depth 10 to 100, using classical optimization loops to compensate for limited gate budget. Quantum error correction will eventually break the depth barrier by detecting and correcting errors faster than they accumulate, but current surface codes require 1,000+ physical qubits per logical qubit to achieve the necessary error suppression.
Circuit Depth Constraints
dmax = T2 / tgate
Cumulative Error Probability:
Perror = 1 - (1 - ε)d ≈ d · ε [for small ε]
Quantum Volume:
QV = 2n where n = max achievable depth = width
Where T2 = coherence time, tgate = gate duration, ε = per-gate error rate, d = circuit depth, n = number of qubits (= depth for QV). QV = 128 means depth 7 circuits execute reliably.
Circuit Depth by Platform
| Platform | 1Q Gate Time | 2Q Gate Time | T2 | Practical Depth |
|---|---|---|---|---|
| Superconducting (transmon) | 20 to 50 ns | 100 to 300 ns | 50 to 200 μs | 100 to 500 |
| Trapped ion | 1 to 10 μs | 10 to 200 μs | 1 s to minutes | 100 to 1,000 |
| Neutral atom | 0.1 to 1 μs | 1 to 10 μs | 1 to 10 s | 100 to 500 |
| Photonic | ~1 ns | Probabilistic | N/A (no idle) | Limited by loss |
| Error-corrected (future) | ~1 μs (logical) | ~10 μs (logical) | Unlimited | Unlimited |
Frequently Asked Questions
How does circuit depth relate to algorithm feasibility?
Every algorithm has a minimum depth. Shor's for 2048-bit RSA requires depth in millions, far beyond current hardware. NISQ variational algorithms (VQE, QAOA) target depth 10 to 100. If depth × gate_time exceeds T2, the output is meaningless noise. Hardware progress focuses on increasing T2 (longer coherence) and decreasing gate times (faster operations).
What is the relationship between depth and quantum volume?
QV = 2n where n is the largest square circuit (depth = width) executing with heavy output probability > 2/3. IBM's 27-qubit processors have demonstrated QV = 512 (depth 9). QV captures both qubit count and quality as a holistic metric incorporating depth limitations.
How does depth differ across hardware platforms?
Superconducting transmons: fast gates (20 to 50 ns) but shorter T2 (50 to 200 μs), practical depth 100 to 500. Trapped ions: slow gates (10 to 200 μs) but much longer T2 (seconds to minutes), practical depth 100 to 1,000. Error correction will enable arbitrary depth but requires 1,000+ physical qubits per logical qubit.