Syndrome extraction circuits
Syndrome extraction circuits couple data to ancillas so that measurements reveal code-check values while preserving logical information.
On this page
Explanation and significance
The check operator determines what must be measured, but many circuits can measure it with different fault propagation. Ancilla preparation, interaction order, reset and readout must be documented. Repeating the extraction is necessary when measurements themselves can fail.
Mechanism and mathematical structure
To measure Z0Z1 ideally, prepare an ancilla |0>, apply CNOTs from data q0 and q1 to the ancilla, then measure the ancilla in Z. The ancilla records the XOR of computational-basis values. It distinguishes even and odd parity without distinguishing |00> from |11> within the even sector.
Fully worked reference example
For data (|00>+|11>)/sqrt(2), both branches drive the ancilla back to |0>, so its measurement is deterministically zero and data coherence is retained. For (|01>+|10>)/sqrt(2), the ancilla ends in |1>. For arbitrary input, the circuit implements parity projectors (I±Z0Z1)/2. By contrast, measuring both data qubits separately reveals each bit and destroys the Bell coherence.
Limits and misconceptions
An ancilla fault between CNOTs may propagate into data according to gate direction. A mathematically correct parity circuit is not necessarily fault tolerant. Include idle intervals and cross-talk from readout in a realistic circuit model.
Scientific relationships
Implements stabilizer measurement. Depends on ancilla control and readout. Is used in repeated quantum error correction.
Deriving the measurement instrument
Let S=Z0 Z1 and P_even=(I+S)/2, P_odd=(I−S)/2. The two-CNOT parity interaction is U=P_even tensor I_a+P_odd tensor X_a. With ancilla |0>, the data Kraus operators are K0=<0|U|0>=P_even and K1=<1|U|0>=P_odd. This derivation specifies more than the probability of an outcome: it specifies the conditional state update. The unconditioned map is rho→P_even rho P_even+P_odd rho P_odd. Coherence between the two parity sectors is removed, while coherence inside either sector remains.
For data |++>, outcome probabilities are one half each. Outcome zero produces (|00>+|11>)/sqrt(2); outcome one produces (|01>+|10>)/sqrt(2). Thus an ideal collective measurement can create entanglement from an initially separable state. If only the outcome distribution were checked, separately measuring both data qubits could reproduce the same parity statistics while destroying the required within-sector coherence. Verification of an extraction circuit therefore needs sensitivity to its backaction, not only to its classical parity truth table.
An imperfect ancilla changes both strength and interpretation
Prepare the ancilla in a|0>+b|1>, with |a|²+|b|²=1. The same interaction now gives K0=a P_even+b P_odd and K1=b P_even+a P_odd. A computational-basis measurement is no longer necessarily a projective parity measurement. For real a and b, the off-diagonal data block P_even rho P_odd is multiplied in the unconditioned map by 2ab. If a=b=1/sqrt(2), the ancilla is |+>, X_a acts trivially, and the circuit learns no parity at all. Both outcomes are random and the data remain unchanged.
For a=sqrt(0.99), b=0.1, the likelihood of outcome zero is 0.99 for even input and 0.01 for odd input, but the coherence multiplier is approximately 0.198997. A classical preparation mixture 0.99|0><0|+0.01|1><1| has the same parity assignment probabilities while fully removing coherence between sectors. Coherent and incoherent preparation faults can therefore agree on a simple assignment matrix but implement different instruments. The example is an exact two-data-qubit calculation, not a model of every physical preparation channel.
Locating a fault within the circuit
An X ancilla error immediately before its final Z measurement flips the reported outcome without changing the data. A Z ancilla error after the first CNOT propagates through the second CNOT as Z1 Z_a; the remaining Z_a is invisible to final Z measurement, but the data carry Z1. A Y ancilla fault combines both effects, up to an irrelevant overall phase. The same Pauli label inserted at another time can produce a different data support. Noise models that attach a single error probability only to the final reported bit cannot represent all these possibilities.
The distinction extends to two-qubit gate faults. A faulty CNOT can leave an error on both participants, so propagating a pre-existing single ancilla error is only one component of a circuit-level analysis. Preparation, gates, idles, reset, and measurement should each occupy explicit locations in the model. Simultaneous readout can add errors to neighboring data even when those data do not participate in the check being measured.
Repetition distinguishes hypotheses over time
Let an ideal stabilizer value remain +1 over three rounds. Reported outcomes +1,−1,+1 can arise from one erroneous middle measurement. In a detection-event representation, changes occur at both boundaries of that wrong outcome. A persistent data error that flips the stabilizer after round one instead gives +1,−1,−1 until another event occurs. The corresponding temporal pattern differs. This is why the decoder needs the sequence of measurements and boundary conditions, rather than only the latest syndrome.
Repeated extraction does not automatically correct an arbitrary fault. A data error may propagate, a measurement can correlate with leakage, and the first and last rounds often have different information available. The temporal example only separates two idealized hypotheses. A complete decoder compares probabilities of allowed histories under the actual extraction schedule.
Repeated readout creates correlated detection events
For a stable true check value, let each reported bit independently flip with probability m. A detection event between neighboring rounds occurs when exactly one of their reporting errors is present, with probability 2m(1−m). At m=0.01 this is 0.0198, nearly twice the individual assignment-error probability. Adjacent detection events are not independent because they share one reported bit: a single wrong middle result creates both. Treating that pair as two unrelated physical faults double-counts the mechanism. This exact classical calculation applies to a stable check and independent reporting errors; changing data syndromes and correlated readout require a larger history model. The decoder's event representation should preserve that distinction.
Sources
Verification scope
Stabilizer Codes and Quantum Error Correction
Daniel Gottesman · · Thesis · Preprint recorded · arXivCitation identity checked ·
Stabilizer algebra and fault-tolerance foundations; no current experimental ranking.
Verification scope
Citation identity checked ·
Architecture and surface-code tutorial; numerical thresholds remain model-specific.