Color code
The color code is a class of topological quantum error correcting codes defined on two-dimensional lattices where the stabilizer generators are associated with the vertices, edges, and faces of a three-colorable lattice (typically a hexagonal or truncated-square tiling). Unlike the surface code, which protects only one logical qubit and corrects only bit-flip or phase-flip errors separately, color codes can encode multiple logical qubits and perform all Clifford gates transversally — a significant advantage for fault-tolerant quantum computation.
The color code achieves its transversal gate set by exploiting the color structure of the lattice: the three colors correspond to three independent stabilizer checks, and logical operators can be deformed along paths that respect this coloring. This richer structure comes at a cost: the color code requires higher-weight stabilizer measurements and more complex syndrome extraction than the surface code. The trade-off between gate universality and measurement complexity is a central tension in topological quantum computing architecture.
From a systems perspective, the color code reveals that topological protection is not a single design pattern but a family of patterns, each optimizing for different constraints. The surface code optimizes for local connectivity. The color code optimizes for logical gate set. Future architectures may hybridize both approaches, or discover entirely new lattice geometries that optimize for yet-unidentified constraints.