- Home
- Library
- Lattice and Hamiltonian Field Theory
- Tensor Networks for Fields and Gauge Theories
- Tensor Renormalization of Path Integrals
Tensor Renormalization of Path Integrals
A lattice partition function is a sum over exponentially many configurations. Local interactions let us rewrite that sum as a network of small tensors. The rewrite is exact; the approximation enters when growing tensor indices are compressed during contraction.
We will derive the tensor network of the square-lattice Ising model, contract a periodic system by directional tensor blocking, and compare with two independent exact finite-volume calculations. The example shows why a small local singular-value tail is useful information but is not a certified error bar on the partition function.
Preparation: Singular-value decomposition and the distinction between a state and its contraction from Matrix Product States and Entanglement. The present tensors encode classical Boltzmann weights, not a quantum-state wavefunction.
Turn an interaction into a shared bond index
Take spins with partition function
Each undirected nearest-neighbor edge is counted once. On our periodic square there are 16 spins and 32 edges.
Factor the two-spin weight as
The identity follows from . It introduces a two-valued auxiliary index on every edge. Sum over the physical spin at a vertex to obtain
The labels refer to left, right, up and down bonds. Contract matching bond indices between neighboring vertices. Expanding the edge sums reverses the factorization and returns exactly.
Writing gives a particularly transparent form:
An index value one can be viewed as an occupied edge. Only configurations with even degree at every vertex survive. Thus the auxiliary expansion organizes the partition function as closed graphs; on a torus, winding graphs must be retained too. It is not legitimate to replace them all by boundaries of contractible plaquettes.
At , only remains and . This simple limit checks both the local factor of two and the absence of an extra edge normalization. The same local construction appears in Xie et al., §II.A, Eqs. (2)–(4), PDF p.2.
Exact blocking increases the bond dimension
Contract two neighboring tensors vertically:
The vertical bond between them has disappeared, but each horizontal index is now a pair. If it previously had dimension , its new dimension is . Without compression, repeated blocking merely reorganizes the original sum and eventually becomes expensive.
The higher-order tensor renormalization group, or HOTRG, compresses these paired indices. It alternates vertical and horizontal fusions. This is a directional higher-order-SVD construction, not the original honeycomb splitting of Levin–Nave TRG. Their shared idea is to replace a growing intermediate tensor by a controlled low-rank approximation; their geometric steps differ. See Levin and Nave, PDF pp.1–2 for the original factorization and Xie et al., Eqs. (5)–(12), PDF pp.2–3 for the directional algorithm used here.
To select a left paired-bond basis, flatten into the matrix
Its singular-value decomposition is . A second unfolding puts the right paired index in the row position and gives . For a target dimension , define their one-leg discarded squared norms
Our real-tensor prescription chooses the first columns of whichever isometry has the smaller discarded norm; exact ties choose the left one. Use the same matrix on the left and right paired indices:
An adjacent right bond and left bond share one basis. Contracting their compressed indices inserts into the original paired-bond space. At full dimension, and the step is an exact basis change. At smaller dimension it is a projection, so the equality of partition functions has become an approximation.
The selected one-leg residual equals its SVD tail in the Frobenius norm. The actual two-leg reconstruction error
is a different quantity: the notation here applies on the two paired indices, leaving untouched. The companion records both. Neither is the error in the complete tensor-network contraction.
Normalization factors belong to the partition function
Repeated products can make tensor entries very large or small. Divide each intermediate tensor by a positive scale , such as its largest absolute entry. If identical tensors remain at that stage, retain the contribution .
For four alternating blocking steps on the torus, the site counts are
Once one tensor remains, both pairs of periodic bonds close on that tensor:
The sum includes the initial tensor normalization if one was applied. Forgetting these factors may leave reasonable-looking normalized tensors while giving a completely incorrect free energy.
The untruncated final paired dimensions in this small example are at most 16. Therefore is sufficient to preserve every paired-bond basis through all four steps. With , this finite network gives an exact reference for the truncated contractions.
Compare with the finite system actually being contracted
The fixed numerical couplings are
and . The symbol labels the infinite-square-lattice critical coupling, used here as a demanding test point. A finite partition function is analytic and does not itself have a phase transition.
One reference explicitly sums all spin configurations. A second uses a row-spin transfer matrix. For row configurations , define with periodic , and
Then . The half horizontal energies ensure that every row's internal bonds are counted once when the four transfer factors are multiplied. This provides an independent check of the tensor network's topology and normalization.
At , the signed errors are:
| Retained dimension | |
|---|---|
| 1 | −1.16709708 |
| 2 | −0.01759148 |
| 4 | −0.01020624 |
| 8 | −0.00186004 |
| 16 | Within floating-point precision |
The errors are not guaranteed to have that sign. At the sequence is
The approximation lies above the exact , while neighboring cutoffs lie below. Increasing the retained dimension improves this finite example overall, but it does not create a variational upper or lower bound on .
All curves refer to the same periodic lattice. The vertical scale is symmetric logarithmic away from a small linear region around zero. The sign-changing weak-coupling error is retained. Agreement at follows from full paired-bond retention for this particular network.
The companion tensor_blocking.py retains the full scan and stage diagnostics. Its controls include the exact edge factorization, a four-spin closed-loop identity, isometry normalization, the one-leg SVD residual, the separate two-leg residual, and agreement with both exact references. An anisotropic check interchanges and , and compares scaled with unscaled contractions. Full-rank results agree with direct spin sums to about in .
A local truncation error needs an environment
Suppose only one local tensor is changed, while the rest of the network is contracted exactly into its environment . Then
The SVD controls the second factor for a specified unfolding. It does not determine the first factor. A small relative Frobenius error in can therefore have a different importance for a particular partition function or observable.
Repeated truncations also change the environments used by later steps. The final error is not simply the sum of the displayed discarded fractions. Environment-aware algorithms address that problem by incorporating more of the surrounding contraction; Xie et al., opening of §II.B, PDF p.3 explicitly distinguishes HOTRG's local criterion from its environment-based extension. We do not implement that extension here.
An observable requires its own insertion tensor or a controlled derivative of the partition function. Accuracy of alone does not prove accuracy of a small connected correlator. The next page's PEPS example studies such contraction errors with a fixed quantum state.
Numerical coarse-graining and physical renormalization
These steps reduce the number of tensors while attempting to preserve their contraction.
Ordinary TRG can retain short-distance correlations through repeated blocking. Tensor network renormalization, usually abbreviated TNR, adds disentanglers and suitable isometries to remove such correlations. A unitary pair is an exact insertion; an isometric projector onto a smaller space is approximate. Their different roles are explained in Evenbly and Vidal, PDF pp.1–2. Our calculation uses HOTRG.
Quantum Euclidean path integrals can also become tensor networks, for example through an imaginary-time product formula. In that application the time-step approximation, local Hilbert-space cutoff and tensor-bond truncation are separate. Improving the contraction does not automatically remove the other regulators. Likewise, rewriting a theory with complex weights avoids sampling a positive probability distribution, but does not eliminate possible numerical cancellations.
Summary
The Ising edge factorization gives an exact local tensor representation. Blocking remains exact until a smaller paired-bond space is selected. The finite-torus comparison verifies normalization and contraction while exposing the limits of local SVD diagnostics: they are neither partition-function error bars nor a universal physical RG construction.
Exercises
1. Close the smallest loop
Consider four spins on one square with only its four perimeter edges. Derive
by expanding the edge weights. Check both and the leading behavior.
Solution
Write each edge weight as . A term in the product survives the spin sums only if every spin occurs an even number of times. On this four-edge graph the surviving subsets are the empty graph and the full perimeter.
Each surviving spin sum is , yielding the displayed result. At , it is 16 as required for four independent spins. At large positive , and , so . The factor two counts the two aligned configurations, each with four satisfied edges.
This graph is an open four-spin patch, not a periodic lattice with two directional bonds between certain neighboring sites. The edge set must be specified before comparing formulas.
2. What does an SVD tail bound?
Let , with decreasing nonnegative singular values, and let retain the first . Derive its Frobenius error and a bound on the change of a contraction with a fixed exact environment. Explain what is missing if only a local discarded fraction is reported for a multi-step tensor calculation.
Solution
Unitary invariance of the Frobenius norm gives
The truncated SVD minimizes this error among rank- matrices for the specified unfolding. If with fixed exact , then Cauchy–Schwarz gives
A local discarded fraction divides the squared tail by . It contains neither nor the normalization by needed for a relative partition error. It also describes one matrix projection, not automatically a simultaneous projection on two tensor legs.
In a multi-step calculation several tensors and their environments have changed. A global error estimate requires those propagated effects or an independent convergence comparison. The local fractions alone do not supply a certified bound on or a normalized observable.
References
- G. Evenbly and G. Vidal, “Tensor Network Renormalization,” arXiv:1412.0732v3, PDF, pp.1–2: short-range correlations, disentanglers and projectors. No TNR implementation is claimed in the example.
- M. Levin and C. P. Nave, “Tensor renormalization group approach to 2D classical lattice models,” arXiv:cond-mat/0611687v2, PDF, pp.1–2: tensor networks and SVD-based coarse-graining.
- Z. Y. Xie, J. Chen, M. P. Qin, J. W. Zhu, L. P. Yang and T. Xiang, “Coarse graining tensor renormalization by the higher-order singular value decomposition,” arXiv:1201.1144v4, PDF, §II.A, Eqs. (1)–(12), and opening of §II.B: the implemented directional construction and its local-environment distinction.
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.