Quantum Computing Master Course — 200. Final Mastery Assessment
Lesson 200: Final Mastery Assessment
Smartyfy Quantum Computing Master Course
Objectives and prerequisites
Demonstrate integrated mastery of quantum states, dynamics, algorithms, uncertainty and evidence. Prerequisites are the full course sequence and the capstone record. This is a substantive self-assessment: attempt the four exercises and five questions before reading solutions, then defend the assumptions behind your answers rather than memorizing numerical results.
What a complete answer must do
A sound quantum-computing argument identifies a state space, basis, physical operation, measurement and output requirement. It distinguishes amplitudes from probabilities and tracks relative phase when interference matters. It also states which resources are assumed available, which errors are bounded and which conclusions the evidence actually supports.
Use column vectors, normalized states and the computational basis unless a question says otherwise. A dagger denotes conjugate transpose. For density matrices, probabilities are Tr(Eρ) for the relevant measurement effect E. A pure state has ρ = |ψ⟩⟨ψ|; a mixed state is a probability-weighted ensemble representation, with physically equivalent decompositions possible.
For multi-qubit strings, state the bit order instead of inferring it from a drawing. A global phase on an isolated state does not change its density matrix. A relative phase between basis components can change a later measurement after a basis rotation. Controlled operations can turn a branch-dependent phase into an observable relative phase.
Connect foundations to the capstone
The capstone uses physical strings q1q0 and logical basis |01⟩, |10⟩. Its Hamiltonian is H = JX − ΔZ within that sector, with ℏ = 1, J = 1 and Δ = 0.7. Exact evolution, product-formula approximation and synthetic sampling are separate stages with different sources of uncertainty.
The capstone is an ideal sector-unitary simulation on a classical computer, with an inexpensive exact baseline. Its value is controlled verification, not demonstrated computational advantage.
| Component | Points | Required evidence |
|---|---|---|
| Four worked exercises | 10 each | Correct setup, calculation and scope statement |
| Five conceptual questions | 2 each | Correct choice and reason alternatives fail |
| Readiness check | No extra points | Reproduce capstone and explain one failure case |
Within each exercise, allocate three points to conventions and setup, five to calculation, and two to interpretation. A numerical answer with the wrong physical meaning is incomplete. Treat 40 out of 50 as a suggested revision threshold, not a professional credential or external certification. Revisit any section where a core assumption remains unclear regardless of total score.
Audit algorithmic and physical claims
A query-complexity result assumes a particular access model. State preparation, reversible oracle construction, output extraction, gate synthesis and error correction may add costs beyond the headline query count. A quantum state does not expose all its amplitudes as a freely readable classical table.
Error mitigation and error correction also answer different questions. Mitigation can trade extra measurements and modeling assumptions for reduced estimator bias. Quantum error correction encodes information and uses suitable syndrome extraction and recovery under a specified error model. A threshold or code distance alone does not supply a complete physical-resource estimate.
Entanglement is a property of a joint state, not a faster-than-light communication channel. For pure joint states, a product decomposition distinguishes separable from entangled states; mixed-state separability requires mixtures of product states. In cryptography, a low observed error rate is not a complete security proof, and QKD needs an authenticated classical channel.
Four worked exercises
-
State and measurement, 10 points. Let |ψ⟩ = (|0⟩ + i|1⟩)/√2. Find its density matrix, Z- and Y-basis outcome probabilities, and purity. Compare it with I/2. Then explain why a Bell pair with local state I/2 does not enable signalling by a remote unannounced measurement.
Solution. The density matrix is [[1/2,−i/2],[i/2,1/2]]. Z outcomes each have probability 1/2. The state is the +1 eigenstate of Y, so Y outcomes are + with probability one and − with probability zero. Its purity Tr(ρ²) is one. I/2 has the same Z distribution but equal Y probabilities and purity 1/2. A remote trace-preserving operation, including an unannounced measurement with outcomes averaged, leaves the local reduced state unchanged. Conditioning on a particular remote outcome requires communicating that outcome classically; it is not an immediately available signal.
-
Dynamics and capstone, 10 points. For H = X − 0.7Z and initial logical zero, derive transfer probability, its maximum and the logical X expectation at t = 1. Explain which measurement detects changing 0.7 to −0.7 in the detuning parameter.
Solution. Since H² = 1.49I, ω = √1.49 and U = cos(ωt)I − i sin(ωt)H/ω. Transfer is sin²(ωt)/1.49, with maximum 1/1.49 = 100/149 ≈ 0.671141. At t = 1 it is approximately 0.592168050. Logical X is −1.4 times that probability, approximately −0.829035271. Reversing detuning preserves the population but reverses X. A phase-sensitive X measurement or full-state comparison detects the change; normalization and population alone do not.
-
Statistics and resources, 10 points. How many independent shots ensure worst-case standard error at most 0.01 for a Bernoulli probability and for a ±1 expectation? If ten settings each require the latter sample size and acceptance probability is 0.2, estimate total attempts. State two limitations of this calculation.
Solution. A Bernoulli standard error is at most 1/(2√N), so N ≥ 2500. A ±1 expectation has standard error at most 1/√N, so N ≥ 10000. Ten settings need 100000 accepted samples. With independent stationary acceptance probability 0.2, the expected attempts are 100000/0.2 = 500000. This is an expectation, not a hard upper bound. The accepted distribution can be biased by selection, and correlated shots or drift invalidate the simple independent-sample formula. Preparation and rejected-attempt costs must be included separately.
-
Algorithm evidence, 10 points. For one marked item among eight, use ideal Grover search with two iterations and verify every measured candidate. Compute single-attempt success, success within two independent attempts, and expected oracle calls until success when each attempt uses two search queries plus one verification query. State why this is not an end-to-end hardware runtime estimate.
Solution. The angle obeys sin²θ = 1/8. Two iterations give success sin²(5θ) = 121/128. Failure twice is (7/128)², so success within two attempts is 16335/16384 ≈ 0.997009277. With ideal reliable verification and independent restarts, expected attempts are 128/121. Counting the declared three oracle calls per attempt gives 384/121 ≈ 3.173554 calls. This access-model expectation excludes oracle construction, state preparation, native gates, physical noise, error correction and latency. Verification and restart assumptions must be implemented before applying the estimate.
Five explained multiple-choice questions
-
Which change preserves the density matrix of an isolated pure state? A. Changing the phase of only one nonzero component arbitrarily. B. Replacing amplitudes by their squared magnitudes. C. Dropping an entangled subsystem while retaining a pure-state description. D. Multiplying every amplitude by the same unit-modulus phase.
Answer: D. One common phase cancels in the outer product; the other changes generally alter the state or discard information.
-
What does the capstone population equality imply? A. The chosen input and measurement hide diagonal boundary-phase differences. B. Both approximate states are identical up to one common phase. C. Every observable has the same approximation error. D. First-order splitting has second-order operator accuracy for all inputs.
Answer: A. The equality is task-specific and does not equate the complete propagators.
-
Which statement correctly interprets a nominal pointwise 95 percent interval? A. All ten displayed intervals jointly cover with at least 95 percent probability automatically. B. It assigns a 95 percent posterior probability without any prior or Bayesian model. C. It eliminates deterministic model bias when the sample count is large. D. It gives a repeated-sampling coverage target for the specified single-parameter procedure.
Answer: D. Pointwise coverage is a property of the procedure under its model, not automatic joint coverage or removal of bias.
-
Which resource is still required in ordinary BB84 security analysis? A. A private classical channel whose endpoints are never authenticated. B. Authentication of the classical discussion channel. C. An assumption that every observed error proves interception. D. A promise that public messages are secret.
Answer: B. Public discussion may be observable, but an unauthenticated adversary can impersonate the participants.
-
What does the three-qubit repetition code directly protect against under its standard encoding? A. Arbitrary single-qubit errors with no additional structure. B. A single bit-flip error, while a single phase flip can remain a logical error. C. Any number of correlated bit flips. D. Measurement error without any syndrome or repetition assumptions.
Answer: B. The simple repetition code diagnoses bit flips but does not by itself supply full arbitrary-error quantum protection.
Defend the reproducible result
To finish the assessment, run the standalone capstone from an empty ordinary folder, inspect the saved 60 deterministic rows, and explain the difference between its exact reference and sampled counts. Show the 32-step acceptance checks, derive the equal-population relation, and describe how a detuning-sign mutant exposes the weakness of population-only validation.
A satisfactory defense includes one limitation and one justified extension. For example, the sector representation cannot test leakage; a full four-state model with a specified noise channel would address that question. Do not present the proposed extension as already validated.
Course coverage and continuing study
This lesson completes the 200-lesson sequence, including explanations, worked exercises and assessments.
Continue by choosing a narrow question, reconstructing a primary-source example and connecting mathematical claims to executable evidence. Recognizing insufficient evidence is part of mastery.
Primary sources and further study
These sources support the definitions and context. The numerical examples, exercises, and explanations here were prepared for this lesson. Research papers are optional advanced reading.