Level 7 · Capstone Topics
Practice Problem Set
About 4,857 words · roughly 22 minute read · sources checked December 2, 2026
Reading a lesson and solving a problem use different muscles. This page collects thirty-six problems that cover the whole course, from the Born rule to BB84, each with a worked solution you can reveal after trying it yourself.
Every numerical answer was computed by me with numpy or plain Python, so you can trust the arithmetic. The problems reuse numbers from the lessons, so if one feels familiar, that is deliberate: seeing the same result from a different direction is how it sticks.
How to use this page: cover the answer, try the problem on paper, then compare. If you get stuck, the topic line before each group tells you which lesson to revisit.
What you will learn
- To apply the Born rule, shot statistics and basic gate identities to concrete numbers.
- To track states through small circuits, including Bell, GHZ and teleportation.
- To compute Grover, phase-estimation and Shor quantities by hand.
- To work with error-correction scaling, loss and key-rate numbers.
- To spot which lesson to revisit for each kind of mistake.
Helpful first: Quantum Algorithm Design Patterns, Quantum Cryptography, Quantum Teleportation.
How to get the most from this page
Work in the order you like, but always write down your own answer before opening the solution. A wrong answer you notice is worth more than a right answer you only read.
| Group | Problems | Revisit if you struggle |
|---|---|---|
| Qubits and measurement | 1 to 6 | What is a qubit, Bit vs qubit, The math of a qubit, Superposition |
| Gates and circuits | 7 to 12 | Quantum gates, Reading a circuit diagram, Linear algebra |
| Entanglement and teleportation | 13 to 18 | Multi-qubit systems, Entanglement, Teleportation |
| Algorithms | 19 to 25 | Quantum algorithms, Grover, Shor, Design patterns |
| Errors and hardware | 26 to 31 | Error correction, Hardware, Path to fault tolerance |
| Networking and cryptography | 32 to 36 | Networking, Cryptography |
A map of the problem set. Problems are numbered across groups.
Check your units and conventions
In Qiskit, qubit 0 is the rightmost character of a bitstring. Many wrong answers in circuit problems come from reading the string backwards.
Qubits and measurement
Check yourself
1. A qubit is in the state (3|0⟩ + 4i|1⟩)/5. Find the probabilities of measuring 0 and 1.
|3/5|² = 0.36 and |4i/5|² = 0.64. These sum to 1, so the state is normalised. The factor i changes the phase and does not change these probabilities.
2. You measure a qubit with P(1) = 0.3 in 1,000 shots. What count of 1s should you expect, and how large is the typical spread?
Expect 300. The spread of the estimated probability is √(0.3 × 0.7 / 1000) = 0.0145, which is about 14.5 counts. A result between 285 and 315 would be unremarkable.
3. How many shots do you need to estimate a probability near 0.5 to within ±0.01 (one standard deviation)?
σ = √(0.25/N) = 0.01 gives N = 0.25 / 0.0001 = 2,500 shots. To halve the error you need four times the shots.
4. A qubit is prepared as Ry(π/3)|0⟩ = cos(π/6)|0⟩ + sin(π/6)|1⟩. What is P(1)?
P(1) = sin²(π/6) = 0.25.
5. For the state in problem 4, what is ⟨Z⟩?
⟨Z⟩ = P(0) − P(1) = 0.75 − 0.25 = 0.5, which equals cos(π/3).
6. Measuring |0⟩ in the X basis (that is, after a Hadamard): what are the probabilities?
H|0⟩ = |+⟩, so a measurement in the computational basis after H gives 0 and 1 each with probability 0.5.
Gates and circuits
Check yourself
7. Show that H Z H = X.
Multiply the matrices: H Z H = X, which I checked numerically. Intuitively, H swaps the Z and X bases, so a Z flip in the H-rotated frame is an X flip.
8. What does H do to |1⟩, and why does the sign matter?
H|1⟩ = (|0⟩ − |1⟩)/√2 = |−⟩. Measuring immediately gives 50/50 as for |+⟩, but a second H sends |−⟩ to |1⟩ and |+⟩ to |0⟩. The sign is invisible until interference reveals it.
9. A circuit applies X to qubit 1 only on 3 qubits (Qiskit order). What bitstring do you measure?
q2 q1 q0 = 0 1 0, so the string is '010'. Qubit 0 is the rightmost character.
10. Apply H then CNOT (control 0, target 1) to |00⟩. What is the output state?
H gives (|00⟩ + |10⟩)/√2, and CNOT flips the target when the control is 1, giving (|00⟩ + |11⟩)/√2, the Bell state. Measuring gives 00 or 11 with probability 0.5 each, never 01 or 10.
11. Is H·H equal to the identity? What does that tell you about gates?
Yes: H² = I. All quantum gates are unitary and reversible, and some, such as H, X and Z, are their own inverses.
12. A 30-qubit state vector uses 16 bytes per amplitude. How much memory does it need?
2³⁰ × 16 bytes = 17.2 GB (16 GiB). Each added qubit doubles this, which is why classical simulation stops around the high 30s to 40s for ordinary machines.
Entanglement and teleportation
Check yourself
13. Is (|00⟩ + |01⟩ + |10⟩ + |11⟩)/2 entangled?
No. It equals |+⟩ ⊗ |+⟩, a product state. Entanglement means a two-qubit state cannot be written as a product.
14. In (|000⟩ + |111⟩)/√2, what is the probability that the three outcomes are not all equal?
Zero. Only 000 and 111 appear, each with probability 0.5.
15. What is the purity of one half of a Bell pair?
The reduced state is I/2, and tr(ρ²) = 0.25 + 0.25 = 0.5, the minimum for one qubit. A maximally entangled pair has maximally mixed halves.
16. Two parties share Werner pairs with weight w = 0.9. What is the best CHSH value?
S = 2√2 × 0.9 = 2.55, above the classical limit 2. It falls to 2 at w = 0.707.
17. In teleportation, how likely is each of the four measurement outcomes, and how many classical bits are sent?
Each has probability 1/4, whatever the state being teleported. Two classical bits are sent.
18. Why does teleportation not allow faster-than-light messaging?
Before Bob receives the two classical bits, his qubit is in the maximally mixed state I/2 averaged over outcomes, so it carries no information about the state. The bits travel at light speed or slower.
Algorithms
Check yourself
19. Grover search on N = 64 with one marked item: how many rounds, and what success probability?
θ = arcsin(1/8). The optimum is (π/4)√64 − 1/2 ≈ 5.77, so use 6 rounds. P = sin²(13θ) = 0.9966. With 5 rounds P = 0.9635, and with 7 rounds it drops to 0.907.
20. Find the order of 2 modulo 15 and the factors this gives.
Powers of 2 mod 15 are 2, 4, 8, 1, so the order is r = 4. Then gcd(2² − 1, 15) = 3 and gcd(2² + 1, 15) = 5. So 15 = 3 × 5.
21. Find the order of 7 mod 15 and the factors.
Powers: 7, 4, 13, 1, so r = 4. gcd(7² − 1, 15) = gcd(48, 15) = 3 and gcd(7² + 1, 15) = gcd(50, 15) = 5.
22. Phase estimation with 3 counting qubits is given φ = 0.375. What is measured?
0.375 × 8 = 3 exactly, so the outcome is 3 with probability 1.
23. For a = 0.04, how many amplification rounds are best, and what is the success probability?
θ = arcsin(0.2) = 0.2014, the best k is 3, and P = sin²(7θ) = 0.974.
24. VQE energy E(θ) = cos θ + 0.5 sin θ. Compute the parameter-shift gradient at θ = π/2.
[E(π) − E(0)] / 2 = [−1 − 1] / 2 = −1. Direct differentiation gives −sin θ + 0.5 cos θ = −1 at π/2, which agrees.
25. A search space has 10⁶ items. About how many Grover rounds, and how many classical checks on average?
(π/4) × 1,000 = 785 rounds. Classical average is about 500,000 checks. The saving is in the count of oracle calls, not in total running time.
Errors and hardware
Check yourself
26. A 3-bit repetition code with majority vote has bit-flip probability p = 0.1 per bit. What is the logical error probability?
The vote fails if 2 or 3 bits flip: 3p² − 2p³ = 0.03 − 0.002 = 0.028. This is lower than 0.1, so coding helps when p is small.
27. Repeat problem 26 with a 5-bit code.
Sum over 3, 4 or 5 flips: 0.0086. Larger codes help further while p is below the break-even point.
28. How many physical qubits does a distance-d surface code patch use with the 2d² − 1 count? Give d = 3, 5, 7.
17, 49 and 97.
29. A surface-code logical error rate is 3 × 10⁻³ at d = 3, and each step d → d + 2 divides it by Λ = 2.14. What are the rates at d = 5 and d = 7?
3 × 10⁻³ / 2.14 = 1.40 × 10⁻³ at d = 5 and 6.55 × 10⁻⁴ at d = 7. This is an illustration with an assumed starting value.
30. Why does a larger code distance not always lower the logical error rate?
Suppression only happens when the physical error rate is below the threshold. Above it, bigger codes have more places to fail and do worse.
31. Trotter error: when you double the number of steps r, how does the operator error change?
It halves for a first-order formula (0.799, 0.362, 0.176 for r = 1, 2, 4 in the lesson’s example, roughly halving each time), at the cost of twice the gates.
Networking and cryptography
Check yourself
32. At 0.16 dB/km, what fraction of photons survives 100 km, 50 km and 20 km?
10^(−0.16 × L / 10): 0.0251 at 100 km, 0.158 at 50 km, 0.479 at 20 km.
33. In BB84, what error rate does a full intercept-and-resend attack produce, and why?
25%. Eve guesses the wrong basis half the time, and when she does, Bob’s result is random, so he errs half of the time: 1/2 × 1/2 = 1/4.
34. How many test bits make the chance of missing that attack below 10⁻⁵?
0.75ᵏ < 10⁻⁵ gives k > 40, so about 41 bits. For reference 0.75²⁰ = 0.0032 and 0.75⁴⁰ = 1.0 × 10⁻⁵.
35. Alice sends 20,000 qubits, half are sifted, 1,000 are spent on testing, and the observed error is 2%. How long is the final key with the ideal rate 1 − 2h(Q)?
Sifted 10,000, minus 1,000 = 9,000, times 0.717 = about 6,450 bits.
36. Name one advantage and one limitation of QKD compared with post-quantum cryptography.
Advantage: security rests on physical law and not on a computational assumption. Limitation: it needs special hardware and loses photons exponentially with distance, and it gives keys but no signatures.
Worked multi-step problems
The short problems above test one idea each. Real questions mix several. Here are four longer ones, solved step by step.
Worked example
A. Trace a circuit (Qiskit bit order)
- Circuit on 3 qubits: H on q0, CNOT(q0 → q1), CNOT(q1 → q2), then X on q2. What are the outcomes?
- After H and the two CNOTs the state is (|000⟩ + |111⟩)/√2, the GHZ state.
- X on q2 flips the leftmost character of each bitstring, because q2 is leftmost: 000 becomes 100 and 111 becomes 011.
- So the measurement gives '100' or '011', each with probability 0.5, and never anything else.
Worked example
B. Is the device noisy or just unlucky?
- A Bell-state circuit should give only 00 and 11. On hardware you run 2,000 shots and 60 shots show 01 or 10, an error rate of 3%.
- If the true error were zero, any wrong outcome would be impossible, so 60 is not statistical luck.
- To see how far the error rate is from a single fluctuation, use the spread for a true rate of 3%: √(2000 × 0.03 × 0.97) = 7.6 counts. This tells you how precisely 60 pins down the rate (60 ± 7.6, so 3.0% ± 0.4%).
- Conclusion: the device has a real error near 3% on this circuit. Calibration, readout error and gate error all contribute, and the shots alone cannot separate them.
Worked example
C. A BB84 key budget
- Alice sends 100,000 qubits. Half survive sifting: 50,000. They sacrifice 5,000 of these to test, and find 3% errors.
- Key bits available: 50,000 − 5,000 = 45,000.
- h(0.03) = 0.194, so the ideal secret fraction is 1 − 2 × 0.194 = 0.611.
- Final key: 45,000 × 0.611 = about 27,500 bits. That is 27.5% of the qubits sent.
- Now suppose the link is 50 km of fibre at 0.16 dB/km, so 15.8% of photons arrive. Of 10⁸ pulses per second, only 10⁸ × 0.158 × 0.5 = 7.9 × 10⁶ become sifted bits per second, before the other losses. This is an upper bound under ideal assumptions.
Worked example
D. Is a teleportation link good enough?
- Without entanglement, the best average teleportation fidelity (measure and send) is 2/3. With a shared pair of fidelity F, the average is (2F + 1)/3.
- For F = 0.9: (1.8 + 1)/3 = 0.933, clearly above 2/3.
- For F = 0.5: (1 + 1)/3 = 2/3. At that point the quantum link does no better than the classical strategy.
- So any F above 0.5 beats 2/3 on average, but practical claims need the margin to exceed the measurement uncertainty, as in the satellite experiment where 0.80 ± 0.01 was about 13 standard deviations above 2/3.
Challenge problems 1: combining ideas
The thirty-six problems above test one idea at a time. These challenge problems combine two or three. They are closer to what you meet when you read a paper or plan an experiment. All numbers were computed in Python or NumPy.
Check yourself
C1. Apply H, then T, then H to |0⟩ and measure. What is P(1)? (T = diag(1, e^(iπ/4)).)
After the first H the state is |+⟩. T gives (|0⟩ + e^(iπ/4)|1⟩)/√2. The second H turns the relative phase into a probability: P(1) = (1 − cos(π/4))/2 = sin²(π/8) = 0.1464. If you replace T by S the phase is π/2 and P(1) = 0.5. If you replace it by Z the phase is π and P(1) = 1. This is the Hadamard sandwich: P(1) = sin²(φ/2) for a phase φ.
C2. Prepare Ry(π/3)|0⟩ and measure in the X basis. What is the probability of the − outcome?
The Bloch vector is (sin(π/3), 0, cos(π/3)) = (0.8660, 0, 0.5). The probability of − is (1 − ⟨X⟩)/2 = (1 − 0.8660)/2 = 0.0670. The probability of + is 0.9330. A circuit that applies a Hadamard before a Z measurement does exactly this, which is how X-basis measurements are implemented on hardware that can measure only in Z.
C3. Grover search on N = 1,024 with one marked item. The optimum is k = 25. What happens if you run 50 iterations?
θ = arcsin(1/32) = 0.03126 rad. At k = 25 the success probability is sin²(51θ) = 0.9995. At k = 50 it is sin²(101θ) = 0.00023, essentially zero. The state has rotated past the target and almost back to the starting direction, where the marked item has its original tiny amplitude. This is why you must know M (or estimate it) before choosing k, and why a 'run it longer to be safe' instinct is wrong for Grover.
C4. Phase estimation with φ = 5/16. Compare t = 3 and t = 4 counting qubits.
With t = 4, the phase 5/16 is exactly representable, so the output is 0101 with probability 1.0000. With t = 3 the grid is multiples of 1/8, and 5/16 lies exactly halfway between 2/8 and 3/8. The two nearest outcomes, 010 and 011, each get 0.4105, together 0.8210; their neighbours get about 0.05 each. A halfway phase is the worst case for a given t, and it shows why a few extra counting qubits are always added.
C5. A Werner state with weight w gives a best CHSH value of 2√2 · w. For what w does the value fall to the classical bound of 2? What is the value at w = 0.9 and w = 0.7?
Set 2√2 w = 2, so w = 1/√2 = 0.7071. At w = 0.9 the value is 2.5456, which violates the bound. At w = 0.7 it is 1.9799, which does not. So pairs with 70% weight can be explained by a classical model, and pairs with 90% weight cannot. The same threshold reappears in the entanglement-distribution lesson as the point where shared pairs stop being useful for a Bell test.
Challenge problems 2: resources and scaling
These problems ask how big, how long or how many. Resource estimates are where quantum computing claims are won or lost, so the arithmetic is worth practising.
Check yourself
D1. How much memory does it take to store a general 45-qubit state at 16 bytes per amplitude?
2⁴⁵ × 16 bytes = 5.63 × 10¹⁴ bytes, about 563 terabytes (or 512 TiB). This is far beyond a single machine's memory. Classical simulators of larger circuits avoid it by exploiting structure, such as low entanglement, so the figure is the cost of storing the general state, not the limit of all classical simulation.
D2. A surface-code logical error rate is 3 × 10⁻³ at distance 3 and falls by a factor Λ = 2.14 each time d increases by 2. At what distance does it first drop below 10⁻⁶, and how many physical qubits does that patch use with the 2d² − 1 count?
The logical error rate at distance d = 3 + 2k is 3 × 10⁻³ / 2.14ᵏ. Setting this below 10⁻⁶ needs k > ln(3000)/ln(2.14) = 10.52, so k = 11, and d = 3 + 22 = 25. At d = 25 the rate is 6.96 × 10⁻⁷ (at d = 23 it is 1.49 × 10⁻⁶, which is not enough). The patch uses 2 × 625 − 1 = 1,249 physical qubits. A computation with a thousand logical qubits would need over a million physical ones, which explains the scale of the roadmaps. The Λ value is a model input, not a measurement of any specific device.
D3. An experiment needs 1,000,000 shots, and the device runs at 10,000 shots per second. How long does the data collection take? If the true error budget requires 100 times more shots, what then?
1,000,000 / 10,000 = 100 seconds. With 100 times more shots, 100 million, it takes 10,000 seconds, about 2.8 hours. This shows why a 'just take more shots' remedy has a cost: precision grows with the square root of the shots, so ten times better precision costs a hundred times the time.
D4. Photons in fibre lose 0.16 dB per km. What fraction survives 20 km, 50 km and 100 km?
The surviving fraction is 10^(−0.16 L/10). For 20 km it is 0.479, for 50 km it is 0.158 and for 100 km it is 0.0251. After 100 km only about 2.5% of the photons arrive. After 300 km it would be about 1.6 × 10⁻⁵, which is why long-distance quantum links need repeaters or trusted nodes, and why the trusted-node idea appears in the dictionary.
D5. A 20-qubit circuit has 400 two-qubit gates, each with error 0.2%. Estimate the chance of no error, ignoring everything else. How does it change if the error is 0.1%?
The no-error probability is (1 − error)^400. For 0.2% it is 0.998⁴⁰⁰ = 0.449. For 0.1% it is 0.999⁴⁰⁰ = 0.670. Halving the error raised the success chance from about 45% to 67%. For 0.5% it would be 0.995⁴⁰⁰ ≈ 0.135. Two-qubit gate error dominates the budget, as in the hardware practice set.
Challenge problems 3: explain it
Some problems have no number, only an explanation. They test understanding that a number cannot. Write two or three sentences for each, then compare with the model answer.
Check yourself
E1. Why can a quantum computer not be used to send messages faster than light through entanglement?
Each party's measurement results look random on their own. Only when they are compared over an ordinary channel does the correlation appear. Because Bob's outcome has no dependence on what Alice chose to do, he can extract no message from his side alone. Teleportation also needs two classical bits, which travel no faster than light.
E2. Why does a quantum algorithm that offers a quadratic speed-up still not guarantee a practical advantage?
Each quantum step is slower and more error-prone than a classical step, and error correction multiplies the cost. A quadratic saving, such as from N to √N, pays off only when N is very large. For modest N the overheads exceed the saving. This is the argument of the cost section in the Grover lesson.
E3. What does it mean to say that a simulator and real hardware give the same ideal answer but different counts?
The ideal answer is the probability distribution. A simulator samples from it exactly, and hardware samples from a distribution distorted by errors. The difference between the two is a measure of the device noise. If the shot counts are small, sampling noise alone would also make them differ, so you must compare with the standard error before blaming the hardware.
E4. A claim says 'this quantum computer solved a problem in 200 seconds that would take a classical supercomputer 10,000 years'. Name three questions you would ask before accepting it.
First, what was the classical baseline: the best known algorithm, or a brute-force method? Second, was the problem useful, or designed to be hard for classical machines? Third, was the output verified, and how? Additional questions: whether the classical estimate was later improved, and whether the quantum result had a high enough fidelity to be meaningful. These are the same questions asked in the real-or-hype lesson.
Check several answers in the browser
Use the widgets to confirm a few of the numbers. Predict first. Counts follow Qiskit's bit order.
Challenge C1: the Hadamard sandwich
Run this circuit
H, T, H: a partial phase
Bit order: q0 is the rightmost digit of each result, as in Qiskit. All qubits start in |0⟩ unless marked. This is an ideal simulator with no hardware noise.
Press Run to simulate. Results appear here with a short explanation.
Challenge C3: Grover on eight items, two and three iterations
Run this circuit
Grover, 3 qubits, two iterations
Bit order: q0 is the rightmost digit of each result, as in Qiskit. All qubits start in |0⟩ unless marked. This is an ideal simulator with no hardware noise.
Press Run to simulate. Results appear here with a short explanation.
Run this circuit
Grover, 3 qubits, three iterations (overshoot)
Bit order: q0 is the rightmost digit of each result, as in Qiskit. All qubits start in |0⟩ unless marked. This is an ideal simulator with no hardware noise.
Press Run to simulate. Results appear here with a short explanation.
Challenge C4: phase estimation, exact and inexact
Run this circuit
Phase estimation of the T gate (exact case)
Bit order: q0 is the rightmost digit of each result, as in Qiskit. All qubits start in |0⟩ unless marked. This is an ideal simulator with no hardware noise.
Press Run to simulate. Results appear here with a short explanation.
Run this circuit
Phase estimation when the phase does not fit (φ = 1/3)
Bit order: q0 is the rightmost digit of each result, as in Qiskit. All qubits start in |0⟩ unless marked. This is an ideal simulator with no hardware noise.
Press Run to simulate. Results appear here with a short explanation.
Problem 17: teleportation
Run this circuit
Teleportation with deferred measurement
Bit order: q0 is the rightmost digit of each result, as in Qiskit. All qubits start in |0⟩ unless marked. This is an ideal simulator with no hardware noise.
Press Run to simulate. Results appear here with a short explanation.
If a widget result differs from your answer, locate the first step where your reasoning departs from the circuit, and repair that one step.
Typical wrong answers and what they reveal
When a solution does not match, the wrong answer itself is a clue. The table lists wrong answers I would expect for problems in this set, with the mistake that most likely produced each. This is my own judgement of common slips, not data from a study of learners.
| Problem | Typical wrong answer | Likely cause |
|---|---|---|
| 1 | P(0) = 3/5 | Forgot to square the amplitude |
| 3 | 100 shots | Used the error 0.01 without squaring the relationship 1/√N |
| 9 | '010' read as qubit 1 = 0 | Reversed bit order |
| 14 | 0.5 | Forgot that only 000 and 111 occur, so P(not all equal) = 0 |
| 19 | 8 rounds | Used N/8 instead of (π/4)√N ≈ 6 |
| 22 | Spread over several outcomes | Missed that 0.375 = 3/8 is exact for t = 3 |
| 26 | p³ = 0.001 | Counted only the all-three-flip event; two flips also fool majority vote |
| 29 | Halved at each step | Used Λ = 2 where the problem says 2.14 |
| 32 | Linear loss | Treated dB as a linear scale instead of using 10^(−x/10) |
| 35 | 20,000 bits | Forgot sifting, testing and error-correction costs |
Wrong answers and their usual causes.
Look at problem 26 as an example. A three-bit repetition code fails when two or three bits flip, not only when all three do. The probability is 3p²(1 − p) + p³, which equals 3p² − 2p³ = 0.028 at p = 0.1. A student who answers 0.001 has computed p³ and has seen the code as far more powerful than it is. This is the difference between a plausible answer and a correct one: the wrong answer is still small and still looks sensible.
Why error analysis beats more practice
Doing another ten problems without analysing mistakes tends to repeat them. Writing one sentence per mistake takes about a minute and often removes it for good. A short log, with columns for the problem, the wrong answer and the cause, becomes your own version of the table above. After a week it shows a pattern, and the pattern tells you which topic to review.
There is also a quality check in the other direction. If you get a problem right but cannot say why, treat it as unfinished. Explain the answer aloud or in writing, as if to a friend who has not seen the lesson. If the explanation falters, the right answer was partly luck.
A final habit
Before submitting any numerical answer, ask three questions: Is it the right size? Does it have the right sign or range? Do the units make sense? A probability above 1, a negative count of shots or a fidelity of 1.3 is wrong whatever the method looks like.
A revision plan using this set
A problem set is only useful if you use it on a schedule. Here is a plan that takes about a week of short sessions.
| Day | Do | Aim |
|---|---|---|
| 1 | Problems 1–11 (qubits, measurement, gates) | Normalisation, Born rule, Hadamard identities |
| 2 | Problems 12–18 (entanglement, teleportation) | Product test, Bell states, resource counts |
| 3 | Problems 19–25 (algorithms) | Grover, phase estimation, order finding |
| 4 | Problems 26–31 (error correction, simulation) | Binomial sums, code scaling |
| 5 | Problems 32–36 (networking, cryptography) | Loss, BB84 statistics |
| 6 | Challenge problems C and D | Combining ideas, scaling |
| 7 | Challenge E and a re-do of every problem you missed | Explaining in your own words |
A one-week plan for the practice set.
Keep a list of the problems you missed and their cause. After the week, the list shows which lesson to reread. Most people find that three or four causes account for nearly all the misses.
What to do when you are stuck
- Write the question in one sentence of your own words.
- Identify which lesson the problem comes from, using the topic line before each group.
- Try a smaller case. If a problem about 1,024 items is hard, do it for 4 or 8 first.
- Run a widget to see a similar circuit in action.
- Only then open the solution, and read it as a method, not as a number.
Where to go next
If you got most of these right, you have the core of the subject. If some groups felt weak, go back to the lessons in the table at the top. The problems reuse the lessons’ numbers on purpose, so the revisit is quick.
To go further, try writing your own circuits in a simulator, change the numbers in a worked example and predict the outcome before running it, or pick one lesson and explain it aloud to someone else. Teaching is the hardest test of whether something has stuck.
References and further reading
This page opens no new sources. All arithmetic was computed by me in Python with numpy. The physical facts used (the 0.16 dB/km fibre loss figure, the surface-code qubit count 2d² − 1, the error-suppression factor Λ = 2.14 and the BB84 25% error) are taken from the earlier lessons, where their sources are listed. I did not re-verify them here.
- Course lessons referenced by this problem set (QuantumAtlas Learning Centre) Sources for the underlying facts are listed at the end of each lesson. No new external sources are used on this page.