These problems practise the selection rule for symmetric tensors, the charges on MPS and MPO bonds, and sector targeting; the last one goes with the hands-on gaps in the notebooks.
Problem 5.1 (Warm-up: counting stored entries).
- An MPS tensor
has a left bond with multiplicities , a spin-1/2 physical leg with one even and one odd state, and a right bond with multiplicities . All legs follow the charge flow of the notes. How many entries does the dense array have, and how many are stored? - Now let both bonds have
states split evenly between the two charges. Show that the stored fraction is exactly for every even . - The XXZ two-site gate
is a matrix. Which entries can be nonzero? Use the charges of the two-site basis.
Solution
- The dense array has
entries. Allowed combinations satisfy : gives , gives , gives , and gives . That is stored entries, half of the array. - With
, each choice of fixes , and every one of the four choices gives entries. The total is , out of . - The two-site states have
( ), ( , ) and ( ). The gate commutes with , so by Schur’s lemma it is block-diagonal with blocks of size . Only of the 16 entries can be nonzero: the two diagonal entries for and , and the full block on .
Problem 5.2 (The symmetries of the two models).
- Show that
also commutes with . Which sectors of does map into each other? - Does
commute with ? What does your answer say about whether the full symmetry group of XXZ is abelian? - For each perturbation, say whether it keeps the parity of the TFIM: a longitudinal field
; a next-nearest coupling ; a three-spin term ; a term .
Solution
- Conjugating by
sends , and . Every term of is a product of two equal Paulis on two sites, so it picks up . Hence . Since , we get , so maps the sector to the sector . - No:
. So and do not commute in general, and the group they generate is not abelian (it is ). Its irreducible representations pair up with . This is why the XXZ sector energies at are equal. Inside the sector , is an extra that splits the block once more. - Each
factor gives one sign when moved through , so a product of Paulis (with any s) picks up . The longitudinal field ( ) and the three-spin term ( ) break the symmetry. ( ) and ( ) keep it.
Problem 5.3 (Charges on MPO bonds).Use the finite-state machines of Module 4 and Figure 5.4 of the notes.
- Write the TFIM MPO tensor in the
basis. Give each MPO bond state a charge so that the tensor is symmetric, and explain why the open state must be odd. - The MPO tensor has legs (left bond, output, input, right bond). Show that its symmetric version stores 18 of its 36 entries.
- Do the same for the XXZ MPO with bond charges
, and show that it stores 34 of 100 entries. - Why would a
-symmetric MPO for XXZ be impossible if we added a field ?
Solution
- In the
basis is diagonal (charge 0) and swaps and (charge 1). The bulk tensor is the same operator-valued matrix as in Module 4, with and . Symmetry requires the charge of the emitted operator to equal the change of the bond charge. The left boundary vector selects ready and the right one selects finished, and a symmetric MPO for a symmetric starts and ends at charge 0, so both carry charge 0. This is consistent with the arrow ready finished, which emits , an even operator. The arrow ready open emits , an odd operator, so the open state must be odd. The arrow open finished emits again, consistently returning to 0. - Fix the two bond states. If they have equal charge, only the two diagonal physical pairs
conserve charge; if their charges differ, only the two off-diagonal pairs do. Either way 2 of the 4 physical entries are allowed, for each of the bond pairs: of . - Now the physical change
must equal the difference of the bond charges, . For there are 2 allowed physical pairs, for there is 1, and for none. Pairs with : among the three charge-0 states plus the two pairs and , so 11 pairs and 22 entries. Pairs with : each charged state with each of the three neutral ones, in both orders, so 12 pairs and 12 entries. The two pairs and give nothing. Total of . changes by on its own site, and no bond can absorb that charge, because the string must start and end at charge 0 and appears alone in its term. Such an does not commute with , so by Schur’s lemma there are no sectors to begin with.
Problem 5.4 (The first excitation is the lowest odd state).
- For
, write in the basis and split it into the even block (on ) and the odd block (on ). Find all four energies. - Check that the free-fermion formula (5.10) gives the same
and . (The matrix is .) - Show that the gap
behaves like for . Relate this to the near-degeneracy that breaks the symmetry in the ordered phase.
Solution
- In the
basis, is diagonal with values on . flips both sites, so it connects and . The even block is , with eigenvalues . The odd block is , with eigenvalues . So (even) and (odd). gives with trace and determinant . Hence and , so and . Then and , so . Both agree. . For small the even and odd ground states are the cat states plus small corrections, and their splitting comes from the field connecting the two magnetized states. For sites the field must flip all spins, one at a time, so the splitting is of order . This is the splitting at , that lets dense DMRG return a broken mixture.
Problem 5.5 (Penalties versus symmetric storage).Dense codes cannot enforce a sector by storage, so the quimb notebook adds a penalty.
- Let
be the lowest energies in the two sectors of the TFIM. Show that has the lowest odd state as its ground state, with the same energy, whenever . - For XXZ, show that
has the lowest state of the sector as its ground state if exceeds , where is the lowest energy in sector and the global minimum. - What is the MPO bond dimension of each penalty term on its own? (Hint:
is a product, and has an MPO with .) - Give one advantage of the penalty over symmetric tensors, and two advantages of symmetric tensors over the penalty.
Solution
commutes with , so both are diagonal in a common eigenbasis. On an odd eigenstate , so its energy is unchanged. On an even eigenstate the penalty adds exactly , so every even level is at least . The ground state of the penalized is therefore the lowest odd state, with energy . - Same argument: on a state of sector
the penalty is for (charges differ by integers) and for . Every other sector is lifted to at least . has , so , a sum of two products, has . has and its square has (its terms are the constant, a single , and a pair , which a three-state machine generates). Adding these to increases the bond dimension a little, and the sum can be compressed. - The penalty works in any dense code, with no change to the tensors, and it can target sectors of symmetries that are hard to implement. Symmetric tensors are exact (no need to choose
or worry about a too-small gap between sectors), and they make every step cheaper and every Schmidt value labelled. The penalty makes the problem slightly more expensive.
Problem 5.6 (The hands-on gaps).These questions go with Hands-on 5.2 and 5.4 of the Julia and Python notebooks.
- Hands-on 5.2 checks
count_symmetricon atensor from to , with of multiplicities and a spin-1/2. Predict the count before running the cell, by fusing the codomain by hand. - In Hands-on 5.4 (
random_mpsin Julia,sector_bondsin Python), the bond spaces are built by fusing physical legs from the left, fusing from the right towards the target charge, and keeping only the charges both directions allow. Forand , which charges can appear on the middle bond, and with what largest multiplicities? What changes for ? - Why does the code also cap each bond at a maximum dimension? What would happen at
without the cap?
Solution
has charge 0 with multiplicity 2 and charge 1 with multiplicity 2. Fusing with : the codomain charge 0 comes from and , giving states, and charge 1 likewise gives 16. The domain has 5 even and 3 odd states. The count is . Here the selection rule removes exactly half of the dense entries, as in the warm-up. - The left four sites carry
with multiplicities . The right four sites must carry , with the same multiplicities, so all five charges survive. Together that is states, the exact maximum. For every spin is up: from the right only is reachable, so the middle bond has the single charge 2 with multiplicity 1, which is a product state. - The exact multiplicities are binomial coefficients, and at the middle bond they add up to
. At that is states on one bond, with up to in a single charge. The random tensors would then not fit in memory. The cap keeps each charge’s multiplicity at most , which is all a variational start needs.