Back to Module 6 notes

These problems check the definitions of Module 6, redo its key derivations by hand, and point at the hands-on gaps of notebook 06 in both languages.

Problem 6.1Β (Operator Schmidt rank of CZ, CNOT and SWAP).

Write a two-qubit gate as with as few terms as possible (the operator Schmidt rank).

  1. Show that CZ has , and find the decomposition.
  2. Show that CNOT πŸ™πŸ™ also has .
  3. Show that SWAP πŸ™πŸ™ has .
  4. Using Proposition 6.3, what is the largest Schmidt rank across the middle cut of qubits after 6 crossing CZ gates? After 6 crossing SWAP gates?
Problem 6.2Β (Per-gate fidelity and the normalization pitfall).

An MPS is in mixed canonical form, and after a two-qubit gate the Schmidt values across the gate’s bond are with chosen so that .

  1. Compute , and the kept weight and discarded weight when truncating to .
  2. Suppose the circuit has 40 such truncations with the same and the code never renormalizes. What does fidelity_estimate() (the squared norm ) return?
  3. Assume the product rule holds for the true fidelity . What would you report if you forgot to divide by the norm, that is, if you used as the fidelity?
Problem 6.3Β (The exact fidelity bound, and how weak it is).
  1. Show that for unit vectors , .
  2. Show that for , and conclude that one renormalized truncation moves the state by at most in norm.
  3. Combine these with the triangle inequality to prove with , as in Theorem 6.1.
  4. Evaluate the product estimate , the bound , and the form for 66 truncations with each, and for 66 truncations with each. What does this say about using the bound in practice?
Problem 6.4Β (Pauli rotations and the kicked Ising step).

Use the Pauli rotation rule of Proposition 6.5 with .

  1. Compute and as linear combinations of Pauli matrices.
  2. One kicked Ising step is with applied first and second. Show that the part is a rotation of the form with a Clifford angle, and compute its action on for two qubits.
  3. In the Heisenberg picture we compute . On a chain of three qubits with bonds and , how many Pauli strings can contain after one step, at most?
Problem 6.5Β (Two contraction trees for a ring).

Four tensors form a closed ring with bonds , , , , all of dimension (the network of Figure 6.5; is the index dimension of Definition 6.2, here the same on every bond).

  1. Using the definitions of cost and width in Definition 6.2, compute the cost and the width of the tree .
  2. Do the same for the tree .
  3. For , how much more memory and how many more multiplications does the second tree need?
Problem 6.6Β (Notebook gaps: the MPS circuit simulator).

Complete the gaps of notebook 06 in either language (Julia: notebooks/julia/06_circuits.ipynb; Python: notebooks/python/06_circuits.ipynb).

  1. Hands-on 6.2 (apply_gate2! / apply_gate2): apply a two-qubit gate to neighbours and return the kept weight . Explain in one sentence why the centre must be moved to the gate first.
  2. Hands-on 6.3 (apply_gate_long! / apply_gate_long): route a long-range gate with SWAPs and return the product of the fidelities. How many two-site updates does a gate on qubits cost?
  3. Hands-on 6.5 (path_cost): compute and of a linear contraction order from the index labels alone. Compare the time order and the qubit order for the brickwork circuit, and explain which one wins at small depth and which at large depth.
  4. Run the worked example and confirm that your simulator’s product of agrees with the exact fidelity, as in the table of the notes.