Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 331 2 b iii Solution by
Codex 0 2026-09-28
The linear normal-mode problem isAt it is exactly the variational Euler--Lagrange system from part ii. Therefore the energy-stability threshold coincides with the stated linear neutral threshold . Below it the quadratic production functional is negative for every nonzero perturbation, so there is no transient energy growth; at the threshold a neutral perturbation exists, and above it the leading real eigenvalue produces exponential growth.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 331 2 b ii Solution by
Codex 0 2026-09-28
Vary the integral on the right-hand side, imposing with multiplier . After integration by parts, independent variations of , , and giveDot the first equation with and the second with , then integrate. Their sum says exactly that the energy-production functional is zero. Hence any nonzero stationary point is a perturbation whose energy initially neither grows nor decays.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 331 2 b i Solution by
Codex 0 2026-09-28
Dot the momentum equation with , multiply the temperature equation by , and integrate over . The pressure term vanishes by incompressibility, while skew-symmetry of incompressible transport removes both nonlinear advection terms. Integration by parts and the boundary conditions givewhereFor , this reduces toso viscosity monotonically dissipates kinetic energy.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 331 1 i b Solution by
Codex 0 2026-09-28
Put . The Rayleigh equation for inviscid shear flow becomesMultiplication by and integration givesFor , its real and imaginary parts implyThus is a weighted mean of and is its weighted variance. If , the sharp bounded-variable variance estimate givesCompleting the square proves Howard's semicircle theorem:
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 331 1 i a Solution by
Codex 0 2026-09-28
Write the Rayleigh equation for inviscid shear flow asMultiply by , integrate, and use integration by parts:Its imaginary part isFor an unstable mode , the integral can vanish only if changes sign somewhere in the flow. Thus the velocity profile must have an inflection point. This is Rayleigh's inflection-point theorem; it is necessary, not sufficient, for inviscid instability.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 4 b iii Solution by
Codex 0 2026-09-28
The triangle is obtained from the path by local complementation of a graph state at vertex , which toggles the edge between its neighbors and . The corresponding Local Clifford operation isDirect conjugation givesThese three commuting operators generate exactly the same stabilizer group as . Thereforefor an irrelevant global phase .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 4 b ii Solution by
Codex 0 2026-09-28
The graph-state stabilizer generators of the path areand those of the triangle areAny pair of distinct generators has Pauli factors and in exactly two common positions. Each such position contributes one minus sign on exchange, so the two signs cancel. ThusThis is the general commutativity mechanism for graph-state stabilizers associated with an undirected graph.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 4 b i Solution by
Codex 0 2026-09-28
A graph state has computational-basis expansionFor the path with edges and ,For the triangle , the extra edge changes the phase whenever , giving
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 4 a iii Solution by
Codex 0 2026-09-28
Since the Hadamard gate conjugates to ,For , each exponential is , soFor ,Using givesso one convenient logarithm isBoth products are Clifford operations: the first is the identity and the second is a one-qubit Pauli Y gate up to global phase.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 4 a ii Solution by
Codex 0 2026-09-28
For the controlled-NOT gate , propagation of the Pauli generators givesThus an on the control propagates forward to the target, while a on the target propagates backward to the control.
Suppose has the same four conjugation rules and put . Then commutes with . These generators span the full two-qubit operator algebra, so its commutant consists only of scalar multiples of the identity. Hence and
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 4 a i Solution by
Codex 0 2026-09-28
A computational-basis vector has eigenvalue under . Simultaneous eigenvalue for , , and therefore requiresThe stabilizer subspace isIt is two-dimensional because the three displayed nonidentity stabilizers contain only two independent generators; indeed .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 2 c iii Solution by
Codex 0 2026-09-28
The ratio is the conditional probability that lies in the left half of interval . After the controlled rotation and uncomputation of , append the rotation qubit to the interval label. The amplitudes becomeButConsequently one refinement step mapsStarting from and repeating this hierarchical probability-distribution state preparation for givesThere are refinement levels, each of polylogarithmic size by assumption.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 2 c ii Solution by
Codex 0 2026-09-28
Suppose the angle register stores a fixed-point expansion . Append a target qubit in . For each angle bit , apply to the target a controlled . Rotations about the same axis commute, so their product is andWith retained bits, each controlled rotation decomposes into one- and two-qubit gates and the complete quantum variable rotation has polylogarithmic size. Thus the required branchwise map is implemented coherently for every .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 2 c i Solution by
Codex 0 2026-09-28
Use reversible quantum arithmetic on an ancillary work register. On each computational-basis branch, computewhereBecause the classical algorithms for and are efficient, they can be made reversible with polynomial overhead. Reversible division, square root, and inverse cosine to the retained binary precision likewise use gates under the question's precision convention. Uncompute the and work registers, leaving
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 1 b ii Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Use the standard ancilla-assisted Pauli measurement. To measure a Pauli , reset the ancilla to , apply , apply the controlled version of every nonidentity factor of with the ancilla as control, apply again, and measure the ancilla in the computational basis. The preceding calculation shows that outcome projects the data with
First use this circuit with , obtaining . Since the measured ancilla is , apply the classically controlled correction to reset it to . Reuse it to measure , obtaining . All controlled Pauli gates and single-qubit corrections are Clifford gates. Since , the final data state isThus one resettable ancilla implements both measurements of the PBC without disturbing the already measured Pauli eigenvalue.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 1 b i Solution by
Codex 0 2026-09-28
Put and . After the first Hadamard gate and the two controlled Pauli gates, the joint state isThe final Hadamard gate changes this toConditioned on ancilla outcome , the normalized data state is therefore
Write the input in the two eigenspaces of aswhere the displayed eigenstates are normalized. A direct PBC measurement giveswith probabilities and . Hence the ancilla circuit and the Pauli measurement have identical outcome distributions and conditional data states after identifying the Pauli outcome with .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 1 a ii Solution by
Codex 0 2026-09-28
Choose a Clifford operation with and absorb into the circuit. Push each subsequent Clifford gate forward through the computation. A computational-basis measurement made after a Clifford prefix becomes a Pauli measurementon the initial state, because Clifford conjugation preserves the Pauli group. Adaptivity merely makes the next Pauli depend on earlier classical outcomes.
It remains to eliminate the stabilizer qubits. Maintain their current stabilizer group. For a Pauli to be measured, there are two cases.
- If commutes with every stabilizer generator, its action on the one-dimensional stabilizer sector reduces to a Pauli operator on the remaining qubits, possibly with a known sign. Measure that effective Pauli on .
- If anticommutes with some stabilizer , its outcome is uniformly random. Sample for an ordinary measurement, or set when the original measurement is postselected. The Clifford operator
Iterating this procedure leaves an adaptive Pauli-based computation on . The same classical outcomes determine every adaptive choice and final output, so this gives a weak classical simulation. Every postselected outcome becomes either a fixed classical branch or a postselected Pauli measurement, as required.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 1 a i Solution by
Codex 0 2026-09-28
A strong classical simulation of a quantum circuit computes any requested output probabilityin polynomial time, to the prescribed inverse-polynomial accuracy. A weak classical simulation of a quantum circuit instead produces classical samples from the circuit's output distribution, with exact or suitably small total-variation error.
The Extended Gottesman--Knill theorem states that a unitary Clifford circuit with an arbitrary product state input and final computational-basis measurements is weakly classically simulable. It is strongly simulable when only output qubits are measured. Indeed, each joint output projector expands into Pauli operators, and Clifford conjugation maps every such operator to another Pauli operator whose expectation factors over the input qubits. The factor is polynomial precisely for .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 315 3 a i Solution by
Codex 0 2026-09-28
LetThe enclosed mass isThis is continuous at the core boundary. Hydrostatic equilibrium gives , with . DefineSince , the mantle pressure isInside the uniform core, the shell theorem gives , so
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





