[Jump to code hierarchy]

Spacetime circuit code[13]

Description

Qubit stabilizer code constructed from a Clifford circuit, i.e., a circuit made up of Clifford gates and Pauli measurements, in order to detect and correct circuit faults. The code utilizes redundancy in the measurement outcomes of a circuit to correct circuit faults, which correspond to Pauli errors of the code.

The structure of the Clifford circuit yields correlations between the circuit’s possible measurement outcomes. The set of outcomes can be made into a classical binary linear code called the outcome code [3; Corr. 2]. The spacetime circuit code is defined such that its error syndromes can be backpropagated to obtain the parity checks of the outcome code. In other words, both codes have the same set of parity check outcomes.

More technically, given an \([m,k]\) outcome code associated with an \(n\)-qubit circuit of depth \(\Delta\) with \(m\) measurements and \(2^k\) outcomes, the corresponding spacetime circuit code is an \([[ n (\Delta + 1), n (\Delta + 1) - (m - k) ]]\) code [3; Thm. 2].

The spacetime circuit code is the stabilizer code corresponding to the subsystem codes of earlier works [1,2], which dealt with specific families of Clifford circuits. A more general construction includes circuits with intermediate and multi-qubit measurements [3].

Many features of the spacetime circuit formalism can be understood through ZX calculus [4]. Two circuits are fault-equivalent if all undetectable faults on one circuit have a corresponding fault on the other [5].

Decoding

A most-likely error decoder for the spacetime code can be converted into a most-likely fault decoder for the underlying circuit [3].Efficient decoders can be constructed for some circuits, especially when the resulting outcome and spacetime codes are LDPC [3].

Fault Tolerance

The outcome-code distance is a lower bound on the circuit-level distance, and the bound need not be tight because some undetectable fault configurations are logically trivial. The circuit-level distance corresponds to the minimum-weight outcome codeword that is not in the kernel of the logical effect matrix [6].

Notes

See [7; Sec. 2] for a brief overview of spacetime circuits.

Cousins

Primary Hierarchy

Parents
Spacetime circuit codes are useful for constructing fault-tolerant syndrome extraction circuits for qubit QLDPC codes. General spacetime circuit codes can be sparsified to yield QLDPC spacetime circuit codes [3].
Spacetime circuit code

References

[1]
D. Bacon, S. T. Flammia, A. W. Harrow, and J. Shi, “Sparse Quantum Codes From Quantum Circuits”, IEEE Transactions on Information Theory 63, 2464 (2017) arXiv:1411.3334 DOI
[2]
D. Gottesman, “Opportunities and Challenges in Fault-Tolerant Quantum Computation”, (2022) arXiv:2210.15844
[3]
N. Delfosse and A. Paetznick, “Spacetime codes of Clifford circuits”, (2023) arXiv:2304.05943
[4]
J. C. Magdalena de la Fuente, J. Old, A. Townsend-Teague, M. Rispler, J. Eisert, and M. Müller, “XYZ Ruby Code: Making a Case for a Three-Colored Graphical Calculus for Quantum Error Correction in Spacetime”, PRX Quantum 6, (2025) arXiv:2407.08566 DOI
[5]
B. Rodatz, B. Poór, and A. Kissinger, “Fault Tolerance by Construction”, (2025) arXiv:2506.17181
[6]
M. E. Beverland, S. Huang, and V. Kliuchnikov, “Fault tolerance of stabilizer channels”, (2024) arXiv:2401.12017
[7]
K. R. Ott, B. Hetényi, and M. E. Beverland, “Decision-tree decoders for general quantum LDPC codes”, (2025) arXiv:2502.16408
[8]
C. Gidney, “Stim: a fast stabilizer circuit simulator”, Quantum 5, 497 (2021) arXiv:2103.02202 DOI
[9]
Y. Li, “Low-density parity-check representation of fault-tolerant quantum circuits”, Physical Review Research 7, (2025) arXiv:2403.10268 DOI
Page edit log

Your contribution is welcome!

on github.com (edit & pull request)— see instructions

edit on this site

Zoo Code ID: spacetime_circuit

Cite as:
“Spacetime circuit code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/spacetime_circuit
BibTeX:
@incollection{eczoo_spacetime_circuit, title={Spacetime circuit code}, booktitle={The Error Correction Zoo}, year={2026}, editor={Albert, Victor V. and Faist, Philippe}, url={https://errorcorrectionzoo.org/c/spacetime_circuit} }
Share via:
Twitter | Mastodon |  | E-mail
Permanent link:
https://errorcorrectionzoo.org/c/spacetime_circuit

Cite as:

“Spacetime circuit code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2026. https://errorcorrectionzoo.org/c/spacetime_circuit

Github: https://github.com/errorcorrectionzoo/eczoo_data/edit/main/codes/quantum/qubits/dynamic/spacetime_circuit.yml.