Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Matrix Product States and Entanglement

    A scalar field already has an infinite-dimensional Hilbert space at one spatial site. Keeping only dd local oscillator states makes an NN-site wavefunction finite, but it still has dNd^N coefficients. A matrix product state (MPS) asks a different question: how much of that state is needed to describe entanglement across each spatial cut?

    The answer is exact before any truncation. Successive Schmidt decompositions turn the coefficient array into a chain of tensors. Limiting their internal dimensions then gives a controlled representation of some states, with observable errors that must be checked. The distinction matters: compressing an independently known eigenvector teaches us about representation; DMRG actually searches for a low-energy state within the tensor family.

    From a Schmidt cut to a tensor chain

    Consider an open chain with orthonormal local states ∣sj⟩|s_j\rangle, where sj=0,…,dj−1s_j=0,\ldots,d_j-1. Write a normalized state as

    ∣ψ⟩=∑s0,…,sN−1ψs0⋯sN−1∣s0⋯sN−1⟩.|\psi\rangle=\sum_{s_0,\ldots,s_{N-1}}\psi_{s_0\cdots s_{N-1}}|s_0\cdots s_{N-1}\rangle.

    At a cut after site jj, group the indices to the left into LL and those to the right into RR. Singular-value decomposition of the matrix ΨLR\Psi_{LR} gives

    Ψ=USV†,∣ψ⟩=∑α=1rjsα∣α⟩L∣α⟩R,sα≥0,∑αsα2=1.(1)\Psi=U S V^\dagger, \qquad |\psi\rangle=\sum_{\alpha=1}^{r_j}s_\alpha |\alpha\rangle_L|\alpha\rangle_R, \qquad s_\alpha\geq0, \qquad \sum_\alpha s_\alpha^2=1. \tag{1}

    The two Schmidt bases are orthonormal. Consequently, the nonzero eigenvalues of either reduced density matrix are pα=sα2p_\alpha=s_\alpha^2. The rank rjr_j measures how many states the two halves must share, rather than how many basis states either half possesses.

    To obtain a chain, first reshape ψ\psi into a d0×(d1⋯dN−1)d_0\times(d_1\cdots d_{N-1}) matrix. Keep its UU as the first tensor and pass SV†S V^\dagger to the remaining sites. At the next step, group the retained index with s1s_1, apply another SVD, and continue. The result is

    ψs0⋯sN−1=A0s0A1s1⋯AN−1sN−1,Ajsj∈Cχj×χj+1,χ0=χN=1.(2)\psi_{s_0\cdots s_{N-1}} =A_0^{s_0}A_1^{s_1}\cdots A_{N-1}^{s_{N-1}}, \qquad A_j^{s_j}\in\mathbb C^{\chi_j\times\chi_{j+1}}, \qquad \chi_0=\chi_N=1. \tag{2}

    The product is a scalar because the endpoint dimensions are one. The internal indices are summed by matrix multiplication. With no discarded singular values, Eq. (2) represents the original state exactly; a sufficient dimension at a cut is its Schmidt rank. For uniform local dimension dd, the worst-case rank is dmin⁡(j+1,N−j−1)d^{\min(j+1,N-j-1)}. Thus the exact rewriting alone does not cure exponential complexity. Its usefulness comes from states whose important Schmidt weights fit in much smaller spaces. Schollwöck derives this construction explicitly in §4.1.3, Eqs. (30)–(38). [1]

    With a uniform bond cap χ\chi, storing the bulk tensors takes order Ndχ2N d\chi^2 numbers. Across one open-chain bond,

    S=−∑αpαlog⁡pα≤log⁡χ.(3)S=-\sum_\alpha p_\alpha\log p_\alpha\leq\log\chi. \tag{3}

    We use natural logarithms, so entropy is measured in nats. This is a restriction on representable entanglement, not an error estimate for a particular Hamiltonian. A spatial continuum limit can also increase the required local dimension or bond dimension; neither is removed by the notation.

    Representation gauge and canonical forms

    An invertible matrix XX on an internal bond can be inserted together with its inverse:

    Ajs⟼AjsX,Aj+1t⟼X−1Aj+1t.(4)A_j^s\longmapsto A_j^s X, \qquad A_{j+1}^t\longmapsto X^{-1}A_{j+1}^t. \tag{4}

    The physical coefficients are unchanged. This representation gauge is a redundancy of the tensor factorization. It is distinct from a gauge symmetry acting on matter and link variables; gauge-invariant tensors impose an additional physical constraint.

    Canonical forms use this freedom to make the effective block bases orthonormal. A tensor is left canonical when

    ∑sAjs†Ajs=Iχj+1,(5)\sum_s A_j^{s\dagger}A_j^s=I_{\chi_{j+1}}, \tag{5}

    and right canonical when

    ∑sBjsBjs†=Iχj.(6)\sum_s B_j^s B_j^{s\dagger}=I_{\chi_j}. \tag{6}

    For example, the left block ending at site jj has states

    ∣α⟩L=∑s0⋯sj(A0s0⋯Ajsj)1α∣s0⋯sj⟩.|\alpha\rangle_L =\sum_{s_0\cdots s_j} (A_0^{s_0}\cdots A_j^{s_j})_{1\alpha} |s_0\cdots s_j\rangle.

    Their Gram matrix is the identity: successively use Eq. (5), beginning with the left endpoint, to contract the bra and ket. Right-canonical tensors give the analogous result from the other end.

    At a chosen bond, a mixed canonical form therefore reads

    ∣ψ⟩=∑αsα∣α⟩L∣α⟩R.(7)|\psi\rangle=\sum_\alpha s_\alpha |\alpha\rangle_L|\alpha\rangle_R. \tag{7}

    The diagonal center matrix contains actual Schmidt coefficients. Alternatively, keep one uncontracted center tensor CαsβC_{\alpha s\beta} between orthonormal left and right block bases. Its Frobenius norm is then the physical state norm:

    ⟨ψ∣ψ⟩=∑α,s,β∣Cαsβ∣2.(8)\langle\psi|\psi\rangle=\sum_{\alpha,s,\beta}|C_{\alpha s\beta}|^2. \tag{8}

    This identity is what makes a local DMRG eigenproblem well conditioned. QR decompositions can move the center without truncating the state; SVD is needed when the singular values themselves are wanted. A noncanonical tensor's singular values generally are not the physical Schmidt values, because its surrounding block bases need not be orthonormal.

    What one truncation guarantees

    At a canonical cut, order the Schmidt weights from largest to smallest and keep χ\chi of them. Define

    ϵ=∑α>χsα2,∣ψ~⟩=11−ϵ∑α≤χsα∣α⟩L∣α⟩R.(9)\epsilon=\sum_{\alpha>\chi}s_\alpha^2, \qquad |\widetilde\psi\rangle =\frac{1}{\sqrt{1-\epsilon}} \sum_{\alpha\leq\chi}s_\alpha|\alpha\rangle_L|\alpha\rangle_R. \tag{9}

    The unnormalized retained state is the best rank-χ\chi approximation in the vector norm. After normalization,

    ∣⟨ψ∣ψ~⟩∣2=1−ϵ,∥ψ−ψ~∥2=2(1−1−ϵ),(10)|\langle\psi|\widetilde\psi\rangle|^2=1-\epsilon, \qquad \|\psi-\widetilde\psi\|^2=2\bigl(1-\sqrt{1-\epsilon}\bigr), \tag{10}

    where the relative phase is chosen to make the overlap nonnegative. The trace distance of the two pure-state density matrices is ϵ\sqrt\epsilon, giving, for a bounded operator OO,

    ∣⟨O⟩ψ−⟨O⟩ψ~∣≤2∥O∥ϵ.(11)\left|\langle O\rangle_\psi-\langle O\rangle_{\widetilde\psi}\right| \leq2\|O\|\sqrt\epsilon. \tag{11}

    Thus even a rigorous state-error estimate requires an operator scale before it becomes an observable-error bound. For the untruncated scalar field, ϕ\phi and the Hamiltonian are unbounded, so Eq. (11) cannot be used with a finite operator norm without further conditions. In the finite local basis below, all matrices are bounded.

    A sweep truncates several different intermediate states. Its later Schmidt spectrum has already been altered by earlier cuts. Do not add local discarded weights and call the result the final infidelity. Schollwöck's §4.5.1, Eqs. (138)–(142), explains why truncation must be performed in the appropriate canonical bases at each step. [1] Our one-way, unnormalized successive-SVD calculation retains absolute discarded norms and separately measures the final overlap; this is not the same bookkeeping as a normalized time-evolution sweep.

    Contracting observables and understanding correlations

    The tensor factorization also organizes expectation values. For an overlap between tensors AA in the bra and BB in the ket, start with the scalar L0=1L_0=1 and update

    Lj+1=∑sAjs†LjBjs.(12)L_{j+1}=\sum_s A_j^{s\dagger}L_j B_j^s. \tag{12}

    The final LNL_N is ⟨A∣B⟩\langle A|B\rangle. Insert a local operator by replacing that step with

    Lj+1=∑s,tOstAjs†LjBjt.(13)L_{j+1}=\sum_{s,t}O_{st}A_j^{s\dagger}L_j B_j^t. \tag{13}

    The intermediate object has two bond indices; it does not grow into a dense dNd^N-component vector. These environment recursions are derived in §4.2.1, Eqs. (98)–(103), of Ref. [1].

    For a translation-invariant bulk tensor with square matrices AsA^s, it is useful to choose the opposite contraction direction and define a transfer map

    E(X)=∑sAsXAs†,EO(X)=∑s,tOstAtXAs†.(14)\mathcal E(X)=\sum_s A^s X A^{s\dagger}, \qquad \mathcal E_O(X)=\sum_{s,t}O_{st}A^t X A^{s\dagger}. \tag{14}

    Here XX is on the right virtual bond and the output is on the left. In right-canonical form, E(I)=I\mathcal E(I)=I; in left-canonical form its adjoint satisfies E†(I)=I\mathcal E^\dagger(I)=I. Suppose the bulk transfer has a simple leading eigenvalue normalized to one, with fixed matrices r,lr,l satisfying

    E(r)=r,E†(l)=l,tr⁡(lr)=1.\mathcal E(r)=r, \qquad \mathcal E^\dagger(l)=l, \qquad \operatorname{tr}(lr)=1.

    If every other eigenvalue has modulus less than one, connected correlations decay with distance. In a diagonalizable case, a correlator of operators separated by nn sites is a sum of terms proportional to λαn−1\lambda_\alpha^{n-1} after the leading disconnected term is removed. A contributing eigenvalue gives the length

    ξα=−alog⁡∣λα∣.(15)\xi_\alpha=-\frac{a}{\log|\lambda_\alpha|}. \tag{15}

    Only eigenmodes with nonzero overlap with the chosen insertions contribute. Jordan blocks can add polynomial factors multiplying these decays. Most importantly, finite χ\chi alone does not ensure the simple-leading-eigenvalue assumption: the GHZ exercise below has a nondecaying connected correlation. Ref. [1], §4.2.2, explicitly allows several unit-modulus transfer eigenvalues. These uniform-bulk statements do not assign a translation-invariant correlation length to our four-site open example.

    A four-site scalar state: small norm error versus observable error

    Take the open scalar Hamiltonian

    H=∑j=0N−1[pj22+m2qj22+λqj424a]+∑j=0N−2(qj+1−qj)22a2,[qj,pk]=iδjk.(16)H=\sum_{j=0}^{N-1}\left[\frac{p_j^2}{2}+\frac{m^2q_j^2}{2} +\frac{\lambda q_j^4}{24a}\right] +\sum_{j=0}^{N-2}\frac{(q_{j+1}-q_j)^2}{2a^2}, \qquad [q_j,p_k]=i\delta_{jk}. \tag{16}

    Here qj=a ϕjq_j=\sqrt a\,\phi_j in one spatial dimension. We use N=4N=4, a=1a=1, m2=0.25m^2=0.25, λ=0.2\lambda=0.2, and retain d=8d=8 states of a frequency-one oscillator at each site. The quartic convention is λ/4!\lambda/4!; it differs from the g: ⁣ϕ4 ⁣:g:\!\phi^4\!: convention of the preceding Hamiltonian-truncation example.

    All local powers are projected as operators: Pdq2PdP_dq^2P_d and Pdq4PdP_dq^4P_d, rather than powers of PdqPdP_dqP_d. The local cutoff is held fixed while the MPS is compressed. Sparse diagonalization supplies the reference state; no energy optimization is performed in this example.

    The reference values are

    E0=2.4414474308,⟨q0q3⟩=0.0647504663,q2‾≡14∑j⟨qj2⟩=0.5080568181.(17)E_0=2.4414474308, \qquad \langle q_0q_3\rangle=0.0647504663, \qquad \overline{q^2}\equiv\frac14\sum_j\langle q_j^2\rangle=0.5080568181. \tag{17}

    The first three probabilities at the center cut are approximately 0.9646860.964686, 0.03410040.0341004 and 0.001143770.00114377. Their rapid decrease makes a compact MPS plausible, but it does not tell us which observable will converge fastest. The actual one-way SVD compression gives:

    Global bond capInfidelityEnergy excessEnd correlationMean square
    11.02×10−11.02\times10^{-1}2.33×10−12.33\times10^{-1}approximately 000.4553080.455308
    24.26×10−34.26\times10^{-3}1.85×10−21.85\times10^{-2}0.04977390.04977390.5038630.503863
    43.71×10−53.71\times10^{-5}1.39×10−41.39\times10^{-4}0.06041840.06041840.5080330.508033
    83.26×10−83.26\times10^{-8}2.90×10−72.90\times10^{-7}0.06474710.06474710.5080570.508057
    169.47×10−139.47\times10^{-13}1.09×10−111.09\times10^{-11}0.06475050.06475050.5080570.508057

    At χ=4\chi=4, the mean square is already close, but the end correlation is about 6.7%6.7\% low. The small infidelity does not imply the same relative accuracy for a small correlation. At χ=1\chi=1, the compressed even state is a product of locally even factors, so the intersite correlation vanishes.

    The figure compares the center-cut spectrum with three independently measured compression errors. Its reference is always the same finite-dd state.

    The center Schmidt probabilities decrease rapidly, while the end correlation converges more slowly than infidelity and the mean square

    The open four-site scalar chain of Eq. (16), with d=8d=8. Left: probabilities at the center cut. Right: infidelity and relative errors in ⟨q0q3⟩\langle q_0q_3\rangle and q2‾\overline{q^2} after normalized successive-SVD compression. This is representation error against a finite-basis exact eigenstate, not a DMRG optimization or a continuum extrapolation.

    The executable companion constructs real and complex MPS, checks canonical Gram matrices and bond-gauge invariance, compares tensor contractions with dense operations, and verifies an MPO against an independent Kronecker assembly. Its local effective Hamiltonian also agrees with an independently embedded physical subspace. The reference eigenvector residual is about 1.7×10−121.7\times10^{-12}. Numerical precision in this finite example does not estimate the error from its local basis, lattice spacing or volume.

    Summary

    A Schmidt decomposition explains what a bond retains; canonical forms make that explanation valid at the chosen cut. Environment contractions then turn the factorization into a computational method. The next step is to vary the tensors using the Hamiltonian, while checking that entanglement truncation and the field's local cutoff are independently controlled.

    Exercises

    A finite bond dimension with long-range correlations

    Construct an open-chain MPS for

    ∣GHZ⟩=∣0⋯0⟩+∣1⋯1⟩2.|\mathrm{GHZ}\rangle=\frac{|0\cdots0\rangle+|1\cdots1\rangle}{\sqrt2}.

    Find its Schmidt entropy, the largest fidelity attainable with rank one across a cut, and the connected ZiZjZ_iZ_j correlation for distinct sites. Explain the transfer-spectrum exception to a finite correlation length.

    Solution

    Use bulk matrices

    A0=(1000),A1=(0001),A^0=\begin{pmatrix}1&0\\0&0\end{pmatrix}, \qquad A^1=\begin{pmatrix}0&0\\0&1\end{pmatrix},

    with left row vL=(1,1)/2v_L=(1,1)/\sqrt2 and right column vR=(1,1)Tv_R=(1,1)^T. Absorb vLv_L into the first tensor and vRv_R into the last. A mixed string contains A0A1=0A^0A^1=0, while either uniform string has amplitude 1/21/\sqrt2. Thus these tensors give precisely the stated state with bond dimension two.

    Across every nontrivial cut, the Schmidt probabilities are 1/2,1/21/2,1/2. Hence S=log⁡2S=\log2, and the optimal normalized rank-one approximation has squared overlap 1/21/2. In the GHZ state, ⟨Zi⟩=0\langle Z_i\rangle=0 while ⟨ZiZj⟩=1\langle Z_iZ_j\rangle=1, so the connected correlation is one at every separation available on the chain.

    The transfer map preserves both diagonal projectors and annihilates off-diagonal matrices. Its eigenvalues are 1,1,0,01,1,0,0. The leading eigenvalue is not simple; discarding only one disconnected component cannot remove the other unit-eigenvalue contribution. Finite bond dimension therefore does not by itself imply decay of connected correlations.

    Normalize the truncation before estimating its error

    A normalized state's Schmidt probabilities are (0.7,0.2,0.08,0.02)(0.7,0.2,0.08,0.02). Retain two Schmidt terms. Find the discarded weight, retained normalized probabilities, fidelity, vector-norm error and a bound on a bounded observable's error. Would this alone imply a small energy error for every Hamiltonian?

    Solution

    The discarded weight is ϵ=0.1\epsilon=0.1 and the unnormalized retained state has squared norm 0.90.9. Normalization divides its probabilities by 0.90.9, giving 7/97/9 and 2/92/9. The squared overlap with the original state is 0.90.9, while

    ∥ψ−ψ~∥2=2(1−0.9)≃0.102633.\|\psi-\widetilde\psi\|^2=2(1-\sqrt{0.9})\simeq0.102633.

    To obtain the trace-distance formula directly, restrict the difference of the two pure-state density matrices to their two-dimensional span. It is traceless and has eigenvalues ±1−∣⟨ψ∣ψ~⟩∣2=±0.1\pm\sqrt{1-|\langle\psi|\widetilde\psi\rangle|^2}=\pm\sqrt{0.1}. Its trace norm is therefore 20.12\sqrt{0.1}. Hölder's inequality gives

    ∣Δ⟨O⟩∣≤2∥O∥0.1.|\Delta\langle O\rangle|\leq2\|O\|\sqrt{0.1}.

    Multiplying a Hamiltonian by an arbitrarily large constant multiplies the energy error but leaves the Schmidt probabilities unchanged. An energy scale or stronger Hamiltonian-specific information is indispensable. For an unbounded field Hamiltonian, an unrestricted finite operator-norm bound is unavailable.

    References

    1. U. Schollwöck, “The density-matrix renormalization group in the age of matrix product states,” Annals of Physics 326, 96–192 (2011), doi:10.1016/j.aop.2010.09.012, arXiv:1008.3477v2. See §§4.1.1–4.1.3, 4.2.1–4.2.2 and 4.5.1 for the specific constructions used here.

    The original executable calculation is documented in examples/lattice-hamiltonian/tensor-networks/README.md; mps_checks.py reproduces the selected values and plot_mps.py redraws the figure without solving again.

    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.