Five-vertex graph-state circuit simulation Created 2026-10-07 Updated 2026-10-14
A graph state with edges simulates on . Measure vertices 1 and 2 at angles , with results , and vertex 4 at , with result . One-bit teleportation and Pauli frame propagation leave output frames and . Computational outputs are therefore corrected by and respectively.
Four-cycle graph-state simulation of an entangle-and-measure circuit Created 2026-10-06 Updated 2026-10-07
Label a four-cycle . Measure vertex in the computational basis with result , then vertex in the equatorial qubit measurement basis at angle with result . Graph-state vertex deletion and one-bit teleportation leaveFinal computational basis measurements with raw results therefore simulate the ideal circuit on after the classical correction , . The output probability distribution is correct in every prior branch; no physical Pauli frame correction is needed.
Graph-state preparation of a computational-basis input Created 2026-10-06 Updated 2026-10-14
A two-vertex graph state starts with two states joined by a Controlled-Z gate. Measuring the first vertex in the basis leaves the second in , where is the measurement outcome. Thus a known zero input can be supplied to a measurement wire using only a graph-state resource and a known Pauli frame. This preparation link precedes the links implementing the desired logical J gate; later measurement angles and output-bit corrections absorb its byproduct.
Two angle-zero one-bit teleportations with outcomes implement on an arbitrary input, up to global phase. A Controlled-Z gate with a fixed quantum ancilla implements , so removes the known factor. The result is up to phase. With probability one half the desired Pauli X gate is applied; otherwise the input is unchanged. Repeating until gives an exact heralded correction with two attempts on average and almost-sure termination. It has no finite worst-case measurement count. A Pauli frame avoids this repeat-until-success procedure when only logical action or classical output statistics are required.
For the printed equatorial-basis convention,It is the Hadamard gate after a phase gate. The identities and follow by multiplying their matrices. For these are Clifford gates. In particular , permitting a sign change of the measurement angle to be absorbed into a Pauli frame.
Measurement-based quantum computation 2026-10-06
Measurement-based quantum computation prepares an entangled resource quantum state, then applies single-qubit quantum measurements, potentially adapting later bases to earlier outcomes. Pauli frame tracking and classical outcome processing convert random physical branches into a specified logical computation. Graph states and one-bit teleportation provide a concrete construction.
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.
Compile each CNOT gate into a Hadamard gate, a Controlled-Z gate, and another Hadamard gate on its target. Every one-bit teleportation implementing a Hadamard gate uses a fixed angle-zero basis. A Pauli frame propagates by classical binary updates without changing a measurement basis. All internal measurements, and any fixed computational output measurements, therefore share one simultaneous layer. Resource preparation and classical processing are not included in this logical measurement depth.
One-bit teleportation Created 2026-10-06 Updated 2026-10-07
Apply a Controlled-Z gate to input and a fresh quantum ancilla. Measuring the input in the equatorial qubit measurement basis at angle , with outcome , leaves the unnormalized outputEach branch has probability , independently of the input. The logical output is with known Pauli frame ; the input qubit has been measured, so this does not clone it.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 3 c Solution Created 2026-10-03 Updated 2026-10-14
Label the chain cluster state from top to bottom by , and let be the phase-measurement outcomes on the first three vertices, with raw computational basis outcome on vertex four. Repeated one-bit teleportation leaves the last qubit, up to global phase, inThis sequential description applies even though the whole graph state is prepared first: a later Controlled-Z gate acts only on unmeasured qubits and commutes with earlier single-qubit measurement operators. It can therefore be moved past those measurements for the purpose of calculating each conditional branch.
Take and , so . After the second measurement the logical state isFor binary , the identities proved above imply the Pauli-frame propagation along a measurement wire rulewhere means equality up to global phase. Choose the third angle adaptively as . Then , andReading the target circuit in temporal order gives its premeasurement stateConsequentlyThe Pauli Z gate changes only phases in the computational basis, while the Pauli X gate exchanges its two measurement outcomes. Thus the explicit choices areIndeed, for every earlier outcome branch,Hence averaging over the earlier random outcomes leaves exactly the target probability distribution. This implements the desired measurement-based quantum computation without physically removing the final Pauli frame.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 49 2 b Solution Created 2026-10-03 Updated 2026-10-14
Prepare the three-vertex graph-state wire: start all three qubits in and apply Controlled-Z gates on edges and . In this paper's equatorial qubit measurement convention the basis vectors can be chosen asThe given identity means that measuring an input qubit at angle , with outcome , teleports its state to the next qubit as . Each outcome has probability , since is unitary. This is one-bit teleportation with a known Pauli frame.
Measure vertex 1 at angle and record . Then measure vertex 2 at angle , taken modulo , and record . The controlled-Z on edge commutes with the first measurement, so the two teleportation steps can be applied successively. The remaining normalized state isFor this is . For , the relation proved above gives . Thus in every branch the remaining state isThe scalar is a global phase and has no effect on probabilities.
Finally measure vertex 3 in the computational basis, obtaining , and reportThe byproduct changes only computational-basis phases; changes the output label by . Hence the corrected bit has exactly the ideal circuit's probability distribution in every branch, not merely on average. The procedure uses only single-qubit measurements after preparing the graph state, adaptive classical angle selection, and deterministic classical output processing.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 67 3 b Solution Created 2026-10-03 Updated 2026-10-07
Replace every CNOT gate by . The resulting quantum circuit contains only Hadamard gates and Controlled-Z gates. Realize each Hadamard gate by a fresh one-bit teleportation link measured at angle zero, so every internal measurement is in the fixed basis. Insert a graph edge between the current wire vertices for each Controlled-Z gate. This gives a suitable graph state because the inputs are , and entangling gates can be moved to resource preparation: they commute with one another and with earlier measurements on vertices no longer used by the gate.
Track a Pauli frame . An angle-zero one-bit teleportation with raw result updates the frame on that wire bybecause equals up to global phase. A Controlled-Z gate updates and , leaving the bits unchanged. These are classical binary updates; no measurement angle depends on them.
All the internal quantum measurements consequently have predetermined bases. Their projectors act on distinct resource vertices and commute, so all internal measurements can be performed simultaneously: the logical measurement depth is at most one. If the output is to be read in the computational basis, those fixed-basis measurements can occur in the same layer; a raw output is relabelled . If quantum outputs are retained, the same calculation gives the desired output in a known Pauli frame. This nonadaptive Hadamard–CNOT measurement pattern concerns measurement depth, not the depth of resource preparation or classical frame computation.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 67 3 c Solution Created 2026-10-03 Updated 2026-10-07
Write the single-qubit gate as , where . Thus it is, up to global phase, a rotation about the x-axis, and it commutes with . Compile it as a Hadamard gate followed by the J gate . Compile each CNOT gate as before into . The usual wire-link construction yields a resource graph state for the fixed inputs; the same frame algebra also works for logical input states supplied to an open resource.
The point is stronger than counting two gates per rotation: a long circuit must not acquire a new adaptive layer for every rotation. We show that every nonzero-angle basis depends only on outcomes of the angle-zero measurements.
For an gadget, let the incoming Pauli frame be . Denote the angle-zero outcome by , and the subsequent angle- outcome by . The two one-bit teleportations givewhere omits a global phase. Consequently the rotation gadget updatesOnly its angle-zero outcome enters the new frame. Its arbitrary-angle outcome enters only the frame, which commutes through all later gates.
For a CNOT gate from to , call the outcomes of its two angle-zero target-wire measurements , in that order. The Pauli frame update isThese follow by applying the preceding Hadamard gate and Controlled-Z gate frame updates twice. In particular, the new frames depend on old frames and angle-zero outcomes only; they never depend on old frames or arbitrary-angle outcomes. This is the measurement-level version of the given fact that a CNOT gate propagates operators into products of operators.
Starting with no frame, induction in the original circuit order now computes every solely from angle-zero results. Therefore every sign is known after one simultaneous layer containing all angle-zero measurements, including those appearing late in the circuit. Compute those signs classically, and perform all remaining equatorial measurements in a second simultaneous layer. An angle zero that occurs accidentally among these remaining choices may stay in that layer. Reordering is valid because, once a branch's bases have been fixed, the projectors on different vertices commute; no second-layer result is needed to choose another second-layer basis.
The two-layer measurement pattern for CNOT and x-axis rotations thus hasindependently of the number or order of gates. Fixed computational-basis measurements of classical outputs can be included in layer two, followed by relabelling . For quantum outputs the final Pauli frame gives the required correction. The depth statement excludes graph preparation and classical processing, as in the definition in the paper.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 61 4 a ii Solution Created 2026-10-03 Updated 2026-10-14
An explicit measurement-based quantum computation pattern uses six vertices . Prepare a graph state with every vertex in and apply a Controlled-Z gate for each edgeThe first two links on each wire permit graph-state preparation of a computational-basis input followed by the logical J gate. Use the following single-qubit measurements:
All entangling edges can be made at preparation time because Controlled-Z gates commute. A future edge that does not touch a currently measured vertex can equivalently be deferred, which allows the one-bit teleportation identities to be applied in their logical order.
The two initial measurements implement with Pauli frames on the logical inputs. The first adaptive J gate then has output frame on . Propagating through gives framesup to branchwise global phase. The second adaptive J gate converts the latter intoA correction does not alter a computational-basis measurement, while an correction flips its bit. Consequently the deterministic classical postprocessing isThis reproduces the output-bit distribution of the original quantum circuit, including its known byproduct corrections.
Six-vertex graph state, adaptive equatorial measurements and classical parity correction for the two-wire circuit
. Details. There is an additional simplification for these particular zero inputs. Since , , and , the exact final state is , independently of the angles. The requested bit is therefore fair. A single isolated graph-state vertex measured in already simulates that bit distribution; the six-vertex pattern also explicitly realizes the circuit and its corrections.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 61 4 a i Solution Created 2026-10-03 Updated 2026-10-06
The J gate is , with . Prepare a fresh qubit in and apply the Controlled-Z gate between it and the input . The resulting state isMeasure the input in the equatorial qubit measurement basis . The unnormalized output isEach outcome has probability . Thus one-bit teleportation realizeson the new qubit. Apply the known Pauli X gate correction for the literal output, or keep the correction in a Pauli frame and adapt later measurements. The old qubit is measured, so this is not cloning the input.
Direct multiplication of the given matrices gives . The displayed negative exponent in the supplied relation has the wrong sign for exact matrix equality. The discrepancy is only a global phase in a fixed measurement branch, so it does not change this measurement implementation or its outcome probabilities. The positive-sign identity is used when tracking exact matrices.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 4 a i Solution Created 2026-10-03 Updated 2026-10-06
The basic one-bit teleportation primitive uses the input as qubit 1 and a fresh quantum ancilla as qubit 2. Apply the Controlled-Z gate and measure qubit 1 in the equatorial qubit measurement basis with angle . If is the result, the normalized post-measurement state on qubit 2 isBoth results have probability one half. For example, writing , the unnormalized branch is . Thus is applied deterministically as a logical gate with known Pauli frame ; a permitted conditional Pauli X gate would remove this byproduct physically.
The literal resource restriction does not need an unstated direct Pauli X gate. A Pauli Z gate can be enacted by applying to the data and a fixed quantum ancilla. Two consecutive angle-zero one-bit teleportations, with results , map an arbitrary current state to . Apply the available to remove the latter factor, up to an irrelevant global phase. This implements a heralded : if , the input is unchanged; if , the required Pauli X gate has been applied.
If the original result is and a physically corrected output is required, repeat this heralded Pauli X correction using controlled-Z and measurements until . Each attempt succeeds with probability one half independent of the input, so it terminates with probability one, using two attempts on average. Only , fixed ancillary quantum states and single-qubit quantum measurements are used. This exact physical correction has no finite worst-case measurement bound; the standard finite deterministic realization is the logical Pauli frame version, which suffices for the later output-simulation parts.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 4 a iv Solution Created 2026-10-03 Updated 2026-10-06
Let the ideal two-qubit output before final quantum measurements beThe PDF places only on the upper wire, followed by the Controlled-Z gate and a quantum measurement in the computational basis on each output wire. Measure vertex of the square in the computational basis, obtaining , then vertex of the surviving path in the fixed equatorial qubit measurement basis at angle , obtaining . Put . The previous part gives .
Commute its Pauli frame through the Controlled-Z gate. Since and commutes with , the actual output isFinally measure vertices in the computational basis, with raw results . A Pauli X gate flips a computational basis result, whereas a Pauli Z gate changes only its phase. Thus the purely classical correction isThis four-cycle graph-state simulation of an entangle-and-measure circuit reproduces the full joint output distribution, not just each marginal. All measurement bases are fixed beforehand, and no physical byproduct correction is necessary. As a check, the ideal Controlled-Z gate is diagonal in the output basis, so for and for , independently of . The measurement procedure gives exactly these probabilities after its classical relabelling.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 4 b Solution Created 2026-10-03 Updated 2026-10-06
The logical depth of a measurement pattern counts sequential layers of quantum measurements forced by dependence of measurement bases on earlier outcomes. Depth one means every basis can be fixed before measurements start, allowing all quantum measurements on distinct qubits to be performed in parallel. This does not require depth-one resource-state preparation or constant-depth classical parity processing.
Suppose the circuit contains gates in time order, with each . Prepare an -vertex path graph state from and Controlled-Z gates between neighbours. Its first qubit supplies the specified input . Measure vertex in the fixed equatorial qubit measurement basis at angle for , obtaining . Measure the final vertex in the computational basis, obtaining .
Track the Pauli frame as , starting with . A hypothetical sequential reading of the same quantum measurements gives the step . The supplied commutation rules imply, up to global phase,For , the sign is irrelevant. For , the identity absorbs the possible sign change into the Pauli frame. If for and for , the update isInductively the final unmeasured quantum state would be . The final computational basis outcome is corrected by and is unaffected by . The induction on a sequential interpretation proves the joint statistics; projectors on distinct vertices commute, so the identical fixed-basis pattern can actually be measured simultaneously, including its final vertex.
The first printed commutation formula has an incorrect exact scalar phase: with the printed matrix definition, , rather than the negative-exponent prefactor. For example, at the two versions differ by a factor . They agree up to global phase, so this error does not affect the Pauli frame recurrence or any quantum measurement probability.
Consequently a fixed-basis path-state pattern of logical depth one simulates every such circuit. Only Pauli measurements occur: the angle-zero basis measures , and the angle- basis measures with the printed eigenvector labels. Classical exclusive or processing suffices for all output corrections. These gates are Clifford gates, which explains why angle adaptation can be eliminated. For , simply measure the initial in the computational basis; it is already a depth-one pattern.
With equatorial qubit measurement vectors , the gate in one-bit teleportation is . Direct multiplication gives and . Moving a Pauli frame through this gate therefore exchanges its and exponents and reverses the angle if the old exponent is one, as displayed up to global phase. A measurement outcome adds a further factor. This calculation supplies adaptive angle choices and the final classical output-bit correction of a linear cluster state computation.
Alice holds the first two qubits and Bob the third of a three-vertex graph-state wire. Alice measures at and , with outcomes , and sends these two bits. Bob applies , the inverse of the known Pauli frame , obtaining up to global phase. Bob need not know the angles. Every branch succeeds, with branch probability , and no postselection is needed. Alice's measurements and Bob's corrections constitute local operations and classical communication on the previously shared entangled resource.
