Tensor-Network Overview
A tensor network replaces a large array by smaller arrays whose repeated indices are summed. Its computational value depends on two separate questions: whether the state or operator admits small internal dimensions, and whether the chosen contraction can be performed without creating large intermediate arrays. This page makes those questions explicit before an algorithm is selected.
Required background. Tensor products in code fixes index ordering; the Schmidt decomposition supplies the rank criterion for an exact factorization. The physical role of entanglement belongs to tensor-network entanglement.
Physical indices, virtual indices, and storage
Section titled “Physical indices, virtual indices, and storage”For sites of local dimension , a state has coefficients . A chain factorization uses
The are physical indices and are virtual indices. Open boundaries mean ; the exact storage is . If all internal dimensions are bounded by , this is at most , instead of . This is a storage bound, not a guarantee that a prescribed error can be reached at fixed .
Each box is a small array. An open vertical line labels a physical basis index ; a joined horizontal line means summation over a shared index . At the dashed cut, the two halves communicate through only values of , so the Schmidt rank cannot exceed . The end bonds have dimension one and are omitted.
Repeated SVDs construct such a factorization for every finite state, but generic middle bonds require . Compression is therefore a property of the state and its ordering, not of the notation.
A contraction is an algorithm
Section titled “A contraction is an algorithm”Consider with dimensions and . Computing costs approximately , whereas costs approximately . When , the latter saves both arithmetic and intermediate memory. This elementary example explains why a drawing of the same network does not specify its runtime.
For an MPS norm, contract a left environment rather than constructing :
The final scalar is . With bounded dimensions, this costs . In left-canonical gauge, each intermediate , providing a useful implementation invariant.
An exact small-network benchmark
Section titled “An exact small-network benchmark”A product state has and . A chain of qubits therefore requires complex numbers before exploiting normalization. For the normalized GHZ state, , suffices across every internal cut. These examples test very different behavior: both compress well, but GHZ has nonzero long-distance connected correlations.
On four sites, explicitly reconstruct all coefficients and compare the norm and one-site and two-site expectations with direct dense contractions. To test site ordering, use an asymmetric complex state and deliberately permute two physical axes: site-resolved observables should change while the norm stays fixed. The GHZ state is invariant under site permutations and therefore cannot reveal this mistake by itself.
Choosing the approximation
Section titled “Choosing the approximation”Use MPS for chain factorizations, MPOs for operator structure, and PEPS when two-dimensional connectivity matters. A circuit contraction can be exact but expensive; an MPS simulation of the same circuit can be cheaper and approximate.
Record the maximum intermediate size, bond dimensions, contraction order, and every truncation. Changes in contraction order should agree to roundoff when no compression occurs. Changes in bond dimension probe representation error. These are different tests.
Exercises
Section titled “Exercises”A normalized state has Schmidt weights across one cut. What fidelity is obtained by retaining two terms and renormalizing?
Solution
The retained squared norm is . The overlap with the normalized retained state is , so the squared fidelity is . A different tensor gauge cannot improve this rank-two optimum for that cut. Multiple successive cuts require a separate accumulated-error analysis.
References
Section titled “References”- Orús, Román, “A practical introduction to tensor networks: Matrix product states and projected entangled pair states,” Annals of Physics 349, 117–158 (2014), arXiv:1306.2164 — representations and approximate contractions.
- Schollwöck, Ulrich, “The density-matrix renormalization group in the age of matrix product states,” Annals of Physics 326, 96–192 (2011), arXiv:1008.3477 — canonical gauges, contractions, and finite-chain algorithms.