Matrix logarithm 2026-09-24
For a positive-definite Hermitian matrix with spectral decomposition , the matrix logarithm is . More generally it is a branch of the inverse of the matrix exponential when such a branch exists.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 65 1 i Solution Created 2026-10-03 Updated 2026-10-07
Set . The trace distance is , where . Since is a Hermitian operator, its spectral decomposition is . Define its positive part of a Hermitian operator and negative part of a Hermitian operator byThey are positive semidefinite operators, satisfy and , and obey . ThereforeThe states have equal trace, so and . This is the spectral-parts formula for trace distance.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 60 3 iii Solution Created 2026-10-03 Updated 2026-10-06
Let . Positivity and normalization of the density operator imply and . The completely dephasing channel produceswhich is already a spectral decomposition. Its Von Neumann entropy is thereforeThe quantum output entropy is exactly the Shannon entropy of the basis-measurement probabilities, including possible zero eigenvalues via .
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 66 1 ii Solution Created 2026-10-03 Updated 2026-10-06
By spectral decomposition, the Von Neumann entropy is the Shannon entropy of the eigenvalues:Throughout, logarithms have base two, so the Von Neumann entropy and Shannon entropy are measured in bits. The continuous convention includes zero eigenvalues.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 66 3 iii Solution Created 2026-10-03 Updated 2026-10-06
The constraints are in the order of Hermitian operators. They imply . Using the spectral decomposition of ,Choose , with eigenvalues on the positive spectral subspace, on the negative spectral subspace, and zero on the kernel. It satisfies the constraints and attains equality. The trace-norm variational principle for Hermitian operators is therefore
To prove the Holevo–Helstrom theorem, write a binary POVM as , where , and associate the first outcome with . Any larger outcome set followed by a binary decision can be grouped into this form. Put . Its success probability isThe substitution bijects the allowed effects with the interval . Since ,Choosing as the positive spectral projection of attains this value, with an arbitrary decision on its kernel. This proves the optimal success probability and constructs an optimal measurement.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 66 3 i Solution Created 2026-10-03 Updated 2026-10-06
The positive part of a Hermitian operator and negative part of a Hermitian operator are the positive operatorsThus and . In this convention the negative part itself is nonnegative. This is the positive-negative decomposition of the Hermitian operator.
The operator absolute value is defined by the unique positive operator square rootThe scalar identity applied in the spectral decomposition proves
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 215 2 b Solution Created 2026-10-03 Updated 2026-10-06
Take the real inner productThe stationary distribution is strictly positive for an irreducible Markov chain. Detailed balance gives , so is a self-adjoint operator. Choose a real orthonormal eigenbasis , where , , , , and for .
For fixed , apply the spectral decomposition to . Its coefficient against is , whereas . Thus the spectral kernel expansion of a reversible chain isThis holds for all integers ; at each multiplier is one, including when . Negative eigenvalues are allowed, and retain their signs for odd .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 323 2 ii a Solution Created 2026-10-03 Updated 2026-10-05
Memorylessness means that the ensemble's average density operator is . Its spectral decomposition isThe product eigenvalues giveZero eigenvalues contribute zero to the Von Neumann entropy and are excluded from logarithmic typicality tests.
The quantum typical subspace is the span of eigenvectors whose eigenvalues satisfyIts orthogonal projection selects precisely the classical typical set for the eigenvalue distribution . The typical-set cardinality bounds and the weak law of large numbers therefore givefor any fixed and all sufficiently large .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 324 3 b ii Solution Created 2026-10-03 Updated 2026-10-05
Since , the spectral decomposition givesReplace the middle gate of the previous compute-phase-uncompute construction bya one-qubit rotation about the z-axis. ThenThe circuit uses the gates of , their inverses, and one fixed rotation; it returns the quantum ancilla to . The same construction implements with middle gate , an instance of simulation of a computable diagonal Hamiltonian.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 1 17G d Solution Created 2026-09-24 Updated 2026-09-29
Suppose the only distinct eigenvalues are and . As in part (c), acts by on and by on , so its spectral decomposition isEvery diagonal entry of an adjacency matrix is zero, givingThus every off-diagonal entry is the same number . Since these entries belong to and the graph is connected with at least two vertices, that common value must be one. Hence and is the complete graph .
Conversely, has adjacency matrix , with eigenvalue on and eigenvalue on . Therefore the requested graphs are preciselyas stated by the connected regular graph with two adjacency eigenvalues characterization.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 1 29J e Solution Created 2026-09-24 Updated 2026-09-29
Using the estimator from part (b) and the spectral decomposition of ,ThusUnder the stated separation of scales, the shrinkage factor is approximately one for and approximately zero for . The principal-component shrinkage by ridge regression formula therefore reduces approximately tothe orthogonal projection of onto the span of the normalized sample principal components with greatest variance.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 1 41E b Solution Created 2026-09-24 Updated 2026-10-03
PutThe Rayleigh quotient shift is exactlyExpanding the denominator givesThe question prints this as , so its sign convention requiresunless every vanishes. Equivalently, is the positive quadratic Rayleigh-quotient error.
The shifted inverse solve has the spectral decompositionOnly relative coefficients matter after normalization, so factor out :From the shift expansion,whereas, for ,ConsequentlyAfter the final normalization,Thus an eigenvector-direction error becomes in one step, proving the Local cubic convergence of Rayleigh quotient iteration for this symmetric matrix.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 2 a Solution 2026-09-28
Efficiently prepare the normalized amplitude encoding .
Apply quantum phase estimation to the simulated evolution , producing an approximation of each eigenvalue: Add one ancilla and perform an eigenvalue-controlled rotationwhere .
Uncompute the eigenvalue register. Conditional on measuring the ancilla as , the system register isThe postselection probability can be increased with amplitude amplification.
Apply quantum phase estimation to the simulated evolution , producing an approximation of each eigenvalue: Add one ancilla and perform an eigenvalue-controlled rotationwhere .
Uncompute the eigenvalue register. Conditional on measuring the ancilla as , the system register isThe postselection probability can be increased with amplitude amplification.
The ingredients used here are efficient sparse Hamiltonian simulation of and quantum phase estimation, which converts an eigenphase of that evolution into a binary approximation of . For sparsity , condition number , and error , the cost is polynomial in , , , and under the stated access assumptions.
Finally estimate by repeated measurement of an efficient observable decomposition of , or by a Hadamard test when is unitary. A general efficiently block-encoded Hermitian can similarly be measured through its block encoding. Repetition and a concentration inequality give additive sampling error after independent preparations.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 5 b Solution Created 2026-09-24 Updated 2026-09-25
The leave-one-out residual identity for a linear smoother, obtained from the block matrix inverse or the Sherman–Morrison formula, isHence
Compute once the spectral decomposition in operations and the vector in . For each , setThen computeBoth calculations take operations per tuning parameter, after which the displayed leave-one-out formula costs . All scores therefore require operations.
Positive part of a Hermitian operator 2026-10-06
For a Hermitian operator with spectral decomposition , its positive part is . It is a positive operator supported on the positive spectral subspace. Together with the negative part of a Hermitian operator it satisfies and .