This set practises Lecture 5 and Lecture 6. Problem 1, Problem 2 and Problem 3 are mostly pen and paper, with a short Deltakit check at the end. Problem 4 and Problem 5 start from the counts of Notebook 6. Try each problem before you open its solution. research/hw03_check.py recomputes every number in the solutions.

Problem 1 (When maximum likelihood is minimum weight).

Take the distance-5 repetition code: five data qubits in a line, four checks (), and independent errors of probability on each qubit (perfect measurements).

  1. Checks 0 and 3 fire. List every error with this syndrome. Which one does a minimum-weight decoder pick?
  2. Show that, for this code and this noise, maximum-likelihood and minimum-weight decoding are the same rule for every syndrome and every . What is missing, compared with the surface code of Lecture 5?
  3. Find the failure probability of the decoder at .
Problem 2 (Matching three defects by hand).

In the 3-round, distance-3 SI1000 memory at (Notebook 5), a shot fires detectors 4, 5 and 9. Detector 4 sits at , detector 5 at and detector 9 at . PyMatching’s decoding graph has these edges among them and the boundary node , with weights :

edge––––
weight4.7715.4255.4254.850

There is no direct edge – or –; the cheapest path between them runs through . Of these edges, only the three boundary edges cross the logical.

  1. Explain why the total weight of a set of edges ranks corrections by probability.
  2. An odd number of defects must use the boundary. List the three ways to pair the defects, with their total weights. Which does matching choose, and how much less likely is the runner-up?
  3. Does the decoder predict a logical flip? What physical faults does its correction stand for?
  4. Check your answer with Deltakit, without sampling: decode a hand-made syndrome.
Problem 3 (Zero failures).

A memory runs 250,000 shots with no logical failure.

  1. Why is "" the wrong summary?
  2. Using a likelihood interval (Lecture 6), find the upper bound on for , and Deltakit’s default .
  3. If the true is , about how many shots give a 10% error bar?
Problem 4 (Error per round and SPAM).

Notebook 6 ran the memory at SI1000 for rounds, 200,000 shots each, and counted 177, 394, 832 and 1630 failures.

  1. Compute the single-point error per round for each . Does it depend on ?
  2. In the model , show that to first order in the small quantities .
  3. Using only and , estimate from the slope, by hand.
  4. Fit all four points with compute_logical_error_per_round, and check (2) against (1).
Problem 5 (From Λ to a plan).

The slope fits of Notebook 6 give, at SI1000 , errors per round , and .

  1. Compute the two ratios . Then fit with Deltakit, and predict and .
  2. A machine with must reach per round at . What is the smallest that does it?
  3. The rule of thumb with the total-LEP crossing of Lecture 6, , predicts what at ? Why is the measured value larger?