Pentagon Holographic QECC
- The topic is a tensor-network quantum error correcting code built from perfect tensors arranged on hyperbolic pentagon tilings, capturing holographic duality.
- It employs isometric encoding to map bulk logical qubits into boundary physical qubits, with stabilizers derived from the five-qubit code ensuring robust error correction.
- The model reproduces a discrete Ryu–Takayanagi entanglement formula and provides insights into operator mapping, fault tolerance, and holographic duality.
The Pentagon Holographic Quantum Error Correcting Code—often referred to as the HaPPY code—is a stabilizer-based, tensor-network quantum error correcting code (QECC) constructed via hyperbolic pentagonal tilings. Primarily, it serves as a discrete, exactly solvable toy model that captures the relationship between holographic duality (notably the AdS/CFT correspondence) and quantum information theory through geometric realization of entanglement, code properties, and bulk/boundary duality. The code is built from contracted copies of rank-6 “perfect tensors” (each encoding the five-qubit code) arranged on the hyperbolic tiling, resulting in a family of quantum codes with favorable encoding rates and remarkable connections to gravitational features such as the Ryu–Takayanagi formula (Pastawski et al., 2015, Cao et al., 2021, Jahn et al., 2019, Bray-Ali et al., 2019, Fan et al., 2024).
1. Perfect Tensor Construction and Tiling
The foundational building block is a perfect tensor , where each index , satisfying the property that for any bipartition of the six legs into three inputs and three outputs, the associated linear map is an isometry. This tensor can be explicitly constructed from the stabilizer code plus one auxiliary qubit and is cyclically symmetric regarding partitioning (Pastawski et al., 2015, Cao et al., 2021).
The network geometry arises by tessellating the Poincaré disk with regular pentagons (Schläfli symbol , with four pentagons at each vertex). At each pentagon, a copy of the perfect tensor is placed. Edges shared between pentagons correspond to contracted tensor indices, while uncontracted indices on the boundary represent the code’s physical (boundary) qubits, and those dangling into the bulk are logical (bulk) qubits (Cao et al., 2021, Fan et al., 2024).
2. Isometric Encoding and Stabilizer Structure
Composing all tensors and summing over contracted indices defines a global isometry,
with , thus encoding logical qubits into physical qubits (Pastawski et al., 2015, Fan et al., 2024). The code is a pure quantum stabilizer code, and the local stabilizers from each seed code propagate to boundary-local stabilizers:
for each pentagon face whose contracted boundary is mapped to the outermost layer (Fan et al., 2024). Logical operators associated with bulk indices push to products of Pauli operators along boundary geodesics, with the minimal support scaling linearly with the number of tiling layers (Cao et al., 2021, Bray-Ali et al., 2019).
3. Entanglement and Ryu–Takayanagi Formula
Entanglement entropy in the HaPPY code saturates a discrete version of the Ryu–Takayanagi (RT) formula. For any connected boundary region , the von Neumann or Rényi entropy is given by the length (number of cuts) of the minimal discrete surface separating from its complement,
This holds exactly due to the perfect tensor property and negative-curvature hyperbolic geometry (Pastawski et al., 2015, Jahn et al., 2019, Wan et al., 8 Jan 2026). In the Majorana-dimer and ZX-calculus descriptions, each crossing dimer along geodesic or spider-fusion operation in the ZX diagram similarly yields this scaling, reproducing both the surface area law and the holographic entropy correspondence (Jahn et al., 2019, Wan et al., 8 Jan 2026).
4. Error Correction, Logical Operators, and Bulk/Boundary Duality
Correctability derives from the isometric property of perfect tensors. For erasures, provided the erased region is below a critical fractional size, all bulk information can be reconstructed from the complement boundary region; quantitatively, this threshold is associated with the ratio (Bray-Ali et al., 2019). The code's distance equals the minimal boundary region whose erasure destroys correctability for a given bulk logical qubit; for layers (Fan et al., 2024). Logical operators in the bulk can be “pushed” by successive isometries to products of boundary operators, explicitly manifesting entanglement wedge reconstruction and subregion duality as in the AdS/CFT correspondence (Pastawski et al., 2015, Jahn et al., 2019).
Table: Key Quantities (for layers)
| Layers | (physical) | (logical) | (distance) | Rate |
|---|---|---|---|---|
| 0 | 5 | 1 | 3 | 0.20 |
| 1 | 35 | 7 | 3 | 0.20 |
| 2 | 215 | 43 | 5 | 0.20 |
These quantities follow , , ; asymptotic rate (Fan et al., 2024, Bray-Ali et al., 2019).
5. Decoding, Fault Tolerance, and Performance
Decoding can be accomplished via tensor contraction (in for the LEGO_HQEC tensor-network decoder), Gaussian elimination, or integer-optimization-based minimum weight decoders (Fan et al., 2024). The pure (maximal-rate) pentagon code exhibits zero threshold under both erasure and Pauli depolarizing noise: logical error probability decays only polynomially, not exponentially, with code size due to logarithmic distance scaling. However, “zero-rate” variants obtained by gauge fixing bulk indices (freezing bulk qubits) can attain thresholds (Fan et al., 2024).
Stabilizers remain geometrically local on the boundary, facilitating syndrome extraction with bounded-weight measurements. The full encoding and decoding circuits can be constructed via a sequence of , , and gates guided by the contracted graph and optimized for minimal long-range interactions (Munné et al., 2022).
6. Alternative Representations: Majorana Dimers and ZX-Calculus
The code state admits a Majorana-dimer representation: the tensor network contracts to a configuration in which boundary Majorana pairs (dimers) correspond to shortest paths (“bit threads”) through the bulk. The entanglement structure, operator mapping, and saturating RT surface follow transparently from this geometric dimer correspondence (Jahn et al., 2019).
In the ZX-calculus formalism, each perfect tensor is realized as a six-node ZX “graph state” subdiagram. The global code appears as a contraction of spiders with Hadamard edges mapped to the pentagon tiling, and all code properties (stabilizers, logicals, entropy, toy black holes) are encoded and computable in the diagrammatic calculus (Wan et al., 8 Jan 2026).
7. Rate Bounds, Extensions, and Limitations
The pentagon code achieves an asymptotic boundary-to-bulk code rate
for the tile-completion inflation rule on the tessellation, as proven via the hyperbolic isoperimetric inequality (Bray-Ali et al., 2019, Fan et al., 2024). This ensures nonzero erasure threshold under perfect erasure decoding, but performance under generic noise is determined by the code’s logarithmic distance and thus does not show a finite threshold without additional gauge fixing (Fan et al., 2024). Extensions to larger seed codes, alternative tilings (e.g., , “XP” tensors), or non-stabilizer constructions are tractable in the tensor-network formalism (Bray-Ali et al., 2019, Fan et al., 2024).
Open challenges include optimal decoding under general noise, scaling and threshold behavior for finite sizes, and explicit realization of non-Clifford logical gates—basic versions of the HaPPY code lack transversal (non-Clifford) gates (Cao et al., 2021).
The pentagon holographic quantum error correcting code forms a canonical model for the interplay between hyperbolic geometry, holographic duality, and quantum information, providing a template for both theoretical advances in quantum gravity and practical approaches to quantum error correction (Pastawski et al., 2015, Fan et al., 2024, Munné et al., 2022, Bray-Ali et al., 2019).