Back to Module 4 notes

These problems practise building MPOs by hand, counting the cost of DMRG, and reading convergence diagnostics; the last two go with the hands-on gaps in the notebooks.

Problem 4.1 (Warm-up: small MPOs).
  1. Multiply out for the TFIM MPO of Module 4, eq. (4.2), at , and check that you get .
  2. Give an MPO with for the identity and for , and one with for .
  3. What is the largest MPO bond dimension you need for if has bond dimension ? Why might the true minimal bond dimension of be smaller?
Problem 4.2 (Exponentially decaying interactions).

Consider with , a model with couplings between all pairs.

  1. Show that it still has an MPO with , and write the bulk tensor .
  2. Prove your answer by the same induction as in Proposition 4.1 of the notes.
  3. How would you handle ? What does this suggest for a power-law coupling ?
Problem 4.3 (Contraction order and cost).
  1. Write out the one-site matvec of eq. (4.5) as a sequence of three pairwise contractions and show that it costs .
  2. Show that contracting with first (they share no index) creates an object with entries. How much memory is that for , , in double precision?
  3. Repeat part 1 for the two-site matvec and compare with the SVD of . Which dominates for , ?
Problem 4.4 (What the variance tells you).

For the critical TFIM () at the notes report, for two-site DMRG, and at , and and at .

  1. In the free-fermion solution, the lowest excitation energy is the smallest singular value of the matrix . Show that for and large , . (Numerically, at .)
  2. Use Lemma 4.1 of the notes to bound the infidelity at and .
  3. Suppose instead that . Compute and in terms of and the gap . Show that the energy error is quadratic in the distance , while is linear in it.
Problem 4.5 (One-site DMRG from a product state).
  1. Show that one-site DMRG started from an MPS with all bond dimensions 1 stays at bond dimension 1, and so returns at best the optimal product state.
  2. For the TFIM with a uniform product state , , show that . Minimize it and evaluate at , . Compare with .
  3. Two-site DMRG from the same start reached bond dimension 2, 4, 8, 16 in its first four half-sweeps (Figure 4.9 in the notes). Explain why the largest bond can at most double per half-sweep.
Problem 4.6 (Hands-on 4.1 to 4.8: MPOs, environments and the sweeps).

Do the hands-on gaps of the Module 4 notebook in either language (Julia or Python): Hands-on 4.1 (xxz_fsm, the XXZ MPO), 4.2 (grow_left / grow_right), 4.3 (apply_Heff), 4.4 (the one-site sweep dmrg), 4.5 (two_site_update, the core of dmrg2), 4.6 (grow_left2, for ), 4.7 (expval_ops) and 4.8 (nnn_fsm, the next-nearest-neighbour MPO of Example 4.1 in the notes). Then:

  1. Verify that the TFIM MPO of the notebook (tfim_fsm with mpo_from_fsm) for , contracted to a dense matrix, has lowest eigenvalue at , and that your XXZ MPO from Hands-on 4.1 matches dense_xxz in the same way.
  2. Run dmrg2 at with and reproduce the table in the worked example (energy error, discarded weight, variance) to two significant digits.
  3. Run one-site dmrg from a random MPS with and from a product state. Report both energies and explain the difference using the previous problem.