Past exam of the computer science course of the University of Oxford 2023 Combinatorial optimisation 2 c i Solution by
Codex 0 2026-10-25
The rank of a matroid on a subset isThe matroid independence axioms imply that every maximal matroid independent set in has this cardinality. We write , as in the source. Directly from the definition,For the last upper bound, deleting from any matroid independent set in leaves an independent subset of .
Past exam of the computer science course of the University of Oxford 2023 Combinatorial optimisation 2 b ii Solution by
Codex 0 2026-10-25
Up to matroid isomorphism, the numbers for are . A matroid isomorphism may relabel elements but preserves which subsets are matroid independent sets.
For , the loop of a matroid and the nonloop are different types. For , there is one type each at rank of a matroid zero and two, and two types at rank of a matroid one, distinguished by having one or two nonloops. Thus there are four.
For , the seven labelled examples of rank of a matroid one reduce to three types, distinguished by having one, two or three nonloops. The seven labelled examples of rank of a matroid two also reduce to three types: one loop of a matroid and two independent elements; no matroid loops and one pair of parallel elements of a matroid; or the uniform matroid . Different choices of labels within each description are isomorphic. Together with the unique types of rank of a matroid zero and three, this gives . The rank of a matroid, number of matroid loops and presence of parallel elements of a matroid distinguish every type just listed.
Past exam of the computer science course of the University of Oxford 2023 Combinatorial optimisation 2 b i Solution by
Codex 0 2026-10-25
For one element, the element is either a loop of a matroid or a nonloop, giving two choices. For two elements, rank of a matroid zero and two each give one possibility. At rank of a matroid one, the nonloops form any nonempty subset, giving more possibilities: total .
For three elements, classify by the total rank of a matroid. At rank of a matroid zero every element is a matroid loop; at rank of a matroid three every subset is a matroid independent set. At rank of a matroid one, choose any nonempty subset of nonloops; exactly the empty set and their singletons are matroid independent sets. This gives seven possibilities.
At rank of a matroid two, either exactly two elements are nonloops, giving three choices for the remaining loop of a matroid, or all three are nonloops. In the latter case, pairs that are matroid dependent sets define parallel elements of a matroid. There can be no such pair, giving the uniform matroid , or exactly one such pair, giving three choices. There cannot be exactly two such pairs: if and were matroid dependent sets but a matroid independent set, augmentation from to would fail. If all three pairs were matroid dependent sets, the rank of a matroid would be one. Hence rank of a matroid two gives examples.
Every listed possibility satisfies augmentation: the only nontrivial comparison on three elements is from a singleton to a two-element matroid independent set, and with at most one two-element matroid dependent set at least one addition works. The total is therefore .
Past exam of the computer science course of the University of Oxford 2023 Combinatorial optimisation 1 d iv Solution by
Codex 0 2026-10-25
With nonnegative weights, the hypergraph cut function is a symmetric set function and a submodular set function, but need not be a monotone set function. The proofs of symmetry and failure of monotonicity in (i) and (ii) still apply.
For submodularity, write , where is the indicator function that meets both sides. Fix . If , its marginal increment is zero. If , let and . Its marginal increment isFor , the middle case is absent. As grows without acquiring , can only increase, so these marginal increments can only decrease. Each therefore satisfies diminishing returns. Multiplying by and summing preserves the inequality, proving submodularity of .
Past exam of the computer science course of the University of Oxford 2023 Combinatorial optimisation 1 d iii Solution by
Codex 0 2026-10-25
Past exam of the computer science course of the University of Oxford 2023 Combinatorial optimisation 1 d ii Solution by
Codex 0 2026-10-25
No. Take the hypergraph with and its single hyperedge of weight . Then but , violating the monotone set function property. This example already has strictly positive weights.
Past exam of the computer science course of the University of Oxford 2023 Combinatorial optimisation 1 d i Solution by
Codex 0 2026-10-25
Yes, for arbitrary signed weights. A hyperedge meets both and exactly when it meets both and . Therefore , and their weighted sums agree. The hypergraph cut function is a symmetric set function regardless of the signs of its weights.
Past exam of the computer science course of the University of Oxford 2023 Combinatorial optimisation 1 c ii Solution by
Codex 0 2026-10-25
For every and , including , the marginal increment isFor the empty set, this uses . The monotone set function property from (i) gives when . ConsequentlyThus diminishing returns holds, so is a submodular set function by (b).
Past exam of the computer science course of the University of Oxford 2023 Combinatorial optimisation 1 c i Solution by
Codex 0 2026-10-25
Yes: this is a monotone set function. Assume , as required by its definition at the empty set. If , every weight considered in the maximum over is considered in the maximum over , hence . If and , the minimum over is at most every weight in , hence again . No sign condition on the weights is needed.
Past exam of the computer science course of the University of Oxford 2022 Quantum information 3 d iii Solution by
Codex 0 2026-10-25
Construct an economical two-state quantum cloner by moving both actual outputs slightly toward one another relative to the two desired copies. Set and . Their overlap is , so their sum and difference yield the orthonormal vectorsThe desired outputs have the symmetric expressionsChoose the actual outputs to beThey are normalized and satisfyConsequently the prescription , preserves the Gram matrix of the two inputs and defines a linear isometry on their span. The unitary extension of a finite-dimensional isometry gives a unitary operator on the same four-dimensional, two-qubit Hilbert space; no extra workspace is required.
For an explicit full-space construction, define , and the orthonormal basisChoose two further orthonormal vectors perpendicular to ,Thenmaps one orthonormal basis to another and is therefore unitary. Since and , it has exactly the required two outputs.
Finally,Both inputs therefore have the same global cloning fidelity, and so does their average:This proves the requested existence with a two-qubit unitary gate.
Past exam of the computer science course of the University of Oxford 2022 Quantum information 3 d ii Solution by
Codex 0 2026-10-25
Assume perfect cloning of both specified pure states. Allowing irrelevant output global phases, this would requireA unitary operator preserves inner products, and therefore their magnitudes. But the input overlap and required output overlap have different magnitudes:This contradiction proves that no such two-qubit unitary exists, without assuming the no-cloning theorem.
Past exam of the computer science course of the University of Oxford 2022 Quantum information 3 d i Solution by
Codex 0 2026-10-25
For input , the controlled-NOT gate fixes , which is the ideal two-copy pure state. Thus its global cloning fidelity is . For input , the actual output is the Bell state , whereas the desired output is . Their overlap isWith the given equal input probabilities,These values use the specified squared quantum fidelity for the full output, rather than a one-copy marginal fidelity.
Past exam of the computer science course of the University of Oxford 2022 Quantum information 3 c ii Solution by
Codex 0 2026-10-25
The state is separable. The off-diagonal terms of the two Bell state projectors have opposite signs and cancel:This is a quantum state ensemble of two pure states that are product states, with probability each, establishing a separable quantum state. Its correlations are classical; an ensemble decomposition into entangled states does not itself establish quantum entanglement of the density matrix.
Past exam of the computer science course of the University of Oxford 2022 Quantum information 3 c i Solution by
Codex 0 2026-10-25
The state is separable. The identity matrix resolves into the four projectors of the computational basis, giving the explicit quantum state ensembleEach member is a pure state that is a product state, so this is a separable quantum state by its defining decomposition.
Past exam of the computer science course of the University of Oxford 2022 Quantum information 3 b ii Solution by
Codex 0 2026-10-25
Since , the Hadamard gate is, up to a global phase, the rotation gateThus its Bloch sphere action is a rotation through about the axis , halfway between the positive and axes:The identities , and verify this Bloch vector transformation directly.
Past exam of the computer science course of the University of Oxford 2022 Quantum information 3 b i Solution by
Codex 0 2026-10-25
The Pauli Z gate gives a rotation through about the axis of the Bloch sphere. In Bloch vector coordinates,For example, this follows from , and in the Pauli matrix expansion .
Past exam of the computer science course of the University of Oxford 2022 Quantum information 2 b ii Solution by
Codex 0 2026-10-25
The gate set is not universal. The displayed two-qubit matrix is the SWAP gate:Both and the Hadamard gate act on one qubit. Thus every gate preserves a fully factored product state, and induction gives the same property for every quantum circuit built from them. This is the product-state obstruction to SWAP universality.
For a quantitative obstruction to even approximate universality, every two-qubit product state has squared overlap at most with a Bell state. Indeed, for normalized coefficient vectors ,by the Cauchy-Schwarz inequality. A controlled-NOT gate acting on would instead produce that Bell state, so these circuits cannot approximate all unitary transformations. The fact that supplies a T gate up to global phase does not supply an entangling gate.
Past exam of the computer science course of the University of Oxford 2022 Quantum information 2 b i Solution by
Codex 0 2026-10-25
The gate set is universal. Since the Hadamard gate satisfies and , the supplied is a unitary operator, andTwo applications of therefore realize a Hadamard gate up to a global phase. Together with the supplied controlled-NOT gate and T gate, this simulates the given universal quantum gate set.
An exact matrix representative of can also be synthesized if desired. Put and . Direct multiplication gives , henceThis finite product uses only and , so the conclusion does not rely on discarding a global phase.
Past exam of the computer science course of the University of Oxford 2022 Quantum information 2 a iii Solution by
Codex 0 2026-10-25
An entangling gate is a unitary operator on two quantum systems for which some pure product input is mapped to an entangled state:It need not create quantum entanglement from every product state. For example, a controlled-NOT gate entangles but leaves a product state.
Past exam of the computer science course of the University of Oxford 2022 Quantum information 2 a ii Solution by
Codex 0 2026-10-25
Two unitary transformations on the same Hilbert space are -close in operator-norm distance between unitary gates whenThus their outputs are -close in pure-state norm distance for every normalized input. This is an operator norm condition, stronger than checking only one chosen input. If global phase is disregarded for the whole operation, use instead, with one phase chosen for the operator rather than separately for each input.
There are unlisted articles, also show them or only show them.