Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Tutorial

Subsystem Codes

Abstract

The mathematical formulation of subsystem codes

Keywords:Quantum Error CorrectionSubsystemsTensor Product.

Typically, quantum error correcting codes encode logical information in a subspace of a larger dimensional Hilbert space. Subsystem codes encode the logical information within a tensor factor of a subspace.

For more on this topic, see:

Overview

Let Hn=(C2)⊗n\mathcal{H}_{n} = (\mathbb{C}_2)^{\otimes n} be a Hilbert space of nn-qubits.

In a subspace code, the logical space would be some C⊆Hn\mathcal{C} \subseteq \mathcal{H}_n.

In a subsystem code, the logical space takes the form C=HL⊗HG\mathcal{C} = \mathcal{H}_L \otimes \mathcal{H}_G, where the logical information is encoded in the Hilbert space HL \mathcal{H}_L and the Hilbert space HG\mathcal{H}_G is the gauge subsystem.

The state in the gauge subsystem is allowed to change as long as it does not effect the logical information encoded in HL\mathcal{H}_L.

If dim(HG)=1{\rm dim}(\mathcal{H}_G) = 1, then a subsystem code becomes a subspace code. Hence, subspace codes are a special case of subsystem codes.

Definition

A [[n,k,g,d]][[n,k,g,d]] subsystem code is defined by a decomposition of the nn qubit Hilbert space Hn\mathcal{H}_{n} as

Hn=C⊕C⊥=(HL⊗HG)⊕C⊥,\mathcal{H}_{n} = \mathcal{C} \oplus \mathcal{C}^{\perp} = \big(\mathcal{H}_L \otimes \mathcal{H}_G \big) \oplus \mathcal{C}^{\perp},

where:

Hence, nn is the number of physical qubits, kk is the number of logical qubits, gg is the number of gauge qubits, and dd is the distance of the code.

A subsystem code will be defined via both stabilizers, S\mathcal{S}, and a Gauge group, GG. The stabilizers are an Albeian subgroup of the nn-qubit Pauli-group that does not included −I-\mathbb{I}; the Gauge group is a potentially non-albelian subgroup of the nn-qubit Pauli-group with centre

C(G)=⟨S,iI⟩.C(G)= \langle \mathcal{S}, i \mathbb{I} \rangle.

Elements of GG are of the form IL⊗gG\mathbb{I}_L \otimes g_G, meaning they only act non-trivially on the gauge subsystem. See Poulin (2005) for a proof.

Definition With Virtual Paulis

A set of virtual Paulis {Xj′,Zj′}j∈{1,n}\big\{X'_j, Z'_j \big\}_{j \in \{1,n\}} can be used to defined a set of stabilizers as

S=⟨Z1′,Z2′,…Zm′⟩,\mathcal{S} = \langle Z'_1, Z_2', \ldots Z_m' \rangle,

where m=n−k−gm = n - k - g. The gauge group of a subsystem code is then defined as

G=⟨iI,S,Xm+1′,Zm+1′,Xm+2′,Zm+3′,…,Xm+g′,Zm+g′⟩.G = \langle i \mathbb{I}, \mathcal{S}, X'_{m+1}, Z'_{m+1}, X'_{m+2}, Z'_{m+3}, \ldots, X'_{m+g}, Z'_{m+g} \rangle.

By design, {Xm+q′,Zm+q′}=0 ∀ q∈{1,g}\{X'_{m+q}, Z'_{m+q}\}=0~\forall~q \in \{1,g\}.

The pairing of the non-commuting Pauli operators Xm+q′X'_{m+q} and Zm+q′Z'_{m+q} is necessary for ensuring the existence of a subsystem structure.

Logical Operators

Logical operators are operators that act non-trivially on HL\mathcal{H}_L whilst preserving the codespace C\mathcal{C}. They are elements of the normalizer of the stabilizer group that are not in GG.

In terms of the virtual Pauli’s, the normaliser of the stabilzer group is

N(S)=⟨iI,S,Zm+1′,Zm+2′,…,Zn′,Xm+1′,Xm+2′…,Xn′⟩.N(\mathcal{S}) = \langle i \mathbb{I}, \mathcal{S}, Z'_{m+1}, Z'_{m+2}, \ldots, Z'_{n}, X'_{m+1}, X'_{m+2} \ldots, X'_{n} \rangle.

The logical operators of the subsystem code are then

N(S)∖G=⟨Xm+g+1′,Zm+g+1′,Xm+g+2′,Zm+g+2′,…,Xn′,Zn′⟩.N(\mathcal{S}) \setminus G = \langle X'_{m+g+1}, Z'_{m+g+1}, X'_{m+g+2}, Z'_{m+g+2}, \ldots, X'_{n}, Z'_{n} \rangle.

Hence, there are kk logical XX operators, and kk logical ZZ operators for each of the kk logical qubits.

References
  1. Spencer, D. J., Jain, S. P., Tanggara, A., Sun, Z., Haug, T., Khu, D., & Bharti, K. (2026). Quantum error correction and fault tolerance: A comprehensive tutorial. arXiv. 10.48550/ARXIV.2605.29137
  2. Poulin, D. (2005). Stabilizer Formalism for Operator Quantum Error Correction. 10.48550/ARXIV.QUANT-PH/0508131