Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 50 4 a Solution Created 2026-10-03 Updated 2026-10-14
Yes: use superdense coding, with a shared Bell state. Let the sender and receiver initially hold the first and second qubits of . To encode bits , the sender applies to her qubit. These Pauli operators produce four orthogonal states:She sends this qubit through the noiseless quantum channel. The receiver then possesses both qubits. He applies a controlled-NOT gate from the received qubit to his original qubit, followed by a Hadamard gate on the received qubit. This maps the four states in the table to . A measurement in the computational basis therefore recovers the two bits with certainty. No classical message is sent.
The resource assumption deserves care: one-qubit superdense coding needs a Bell pair already shared before encoding. If none is initially available, the sender can prepare a Bell pair locally and send one half through the same noiseless quantum channel in advance. The protocol then uses two transmitted qubits in total, including distribution of the entanglement, still with no classical communication. Alternatively, sending two computational basis qubits directly also communicates two bits. With a pre-shared Bell pair, one transmitted qubit suffices; without it, the entanglement-distribution cost must be counted. An unassisted single transmitted qubit cannot perfectly encode four classical messages: its Holevo bound is at most bit.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 1 a Solution Created 2026-10-03 Updated 2026-10-14
The answer qubit enters the Boolean quantum oracle in , because the Pauli X gate followed by the Hadamard gate maps to . Since , quantum phase kickback multiplies the component by and leaves the answer qubit unchanged. The two input qubits enter in the uniform quantum superposition . ThusEquivalently, using the Controlled-Z gate and the Pauli Z gate,Here the exponent in the phase may be evaluated as an ordinary integer, since its parity agrees with the exclusive or expression. In particular, contributes only a global phase.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 1 b Solution Created 2026-10-03 Updated 2026-10-14
When , the first two qubits after the Boolean quantum oracle are . The Hadamard gate obeys for . Applying the Walsh-Hadamard transform therefore givesConsequently the quantum measurement in the computational basis has the deterministic outcomesThese four distinct answers identify the four promised Boolean quantum oracles with one query and certainty. The constant term does not affect the measurement in quantum mechanics, because a global phase does not change its probabilities.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 1 d Solution Created 2026-10-03 Updated 2026-10-14
In the ordered computational basis , the first two qubits of have amplitudes , while those of have amplitudes . Both have the same normalized answer qubit . Their inner product is thereforeA common unitary operator preserves this nonzero inner product. To distinguish the alternatives with certainty using the prescribed quantum measurement in the computational basis, their first-register outcome supports would have to be disjoint: every outcome possible under one alternative must be impossible under the other. Vectors with disjoint computational basis supports have zero inner product, contradicting its preservation. Thus no such exists. This is also an instance of perfect discrimination of pure states requires orthogonality; allowing a more general measurement in quantum mechanics would not rescue this pair of states. The obstruction concerns these prepared oracle-output states, rather than every conceivable oracle-query procedure.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 2 d Solution Created 2026-10-03 Updated 2026-10-14
List the known distinct strings in as , where , and use an -qubit index quantum ancilla. Apply Hadamard gates to that register to prepareFirst, for each with , apply the available unitary operator that transposes and . The pairs are disjoint because they have distinct index labels. Skip a transposition when the two vectors coincide. This producesSecond, for each , transpose and . These pairs are disjoint because the data strings are distinct. No pair contains the term with , and no later transposition moves an earlier output. The final state is exactlyThis clean subset superposition preparation uses at most of the given transpositions and Hadamard gates. Since , is polynomial in ; multiplying this count by the assumed polynomial size of each transposition gives a polynomial-size quantum circuit. The index quantum ancilla returns to zero, so the data register is a pure uniform superposition state, rather than a mixture obtained by discarding its index. The construction uses an available enumeration of the known subset; a membership oracle alone would not justify that enumeration.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 3 b Solution Created 2026-10-03 Updated 2026-10-14
Write the normalized input quantum state as . The fresh quantum ancilla is , so the Controlled-Z gate createsApplying the measurement bra to the first qubit leaves the unnormalized second-qubit vectorSince form an orthonormal basis,Also , while the Pauli X gate fixes and changes the sign of . Dividing by the branch norm therefore givesThis is one-bit teleportation with the present positive-exponent measurement vectors; the transferred logical gate is .
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 3 c Solution Created 2026-10-03 Updated 2026-10-14
Label the chain cluster state from top to bottom by , and let be the phase-measurement outcomes on the first three vertices, with raw computational basis outcome on vertex four. Repeated one-bit teleportation leaves the last qubit, up to global phase, inThis sequential description applies even though the whole graph state is prepared first: a later Controlled-Z gate acts only on unmeasured qubits and commutes with earlier single-qubit measurement operators. It can therefore be moved past those measurements for the purpose of calculating each conditional branch.
Take and , so . After the second measurement the logical state isFor binary , the identities proved above imply the Pauli-frame propagation along a measurement wire rulewhere means equality up to global phase. Choose the third angle adaptively as . Then , andReading the target circuit in temporal order gives its premeasurement stateConsequentlyThe Pauli Z gate changes only phases in the computational basis, while the Pauli X gate exchanges its two measurement outcomes. Thus the explicit choices areIndeed, for every earlier outcome branch,Hence averaging over the earlier random outcomes leaves exactly the target probability distribution. This implements the desired measurement-based quantum computation without physically removing the final Pauli frame.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 3 d Solution Created 2026-10-03 Updated 2026-10-14
Let for an integer , and put . Use the fixed phase-measurement angles and a fixed final computational basis measurement. Denote their outcomes by . The adaptive construction would instead use when and when .
For the printed measurement vectors,Therefore and define the same unordered pair of rank-one linear projections; the labels are exchanged if and only if . In the branch , the outcome that would be called in the adaptive experiment is thus . In both branches,The output correction from the preceding part becomesIf is even this reduces to ; if is odd an additional is included. This equatorial measurement relabeling at Clifford angles changes only the classical interpretation, not any physical measurement basis.
All four fixed single-qubit projective measurements act on different vertices, so their operators commute. They can be performed simultaneously, with the displayed classical correction applied afterward. The first angle may be arbitrary: it was never adaptive. Only the sign choice for the third angle needed to be replaced. Thus the simulation is nonadaptive for every .
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 4 c Solution Created 2026-10-03 Updated 2026-10-14
Number the three data qubits from top to bottom. It suffices initially to follow a pure input ; linearity will extend the result to every density operator. The first two controlled-NOT gates create . The first layer of Hadamard gates then encodes this asthe three-qubit phase-flip repetition code. Let indicate whether a Pauli Z gate occurred on data qubit during storage. The next layer of Hadamard gates uses and givesThe two initially zero syndrome quantum ancillas receive the adjacent parities. In the diagram's top-to-bottom order, their error syndrome isBoth terms of the logical superposition have these same parities, so the syndrome is independent of . Measuring it reveals no logical-state information.
At the marked position of in the printed circuit, there has already been another layer of Hadamard gates on the data. There is also a layer immediately after . Thus a desired correction in the parity-extraction frame must be implemented as at the actual recovery location, since . Choose the recovery according toThe two patterns on each row share a syndrome because complementing all three bits does not change either parity. For a weight-zero or one error, the recovery removes the entire error in the parity-extraction frame. The remaining state is , and the two final controlled-NOT gates give .
For a weight-two or three error, minimum-weight recovery instead leaves all three bits flipped, giving . The final controlled-NOT gates send this to . Consequently, for every input density operator,The logical failure is a Pauli X gate after decoding, even though the stored physical errors were Pauli Z gates: exchanges the two encoded codewords. This is the logical failure of the three-qubit phase-flip repetition code.