Helstrom measurement for the zero and plus states Created 2026-09-24 Updated 2026-10-14
Suppose one qubit is prepared in either of the known pure states and , with equal prior probabilities. Measuring in the computational basis seems natural, but a tilted projective measurement gives better quantum state discrimination. The two density operators and their difference areThe Pauli matrices give , and the eigenvalues of are . Their absolute sum gives trace distance , agreeing with trace distance between qubit states.
The positive spectral projector points along the unit Bloch vector :The outcome labels and here refer to the sign of the eigenvalue of ; they do not denote a Hadamard basis measurement. Guess after and after . This sign choice is the equal-prior Helstrom measurement for two pure states, a case of the Holevo–Helstrom theorem. [ref]
https://cs.uwaterloo.ca/~watrous/TQI/TQI.3.pdf. Watrous, The Theory of Quantum Information, Theorem 3.4, equation (3.17)
An explicit orthonormal basis for this projective measurement iswith . Thus the real coefficient rotation angle is relative to the computational basis, while the Bloch vector of is tilted by from the positive axis toward negative . State-vector and Bloch sphere angles differ by a factor of two.
Write and , so . The Born rule gives the conditional outcome probabilitiesThe event has probability gap , attaining the variational characterization of trace distance. Both preparations are identified correctly with conditional probability , so
For comparison, a projective measurement in the computational basis has conditional outcome probabilities on and on . Guess zero on outcome zero and plus on outcome one. The average success isand the measured total variation distance is only . The optimal tilted projective measurement gains about in absolute success probability by balancing the two conditional error rates instead of identifying perfectly at the expense of .
Conditional outcome probabilities and equal-prior success for Z and optimal Helstrom measurements of zero versus plus
. Details. These are statistics for alternative measurements on independently prepared copies. Applying first and then the tilted projective measurement is a different experiment, because the first measurement in quantum mechanics changes the density operator.
Iterated phase-flip channel 2026-10-14
Independent successive applications of the phase-flip channel preserve diagonal entries and multiply off-diagonal entries by . Hence with the displayed parameter, for nonnegative integers . If , the limit is the completely dephasing channel, equivalently a nonselective projective measurement in the computational basis. A time-interval law can be iterated this way only under the memoryless composition assumption.
Mixed state Created 2026-09-29 Updated 2026-10-14
A mixed state is a density operator that is not a rank-one orthogonal projection. In finite dimension it is characterized by , so its purity of a density operator distinguishes it from a pure state.
Compare a pure state quantum superposition with an equal classical choice between two computational-basis states of a qubit:A projective measurement in the computational basis gives for both density operators. An projective measurement in the Hadamard basis distinguishes them: the Born rule gives for and for . These comparisons use separate copies of each preparation; measuring first changes the state tested by a subsequent measurement.
The off-diagonal entries of encode quantum coherence in the computational basis. Such quantum coherence depends on the basis: is diagonal in the Hadamard basis but remains a pure state. Mixedness is independent of the basis, because a unitary change of basis preserves the eigenvalues and the purity of a density operator.
Even the quantum state ensemble is not unique:The off-diagonal entries of the two Hadamard basis projectors cancel. Thus the density operator retains precisely what measurements on the system can reveal, while an accessible preparation label carries additional information. A mixed state can also be the reduced density matrix of an entangled state, even when the whole system is in a pure state; classical ignorance about a selected component is not its only physical origin. [ref]
Modular-addition quantum oracle 2026-10-05
For , its modular-addition oracle is the unitary operatorFor each fixed , addition by permutes the answer register's computational basis. This preserves inner products, even when is not injective.
Nonadaptive Clifford measurement pattern Created 2026-10-06 Updated 2026-10-07
A path graph state simulates a sequence of Clifford gates , , using fixed equatorial qubit measurement bases on successive path vertices. Let be raw outcomes, , and start the Pauli frame at . Matrix commutation and giveInduction shows the final unmeasured state differs from the ideal circuit output by , up to global phase. A final computational basis result is corrected to . All bases are fixed, and projectors on distinct vertices commute, so all measurements, including the final one, can occur in a single layer. The frame recurrence is classical outcome processing, not quantum feed-forward.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 33 4 Solution Created 2026-10-03 Updated 2026-10-14
A measurement in quantum mechanics with outcomes is specified, in the single-operator-per-outcome description, by linear operators satisfying . Its effects form a positive operator-valued measure. The two measurement postulates are the Born rule for outcomes and the conditional state update:For a density operator the corresponding formulas are and . More general quantum instruments have multiple operators for each outcome and sum these terms. For a projective measurement of an observable , take ; the outcome value is and the postmeasurement state lies in its eigenspace. A POVM alone specifies probabilities, whereas the measurement operators or instrument also specify the backaction.
For quantum teleportation, Alice and Bob initially share the Bell pair . Alice also holds the input , with . The shared entanglement is a resource; the two transmitted classical bits alone could not transfer an arbitrary unknown quantum state.
Alice applies a controlled-NOT gate with as control and as target, then a Hadamard gate to . Starting from , direct expansion givesFor example, the four receiver vectors are , , , and . Thus the gate calculation fixes the ordering of the Pauli corrections, including the last branch's sign.
Alice measures in the computational basis, obtaining . The Born rule gives each outcome probability , independent of the input amplitudes. Bob's normalized conditional state is . Alice sends the two outcome bits. Bob applies the inverse, , and henceThe same circuit is a Bell-basis measurement on Alice's two qubits, expressed using ordinary gates followed by computational-basis measurements. It restores the state without Alice or Bob knowing .
By linearity, the calculation also holds when the input is entangled with a reference: each outcome has branch map , and after correction every branch is one-half of the identity map. Summing the four corrected density operators gives exactly the original input density operator, with all reference correlations preserved. This is teleportation as an identity channel on a reference. Without the two classical bits Bob must average the four uncorrected states, giving , so the process cannot signal before the message arrives. The Bell pair is consumed and Alice retains no copy of the unknown state, in accordance with the no-cloning theorem.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 53 1 1 Solution 2026-10-14
Apply the Born rule to the two amplitudes in the introductory calculation. In the computational basis, the probabilities areThe other basis printed in this question is , the Pauli Y gate eigenbasis. It is not the real Hadamard basis. Write the output amplitudes as and . The plus-outcome amplitude is and the minus-outcome amplitude is . Since , the Born rule givesIn particular, at the output is the minus eigenstate, which checks the sign of the imaginary quadrature.
Use separate fresh runs for each measurement basis. If denotes the empirical outcome frequency, thenThe two differences estimate and , resolving the ambiguity that would remain from the first basis alone. Each Bernoulli frequency converges by the strong law of large numbers, with standard error of order the inverse square root of the number of runs. One may project the noisy estimate onto the unit circle if a phase estimate is desired, but that projection is not necessary for consistency.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 53 2 1 Solution Created 2026-10-03 Updated 2026-10-14
Apply one Hadamard gate independently to each qubit. These gates act in parallel, so the quantum circuit implements with gates and depth one.
Parallel Hadamard gates implementing the binary Fourier transform
. Details. For a computational basis state, factorization givesThe exponent is the dot product over the finite field , because multiplying the separate signs adds their exponents modulo two. This is the Walsh-Hadamard transform, equivalently the quantum Fourier transform on the finite Abelian group .
In particular, the all-zero input becomes the uniform coherent superposition . It is a useful initial operation because an oracle can then act on all amplitudes in one call, and subsequent interference can reveal a global property. Measurement alone does not read all function values: the later interference step is what turns the preparation into an algorithmic advantage.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 53 3 2 Solution Created 2026-10-03 Updated 2026-10-14
Subtract the two density operators. The difference is Hermitian with zero diagonal and off-diagonal entry . A matrix has eigenvalues , because its square is . Its two singular values are therefore both . By the definition of the trace norm,For the intended real-overlap phase-flip channel, , givingThis vanishes for a computational basis state, since a phase flip then changes only an unobservable global phase. Its largest value at fixed is , attained when . The general formula remains correct even when the probabilistic premise of part 1 fails.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 53 4 2 Solution Created 2026-10-03 Updated 2026-10-14
Let project onto the good-output subspace and let , . They are orthonormal because their supporting computational basis strings are disjoint. The verification unitary operator is , so and .
Also . Since , conjugating gives . ThusBoth reflections preserve the span of and : is diagonal there, and the other reflection only adds a multiple of , already in that span. Direct substitution of yieldsThe minus sign in the first image follows from applying before the state reflection. In the ordered basis the matrix isThis exhibits the invariant plane without assumptions about the action of on the other input basis vectors.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 54 4 Solution Created 2026-10-03 Updated 2026-10-14
Compute the honest one-qubit density operators in the computational basis. Writing and , the two quantum state ensembles giveThe equality includes the off-diagonal coherence; comparing only the basis outcome probabilities would not suffice.
The protocol is perfectly hiding against Bob when Alice is honest. Independence of the honest preparations makes his full received density operator . For any POVM , including collective measurements and measurements using ancillas, the Born rule gives the same outcome probabilities . Thus no measurement supplies information about the committed bit.
It is not binding against Alice. Here is an explicit ensemble-steering attack on quantum bit commitment. For each position, Alice prepares the normalized two-qubit pure stateretains and sends . Its partial trace on is the honest common density operator. She sends the halves of independent copies while retaining all the halves, and chooses her bit only at unveiling.
To open one, she makes a projective measurement of each retained qubit in the computational basis. Outcome zero has probability and prepares Bob's state ; outcome one has probability and prepares . She announces that list. It has exactly the honest bit-one distribution, and every declared-state test passes.
To open zero, she instead measures each retained qubit using a three-outcome POVM with effects , whereAll effects are positive. Their diagonal sums are and , and the off-diagonal sum is zero, so . This establishes that the proposed POVM is physically valid.
To verify the conditional states directly, the coefficient matrix of , with Bob's index as the row and Alice's as the column, isA real rank-one effect on Alice's half gives the unnormalized Bob state vector . For the three effects above,Their squared norms are therefore , exactly the honest bit-zero probabilities, and Bob's conditional pure states are the corresponding declared states. Independent measurements on the retained halves produce the honest distribution of the entire list, so even checks on the declared frequencies do not defeat the attack. Every declared-state projector test again succeeds.
Alice can consequently unveil either bit with acceptance probability one, without having chosen it when sending the qubits. This is the Hughston–Jozsa–Wootters theorem mechanism implemented by an explicit measurement, rather than merely an appeal to the general impossibility of perfectly hiding and binding quantum bit commitment.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 58 2 iii Solution Created 2026-10-03 Updated 2026-10-14
A central application is quantum order finding, which supplies the quantum step in the Shor algorithm for factoring an integer . Choose an integer coprime to , and let be its multiplicative order modulo . On valid residue quantum states define the reversible modular-multiplication unitary operator , extending it reversibly to any unused computational basis quantum states.
The orbit has the orthonormal eigenstatesfor . One need not know to prepare an eigenstate: the easy input makes quantum phase estimation sample one of these eigenphases. Its control register estimates . With chosen at least of order , the nearest quantum phase label has rational approximation error small enough for continued-fraction recovery in quantum order finding. For instance, gives on the nearest-label event. If and are coprime, the recovered denominator is ; otherwise one obtains a divisor and can repeat, combine candidates and verify them by modular exponentiation.
When the verified order is even and , the greatest common divisorsgive nontrivial factors: their product is divisible by , while neither factor inside the gcd is zero modulo . Unsuccessful choices of or quantum phase samples are handled by repetition and classical verification. Controlled powers of are implemented by efficient reversible modular arithmetic, rather than by naively applying exponentially many times.
Quantum phase estimation turns modular-multiplication eigenphases into an efficiently usable period, enabling quantum factoring in time polynomial in the bit length of the integer. Factoring is important to public-key cryptography, and this is a major example of a quantum algorithm improving on known classical methods. Another use is extracting energy eigenvalues by applying quantum phase estimation to a controlled time-evolution operator, with care to avoid energy aliasing and to prepare an input having overlap with the desired eigenstate.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 58 3 i Solution Created 2026-10-03 Updated 2026-10-14
Number the physical wires from top to bottom and write a computational basis ket in that order. The first four are ancilla qubits and the fifth carries the input. It is enough to follow the basis input , , because the encoding quantum circuit acts linearly.
The first fan-out consists of four controlled-NOT gates from wire 5 to wires 1–4. It sends to . The three Hadamard gates then giveThe two Pauli X gates on wires 2 and 3, followed by a Controlled-Z gate and the same two X gates, restore the bits but contribute : the sign is negative exactly when the original bits on both wires were zero. Finally, the right-hand controlled-NOT gates are , , and . They leave the first three bits unchanged and turn the last two into and . ThusExplicitly, the logical basis quantum states produced by the printed gates areEach has eight orthogonal terms of equal magnitude, and their supports are disjoint, so they are normalized and mutually orthogonal. The arbitrary input is therefore encoded asThis is a realization of the five-qubit error correcting code. The input amplitudes and their relative quantum phase are preserved in the logical subspace; the encoding is an entangled-state linear isometry, not five independent copies of the unknown input. The explicit signs and bit ordering above are fixed by this circuit, rather than by a convention for a different encoder.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 58 4 iii Solution Created 2026-10-03 Updated 2026-10-14
The Pauli X gate interchanges the two basis quantum states. Because the bit-flip outcome is a classical unobserved error rather than a coherent superposition, the quantum bit-flip channel givesFor , its explicit density matrix isFor a pure reference quantum state, the square of the paper's quantum fidelity is . ThereforeWith , the expectation is , the component of the Bloch vector. Hence“All possible quantum states” is interpreted as the rotationally invariant uniform pure-qubit average, with measure . Thusso the average pure-qubit fidelity of a bit-flip channel isEquivalently, rotational symmetry gives , since a pure-state Bloch vector has unit length. The eigenstates are unchanged as density matrices and have fidelity one, while a computational basis quantum state has ; these provide checks on the angular expression. A uniform distribution in rather than in solid angle would produce the wrong ensemble average. The requested quantity is the mean squared fidelity, not the square of the mean unsquared fidelity.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 33 1 Solution Created 2026-10-03 Updated 2026-10-14
The Bloch vector representation of a qubit density matrix is , where and . Pure states have , while the origin represents the maximally mixed state , not a pure state.
For the two preparations, direct evaluation of the Pauli matrices givesTheir dot product is , so their Bloch vectors meet at angle , or degrees. This is the angle between Bloch vectors; the angle determined by the modulus of the Hilbert-space overlap is different.
Completeness of the POVM requires . In the computational basis, subtraction givesAn overall phase of is immaterial. The matrix has eigenvalues and zero, so it is positive; together with it is a valid trine qubit POVM.
The Born rule gives . The conditional probabilities areOutcome one identifies , since is orthogonal to ; outcome two identifies , since is orthogonal to . Outcome three is inconclusive. If Alice's prior probability for is , the unconditional outcome probabilities are , , and respectively. Because outcome three has the same likelihood for both preparations, it leaves the prior odds unchanged. Bob's conclusive identification succeeds with probability one half and is never wrong; he does not identify the state on the inconclusive trials. This is unambiguous quantum state discrimination.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 33 4 Solution Created 2026-10-03 Updated 2026-10-14
Let be the bit string with one in position and zero elsewhere, and use the standard convention . On the computational basis, the single-site Pauli operators act asThe identity leaves the basis state unchanged. A tensor-product Pauli operator applies these actions at each occupied site; operators at different sites commute. Their linear span is the full operator algebra, so correcting their span handles coherent combinations as well as random Pauli errors.
Let project onto the code , with orthonormal logical basis . A set is correctable exactly when the Knill--Laflamme condition holds:for a matrix independent of the logical indices. A set is detectable whenThese conditions extend by linearity to the corresponding operator spans. Detection allows an error to act as a harmless scalar on the code; it need not assign a distinct syndrome to such an error.
For distinct Pauli representatives modulo phase, a nondegenerate quantum error-correcting code has orthogonal error-image subspaces, giving because each Pauli is unitary. In the usual nondegenerate, or pure, detection convention, every nonidentity detectable Pauli has , while . More generally a nonsingular error-overlap matrix can be diagonalized and the resulting error operators rescaled to obtain orthogonal syndrome spaces; a singular overlap matrix expresses degeneracy of the specified independent error family.
For an code, the quantum code distance is the smallest Pauli weight for which scalar compression fails. Hence every Pauli of weight at most is detectable. If each have weight at most , their product has weight at most . When , its compression is scalar, so the Knill--Laflamme condition proves simultaneous correction of all such errors. ThereforeThe integer part is understood when the printed half-distance is not an integer. Arbitrary operators on such subsets are covered by their Pauli expansion.
For errors confined to a known set of positions, every pairwise product is still supported on that same set and has weight at most , rather than . Thus supplies quantum erasure correction, with maximum guaranteed numberThis guarantee cannot hold for every set of positions: a minimum-weight undetectable Pauli has support in such a set, and the pair consisting of it and the identity violates the Knill--Laflamme condition. Particular larger location sets can sometimes be correctable; is the maximum uniform guarantee over all possible known sets.
For the Shor code, write . The logical codewords are and . A phase flip in one block interchanges and in that block, independently of its position within the block. Let , , . Measure the two commuting stabilizer generators and . Both are on the entire logical code space. The Shor-code phase-flip syndrome isThese parity measurements reveal the erroneous block without revealing the logical amplitudes, so they preserve arbitrary superpositions of the two codewords. Applying the listed representative phase flip restores the state.
For any two physical positions in the same block, acts as on both and , and hence on the code. Therefore and even when . Their error spaces coincide, and the error-overlap matrix has a nonzero off-diagonal entry. The correction is degenerate because different within-block phase errors have exactly the same action on every logical state.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 58 2 c Solution Created 2026-10-03 Updated 2026-10-14
For the normalized vector defining the orthogonal projection , for every . Thuswhich proves the projector phase rotation identity in this case:It changes the sign of the component along and fixes the orthogonal complement, so it is a reflection operator.
For a marked computational basis vector , is the marked-state phase oracle. With , the other reflection isThe Hadamard gates thus implement its change of basis from the known all-zero state. The usual Grover diffusion operator is . Consequently a Grover search algorithm iteration isThe minus sign is an irrelevant global phase. These two reflections rotate the search state in the span of the marked vector and the unmarked uniform vector, with the Grover rotation angle controlled by the initial marked amplitude. Iterating them approximately times gives high-probability search. The same pair of projectors appears additively in the continuous-time Hamiltonian, but the product of full reflections and evolution under their sum are distinct dynamics.


