These problems practise building MPS by hand (Problem 2.1, Problem 2.2), using the canonical form (Problem 2.3) and the transfer matrix (Problem 2.4), and bounding compression errors (Problem 2.5). The last one, Problem 2.6, goes with the hands-on gaps of the notebooks.
Problem 2.1 (Warm-up: how large is an exact MPS?).
Take a chain of spin-1 sites ().
List the bond dimensions that the sequential-SVD construction gives for a generic state.
Count the numbers stored in that exact MPS, with , and compare with the amplitudes of the dense vector.
Repeat the count when every bond is capped at .
Solution
By the bond-dimension theorem of the notes, for a generic state (a generic matrix has full rank). The list is .
The site tensors have sizes , , , and so on. Summing gives numbers, more than twice the amplitudes. The exact MPS of a generic state is bigger than the vector: the two middle tensors alone have entries each. MPS only pay off after truncation.
With the cap the bonds are , and the count is . In general a capped MPS stores at most numbers, linear in .
Problem 2.2 (GHZ and W states as MPS).
The -qubit W state is .
Show that is an MPS with . Hint: in the bulk use and , and choose the end vectors.
Compute the entanglement entropy of across every bond. Do the same for the GHZ state of the notes.
Can either state be written with ? Explain using the bond-dimension theorem.
Solution
Take the row vector on the first site, in the bulk and the column vector on the last site. Since , any product that contains two or more factors vanishes. A product with no is , and . A product with exactly one is , and . So the amplitude is exactly when one spin is up, which is . The bond index records “has the up spin appeared yet?” (state 1: not yet, state 2: already).
Across bond , , where is the W state of sites. The two terms are orthogonal on both sides, so this is a Schmidt decomposition with , , and . It is largest in the middle of the chain (exactly at for even ) and smallest at the edges, for large . For GHZ, is already a Schmidt decomposition across every bond, so for all .
No. A MPS is a product state and has Schmidt rank 1 across every bond. Both states have Schmidt rank 2 across every bond, so by the bond-dimension theorem every MPS for them needs , and is optimal. Both entropies also respect , with equality for GHZ.
Problem 2.3 (The left-canonical form is unique up to bond unitaries).
Let and be two MPS for the same state , both with bond dimensions (the Schmidt ranks), and with every tensor left-orthogonal except the last.
Let and be the matrices formed by the first tensors of each MPS. Show that both have orthonormal columns spanning the column space of .
Deduce that for a unitary , and that for and (with ).
In mixed canonical form with centre , show that for a two-site operator needs only the tensor , and give its cost.
Solution
Orthonormal columns follow from the block-isometry lemma of the notes. Write , with the matrix formed by the remaining tensors. The range of is contained in the range of , which has dimension . Since , the two ranges are equal. The same argument works for .
Both and are orthonormal bases of the same -dimensional space, so is unitary and (since is the projector onto that space). Now with read as a matrix, and has orthonormal columns. Therefore
which is for each . For the last site both MPS give the same vector , and the same step gives . So the only freedom left in the left-canonical form is a unitary on each bond, and in particular the norm of the last tensor and all Schmidt values are fixed.
3. With and the orthonormal block states left of and right of , . In this orthonormal basis,
Forming costs , applying costs and the final sum costs . The total is , independent of . This is the starting point of TEBD in Module 3.
Problem 2.4 (The AKLT transfer matrix).
The AKLT state of a spin-1 chain is the uniform MPS with and
where and .
Show that 𝟙 and 𝟙.
Let act on matrices (this is the transfer matrix acting on right vectors). Show that 𝟙, , , are eigenvectors and find the eigenvalues.
Find the correlation length . Then compute in the bulk, where in the basis .
Solution
Using , and 𝟙, we get 𝟙𝟙. The second identity is the same computation with and . So is both left- and right-orthogonal, and with 𝟙.
𝟙𝟙 by part 1. For : , and , so . For : and , while , so ; likewise for . The spectrum is , which a numerical diagonalization of the matrix confirms.
, less than one lattice spacing. For the correlator, . Acting on 𝟙 it gives . Then plain steps multiply by . The second insertion gives 𝟙, and closing with 𝟙 (the trace pairing) gives 𝟙. Since , this is also the connected correlator. It alternates in sign (antiferromagnetic) and decays as with . For example, gives and gives .
Problem 2.5 (The compression error sandwich).
Let be normalized and let be the output of the SVD sweep of the notes, with discarded weights .
Show that , and deduce .
Show that no MPS of bond dimension beats , and explain why the sweep is therefore within a factor of optimal.
The notebooks report for the 10-site TFIM ground state at . Predict the fidelity without running anything.
Show that running the sweep a second time on with the same changes nothing except the normalization in step 1.
Solution
By the nested-projector argument of the notes, with an orthogonal projector. So . Write . Then . Because , , so the error is at most .
Fix a bond . Every MPS of bond dimension has . By Eckart-Young the closest matrix of rank at most to in Frobenius norm is its truncated SVD, at squared distance . Hence for every , so it is at least the maximum. On the other side the sweep gives . The ratio between what the sweep achieves and the best possible is therefore at most . In practice it is much closer to 1, because the tails are dominated by the few middle bonds.
The fidelity is , which is the value the notebooks print for direct truncation.
After the first sweep has bond dimension at most on every bond, so its Schmidt ranks are at most . In the second sweep the centre tensor at bond has at most nonzero singular values, and they are Schmidt values of the current state. So nothing is discarded, every , and by the identity of the notes the output equals the input of the second sweep, which is (step 1 normalizes), up to the gauge.
Problem 2.6 (Notebook: how small can the bond dimension be?).
This problem uses Hands-on 2.5 (entanglement_entropies) and Hands-on 2.6 (compress) in either the Julia or the Python student notebook.
After completing both gaps, compress the 10-site TFIM ground state at for . Find the smallest with .
Repeat at (change the field in ising_hamiltonian). Which phase needs the smaller bond dimension, and how does that match the middle-bond entropies of the two states?
Check that the measured error never exceeds the bound returned by tail_bound, and say where the bound is tight.
Solution
At the errors are , , , , and for , so the answer is . The error does not fall at a constant rate: the steps , and gain two orders of magnitude, the others less than one, which mirrors the uneven gaps in the Schmidt spectrum.
At the errors are , , , , and , so is enough. The gapped state needs less, as the area law predicts: its middle-bond entropy is , against at the critical point, and its Schmidt values decay faster. On larger chains the difference grows. At the required saturates with , while at it keeps growing slowly, as grows like .
At the bounds are , , , , , , and . Every error is below its bound. The bound is loose only at , where the truncation of each bond changes the spectra seen by the later bonds a lot. From on it exceeds the error by at most 16%, and by at most 6% from on, because the discarded weight is concentrated on a few central bonds and the earlier truncations barely change it.