Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 324 3 a ii Solution Created 2026-09-24 Updated 2026-09-25
Apply Hadamard gates to to prepareReversibly compute the efficiently decidable predicate into an ancillary qubit and measure it. The success probability is , and conditioned on success the first register is exactlyRestart after a failed measurement. After attempts, the probability that all attempts fail is below , so the state is prepared with probability at least using a number of gates polynomial in and .
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 4 10C a Solution Created 2026-09-24 Updated 2026-10-03
Apply a Hadamard gate to Alice's qubit, followed by a controlled-NOT gate from Alice to Bob and another from Alice to Charlie:Thus this circuit gives the required quantum circuit preparation of a three-qubit GHZ state.
Quantum logic gate Created 2026-10-06 Updated 2026-10-07
A unitary operation on a fixed number of qubits used as a component of a quantum circuit. Examples include the Hadamard gate and Controlled-Z gate. Measurements are described separately by quantum measurement; a gate is a reversible operation on its full input state.
Uniform superposition state Created 2026-10-05 Updated 2026-10-06
In an -dimensional computational basis, the uniform superposition state isMeasurement in that basis gives the uniform distribution on a finite set. For , Hadamard gates prepare it from . Its reflection is a Grover diffusion operator.