Measurement-Based Quantum Computation
Measurement-based quantum computation (MBQC) processes an input by measuring qubits in an entangled graph resource. Individual outcomes are random, yet changing later measurement bases and correcting the final output can make the logical computation deterministic. We will derive this mechanism for finite-qubit XY-plane measurements, beginning with a two-vertex wire and then adding rotations and an entangling operation.
Helpful background. Graph states explains CZ preparation and stabilizers; mid-circuit measurement and feedforward distinguishes physical corrections from tracking a Pauli frame.
Measurement Patterns as Quantum Computations
Section titled “Measurement Patterns as Quantum Computations”An MBQC pattern combines an open graph, a preparation prescription, local measurement commands, a classical dependency relation, and output corrections. Conceptually, the entanglers create a resource that measurements consume. An implementation may prepare unused parts while earlier parts are being measured, provided it preserves the same operations and dependencies. Each measurement produces a classical bit, changes the quantum branch, and may alter later measurement commands. The output therefore depends on both the quantum branch map and the classical record.
A useful claim has three separate layers:
- the graph and commands define a family of unnormalized branch maps;
- outcome-conditioned corrections or a tracked Pauli frame merge those branches into a logical channel; and
- a determinism certificate establishes that every possible branch realizes the same logical isometry, up to a scalar amplitude.
Checking one normalized output branch is not enough. A deterministic pattern must give the intended corrected operation for every possible outcome, and the probabilities of all outcomes must add to one. Keeping only successful outcomes instead defines a postselected operation with a separate success probability.
Open Graphs, Resource States, and Input Injection
Section titled “Open Graphs, Resource States, and Input Injection”Let be a finite simple undirected graph. Let be an ordered input set, an ordered output set, and
the measured set. The sets and may overlap. The examples below use disjoint input and output sets. Tensor factors are always ordered by the displayed vertex tuple before amplitudes or branch maps are written.
The graph-state entangler is
All graph-edge CZ gates commute, so the product is independent of the order chosen for this ideal operator. For a supplied input , the input-injected resource is
Each input vertex contains a supplied quantum system; only non-input vertices are prepared in the plus state. The formula fixes the ideal entangled state but not a hardware schedule or the probability of preparing it successfully. General graph-state transformations are explained in graph states.
Equatorial Measurements and One-Bit Teleportation
Section titled “Equatorial Measurements and One-Bit Teleportation”Throughout, the XY-plane basis and bit convention are
Define
For input vertex 1 and prepared output vertex 2, direct projection gives the exact one-bit kernel
The factor is part of the exact unnormalized branch map. Dividing by the square root of the branch probability gives the normalized output up to global phase. Both outcomes have probability , independent of the input, and the logical operation is recovered by applying or tracking .
This identity is often called one-bit teleportation, but it is a local graph-wire kernel. The familiar Bell-pair protocol uses a different two-bit message, described in quantum teleportation.
Byproducts, Pauli Frames, and Adaptive Angles
Section titled “Byproducts, Pauli Frames, and Adaptive Angles”Suppose a logical qubit reaches measurement vertex with incoming frame . For the labeled measurement operation (ignoring phases that cancel in outcome probabilities),
To implement algorithmic angle , command
The term swaps the plus and minus labels, so it may always be implemented as a classical flip of the reported outcome bit. The term changes the angle sign. Except at special Pauli angles or under an explicitly proved symmetry, that sign change cannot be replaced by an outcome flip.
For a causal outcome string , define the branch map from the input Hilbert space to the output Hilbert space by
For input density operator ,
If is the declared physical output correction or the mathematical representative of a tracked frame, the corrected channel is
A corrected deterministic isometry requires every possible branch to obey
with independent of the input and . Here on the input space. If only a selected set of outcomes is kept, the same branch relation describes heralded success, not an unconditional deterministic channel. This condition does not imply that different branches have equal probabilities. The value is justified only by a pattern-specific argument or explicit enumeration.
A tracked frame is classical information, not a gate that was physically performed. Its operational effect appears when a later non-Pauli command, output correction, or readout basis consumes it.
Flow, gflow, Causal Order, and Determinism
Section titled “Flow, gflow, Causal Order, and Determinism”Write , , and let denote the neighborhood of . For an XY-plane open graph, a flow is a map
and a strict partial order such that, for every ,
and
Outcome then generates the correction
The adjacency condition and the extra-neighbor order condition are essential. A topological ordering by itself is not a flow certificate.
Generalized flow permits set-valued correction targets. Define
and
For XY-plane measurements, require all three conditions
and
These conditions place every corrective operation on a future vertex while the odd-neighborhood condition supplies the required action at the measured vertex. Flow gives a convenient sufficient construction for arbitrary XY angles. Generalized flow extends the construction to sets of correction targets. Its necessity theorem concerns uniform, strongly deterministic, stepwise patterns in the specified measurement-plane model; it is not a necessary condition for every special-angle or postselected computation. A partial order describes causal dependencies, not hardware latency.
Logical Wires, Rotations, and Entangling Patterns
Section titled “Logical Wires, Rotations, and Entangling Patterns”Concatenating one-bit kernels produces a logical wire. On the three-vertex path ––, first measure vertex 1 at , then command
at vertex 2. Every branch has probability , and the normalized raw output is, up to a branch global phase,
This is the smallest example with a generic non-Pauli angle dependency: fixing the second angle generally changes the logical operation rather than merely relabeling a bit. Longer paths compose further steps while propagating outcome parities into later signs and shifts.
Solid edges represent CZ preparation; the dashed arrow carries a classical outcome. The first measurement uses and returns . The second uses and returns . Removing or tracking the output frame leaves the logical state .
A two-wire entangling kernel uses inputs , outputs , and edges
Measuring both inputs in the X basis gives four equiprobable branches. The logical target is
and the output frame is
Thus the reusable ideal kernels are a step, a multistep wire or rotation, and a two-wire CZ pattern. They specify logical maps and frames, not a graph-generation protocol or hardware schedule.
Universality and physical costs
Section titled “Universality and physical costs”Arbitrary equatorial angles supply , and the two-wire kernel supplies CZ. Concatenating these operations gives universal ideal qubit computation. An arbitrary graph need not have this capability: universality concerns a suitable family of resource graphs and allowed measurements. Universal gate sets distinguishes exact continuous controls from a finite set with approximation error.
For an ideal pattern, count supplied inputs, prepared plus-state vertices, CZ edges, measurements and classical outcomes separately. Measurement rounds also differ from the feedforward steps between them: one measurement round has no earlier result to wait for; two adaptively linked rounds have one such dependency stage. Commuting CZ gates still compete for shared hardware, so their number alone does not determine preparation depth or execution time.
Loss, noisy preparation and nonideal measurement change the implemented channel. Photonic qubits discusses physical resource generation; fault-tolerant gates and the threshold theorem address encoded noisy computation. The qubit formulas here do not describe finite-squeezing errors in continuous-variable computation or prove security of blind and delegated computation.
Worked example: one measurement and a random byproduct
Section titled “Worked example: one measurement and a random byproduct”Supply at vertex 1, prepare at vertex 2 and entangle them with CZ. Measure vertex 1 at . The two exact branch maps are
After the correction, both branches have target state
Forgetting the result without correcting instead gives
Its purity and squared overlap with are both ; its trace distance from the pure target is . The mixture is specific to this input. For input , the corrected target is up to phase, and both raw branches already have that same ray because . Such a favorable input does not make the uncorrected channel correct for arbitrary inputs.
The pattern uses one supplied input, one prepared plus state, one CZ, one measurement and one recorded bit. It has one measurement round and no adaptive measurement dependency; the output still carries the known byproduct unless it is corrected.
Worked example: why the second angle must adapt
Section titled “Worked example: why the second angle must adapt”On the three-vertex path, supply , choose , , and measure at in the second round. Each of the four outcomes has probability . Applying the inverse output frame gives in every branch, up to a branch phase. Its amplitudes are
Now keep the second measurement fixed at while retaining the same final frame correction. Branches with are unchanged. For , the corrected output has squared overlap with the intended target; averaging over all four branches gives . This coherent error cannot be repaired by merely flipping the second classical outcome.
The ideal pattern uses three vertices, two CZ edges, two measurements and two bits. There are two measurement rounds with one feedforward stage between them. If both algorithmic angles were zero, both measurements would be in X and could occur in the same round, with the final frame processed afterward.
Common pitfalls
Section titled “Common pitfalls”Normalizing too early hides probabilities. Keep the branch scalar until has been calculated. Agreement of corrected normalized states alone does not check normalization of the full channel.
A frame is information about an unperformed correction. It must be used in a later gate, measurement basis or reported result. Ignoring it generally changes the logical output.
Basis sign and outcome relabeling are different. Adding swaps the two outcomes, whereas changing a generic angle to its negative changes the physical basis. Pauli angles are special cases.
Exercises
Section titled “Exercises”Translate an Equatorial-Basis Convention
Section titled “Translate an Equatorial-Basis Convention”An author uses
Translate the one-bit kernel into this convention and identify the logical operation.
Solution
The alternative state at angle is the page’s state at angle :
Substitute into the exact one-bit identity:
Thus the normalized corrected action is , up to global phase. The sign change records a relabeling of the basis parameter, not a different physical projector or channel.
Parallelize a Three-Node Pauli Wire
Section titled “Parallelize a Three-Node Pauli Wire”Set both algorithmic angles on a three-vertex path to zero. Determine the four branch probabilities, logical action, output frame, and physical measurement depth.
Solution
Here , so the corrected logical action is
The three-path identity gives probability for each and raw output
The second commanded angle is , independent of . Both physical measurements are therefore X measurements and may occupy one measurement layer. The logical flow order remains useful for interpreting and processing the output frame; physical parallelism does not erase that dependency structure.
Consume an Incoming Pauli Frame
Section titled “Consume an Incoming Pauli Frame”A logical qubit arrives with frame . Derive the command that implements algorithmic equatorial angle , and determine which dependency may be converted into a reported-bit flip.
Solution
Commuting the incoming frame into the measurement command gives
Equivalently, the physical command that realizes the desired logical angle is
Adding exchanges and , so one may omit the shift and report , where is the raw detector bit. By contrast, changing to generally rotates to a different basis. The dependency cannot be replaced by a bit flip except at special Pauli angles or under a declared symmetry.
Derive a Two-Wire Entangling Pattern
Section titled “Derive a Two-Wire Entangling Pattern”Let , , , and
Measure inputs 1 and 2 in the X basis. Find the branch probabilities, corrected target, and raw output frame.
Solution
Each input-to-output edge implements a one-bit step, while commutes with the two input projections. The two independent X-basis outcomes therefore give four branches with
The logical one-bit steps supply , and the output edge supplies the entangler, so the corrected target is
Flow choices and give the direct and corrections. Because output 4 is the other neighbor of , outcome also contributes . Similarly, contributes . The raw frame is therefore
Verify Flow on a Five-Vertex Path
Section titled “Verify Flow on a Five-Vertex Path”For the path –––– with input 1, output 5, and algorithmic angles , verify and derive the commanded angles, output frame, and generic number of adaptive measurement rounds.
Solution
For each measured , vertex is adjacent to and later in the order
The only other neighbor of , when it exists, is , which is also later than . All flow conditions hold. Propagating the and components from earlier outcomes gives
The remaining output frame is
For generic non-Pauli angles, each measurement command can depend on the preceding record, so there are four measurement rounds and three sequential feedforward stages. Special Pauli angles can permit signal shifting, but they do not change the generic count.
Read Out a Framed Logical Qubit
Section titled “Read Out a Framed Logical Qubit”A logical output carries frame and is to be measured at algorithmic equatorial angle . Give two equivalent correct readout procedures and reject the tempting generic shortcut.
Solution
One may send the fully repaired command
to the measurement device and use its returned bit directly. Equivalently, command
and convert the raw result to the logical result . The alternatives are equivalent because the omitted term only swaps the two basis labels.
There is no generic procedure that commands and compensates with a bit flip: the frame changes to , which is generally a different equatorial basis.
Count Accepted Resource States
Section titled “Count Accepted Resource States”Every preparation attempt consumes 25 vertices, 32 entanglers, and 23 measurements. Attempts are independent, each resource is accepted with probability , and 1,000 accepted outputs are required. Find the expected number and variance of attempts, its standard deviation, and the expected resource totals.
Solution
For the number of Bernoulli attempts required to obtain acceptances with , the negative-binomial moments are
Every attempt spends all listed resources, including rejected attempts. Multiplying the per-attempt costs by gives
These are expected costs, not a fixed-run guarantee. A time per attempt, parallelism model, and controller model were not supplied, so throughput and wall-clock latency are N/A.
Measure a four-vertex wire in parallel
Section titled “Measure a four-vertex wire in parallel”For the path –––, use input vertex 1, output vertex 4 and zero algorithmic angles. Show how to measure vertices 1, 2 and 3 in X simultaneously, process their raw bits , and correct the output for an arbitrary input. What happens to input ?
Solution
The sequential flow prescription has angles . The last shift changes only the label, so all physical measurements can instead be X measurements in one round. Set
The logical operation is . Every branch has probability , and the raw output is
up to a global phase. Apply the inverse frame , or keep the two frame bits for later use. For input , the corrected output is .
This pattern uses one supplied input, three prepared plus states, three CZ edges and three measurements. The classical processing includes one XOR and produces two final frame bits. One simultaneous measurement round eliminates intermediate adaptive waiting, but the output correction still depends on the recorded results.
References
Section titled “References”- H. J. Briegel, D. E. Browne, W. Dür, R. Raussendorf, and M. Van den Nest, “Measurement-based quantum computation,” Nature Physics 5, 19–26 (2009), doi:10.1038/nphys1157.
- D. E. Browne, E. Kashefi, M. Mhalla, and S. Perdrix, “Generalized flow and determinism in measurement-based quantum computation,” New Journal of Physics 9, 250 (2007), doi:10.1088/1367-2630/9/8/250.
- V. Danos and E. Kashefi, “Determinism in the one-way model,” Physical Review A 74, 052310 (2006), doi:10.1103/PhysRevA.74.052310.
- V. Danos, E. Kashefi, and P. Panangaden, “The measurement calculus,” Journal of the ACM 54(2), article 8 (2007), doi:10.1145/1219092.1219096.
- M. Hein, J. Eisert, and H. J. Briegel, “Multiparty entanglement in graph states,” Physical Review A 69, 062311 (2004), doi:10.1103/PhysRevA.69.062311.
- M. Mhalla and S. Perdrix, “Finding optimal flows efficiently,” ICALP 2008, Part I, Lecture Notes in Computer Science 5125, 857–868 (2008), doi:10.1007/978-3-540-70575-8_70.
- M. A. Nielsen, “Cluster-state quantum computation,” Reports on Mathematical Physics 57, 147–161 (2006), doi:10.1016/S0034-4877(06)80014-5.
- M. A. Nielsen and C. M. Dawson, “Fault-tolerant quantum computation with cluster states,” Physical Review A 71, 042323 (2005), doi:10.1103/PhysRevA.71.042323.
- R. Raussendorf and H. J. Briegel, “A One-Way Quantum Computer,” Physical Review Letters 86, 5188–5191 (2001), doi:10.1103/PhysRevLett.86.5188.
- R. Raussendorf, D. E. Browne, and H. J. Briegel, “Measurement-based quantum computation on cluster states,” Physical Review A 68, 022312 (2003), doi:10.1103/PhysRevA.68.022312.
- R. Raussendorf, J. Harrington, and K. Goyal, “Topological fault-tolerance in cluster state quantum computation,” New Journal of Physics 9, 199 (2007), doi:10.1088/1367-2630/9/6/199.
- M. Van den Nest, A. Miyake, W. Dür, and H. J. Briegel, “Universal resources for measurement-based quantum computation,” Physical Review Letters 97, 150504 (2006), doi:10.1103/PhysRevLett.97.150504.