These problems practise the SVD (Problem 0.1), the Schmidt decomposition (Problem 0.2) and the entanglement entropy (Problem 0.3, Problem 0.4) on examples small enough to do by hand. The last two, Problem 0.5 and Problem 0.6, go with the hands-on gaps in the notebooks.
Problem 0.1 (Warm-up: a 2 by 2 SVD).
Let .
Find the singular values of from the eigenvalues of .
What is the best rank-1 approximation error , and what fraction of does the first layer carry?
A matrix is stored as a rank-20 truncated SVD. How many numbers does that take, and by what factor is it smaller than the dense matrix?
Solution
, whose eigenvalues are , that is and . The singular values are their square roots, and .
By the Eckart-Young theorem, . The total weight is , so the first layer carries and the relative error is .
numbers instead of , a factor of about .
Problem 0.2 (Schmidt decomposition of two qubits).
Consider .
Write the matrix and find its Schmidt values.
Compute the entanglement entropy and compare with the maximum .
Show that is not a product state without computing an SVD, using only .
Solution
With the first qubit as row index, . This matrix is real symmetric, so its singular values are the absolute values of its eigenvalues. The eigenvalues of solve , so , that is and . Hence and . Check .
and , so , a bit more than half of .
A product state has , a rank-1 matrix, so . Here , so has rank 2 and is entangled.
Problem 0.3 (The W state across every cut).
The -qubit W state is .
Show that for a cut after sites, , and that this is a Schmidt decomposition.
Find and its maximum over .
Compare with the GHZ state. Both have Schmidt rank 2 across every cut. Why does that make both of them cheap for a tensor network, although the W state “spreads” one excitation over the whole chain?
Solution
Split the sum into terms with the excitation in the left block () and in the right block. The left terms are , and likewise for the right. It is a Schmidt decomposition because the left states and are orthonormal (one has one excitation, the other none), and so are the right states and . The coefficients are non-negative and their squares sum to one.
With , , the binary entropy. It is symmetric under and concave, so its maximum is at (for even , ), where . For : for ; the notebook’s Schmidt values at are and .
The cost of a tensor network is set by the Schmidt rank (or, approximately, by ) across each cut, not by how “spread out” the state looks. Both states have rank 2 everywhere, so both are exact MPS with . Entanglement entropy is bounded by in both cases, an area law in its simplest form. What would be expensive is a state whose rank grows with the size of the smaller block.
Problem 0.4 (Local operations cannot create entanglement).
Let be a state of a left block and a right block with matrix .
Show that applying an operator (with acting on , on ) turns into .
Deduce that the Schmidt rank cannot increase under , and that the Schmidt values and are unchanged when and are unitary.
Give an example of a two-qubit operator that is not of this form and creates entanglement from a product state.
Solution
, so . The coefficient of is .
because the rank of a product never exceeds the rank of any factor. If and are unitary, so is , and is again an SVD with the same . The Schmidt values, and with them , are unchanged. This is why the entropy is a property of the state, not of the local bases.
The CNOT gate acting on gives , a Bell state with . A two-site gate across the cut can raise the Schmidt rank by at most a factor equal to its own operator Schmidt rank (2 for CNOT); this is why time evolution with local gates grows entanglement step by step (Module 3).
Problem 0.5 (Hands-on 0.6: how much does a random state lose?).
Hands-on 0.6 (truncate_state in both notebooks) truncates the half-chain cut of states to Schmidt values and finds that the infidelity equals the discarded weight .
For a state whose half-chain Schmidt values were all equal, what would be at ?
The notebook’s random state gives . Explain why these are smaller than your answer to part 1, but not by much.
The critical TFIM ground state gives at . Use Proposition 0.3 of the notes to state what fraction of the state is lost, and estimate from the value how fast the Schmidt values decay.
Solution
With for all , keeping values keeps weight , so .
The Schmidt values of a random state are not all equal: they follow the Marchenko-Pastur distribution, so the largest few are a few times bigger than the average , and keeping the largest keeps more than . But no value dominates, so the loss stays of order one. Page’s formula tells the same story: the entropy is close to the maximum , so about of the 64 values matter.
The fidelity is , so a approximation keeps of the state. Going from to divides by about . If decays roughly geometrically, , then and , so each further Schmidt value is about times smaller in weight, or times smaller in amplitude. (The real spectrum of a critical chain is not exactly geometric, which is why gives rather than the extrapolated .)
Problem 0.6 (Hands-on 0.5: entropy against system size).
With entanglement_entropy from Hands-on 0.5 and the ground-state code of the notebook, compute the half-chain entropy of the TFIM ground state at and for .
You should find (), (), () and () at , and for all four sizes at . Which case is an area law and which is not?
For an open critical chain, with central charge for the TFIM. Predict and compare.
What does this imply for the bond dimension needed at as grows?
Solution
At the entropy does not change with (to four digits): this is the area law of a gapped chain. At it keeps growing slowly, which is the logarithmic violation expected at a critical point.
The prediction is ; the measured difference is . The agreement is reasonable for such small sizes: the formula holds up to corrections that decay with (and oscillate with the parity of the cut), and between and the prediction is already closer to the measured .
Since estimates the number of relevant Schmidt values, grows only as a small power of , here . Critical chains need more bond dimension than gapped ones, but they remain within reach of MPS methods.