The displayed Bernstein-Vazirani algorithm prepares its ancilla qubit in the computational-basis state before the first Hadamard gate. At the function oracle it is therefore the eigenstate of the Pauli X gate, which enables phase kickback. Preparing instead yields at the function oracle; target flips leave this state unchanged, so the data contain no information about .
The Hadamard-conjugated linear oracle makes the more general statement transparent. With zero data and initial ancilla qubit , the full fixed quantum circuit outputsFor nonzero , the correct data outcome has probability . To obtain exact identification for all , this preparation must have , so it is up to global phase. This is a condition on the prescribed preparation circuit: any alternative quantum state preparation that supplies at the function oracle is equivalent.
Bernstein-Vazirani algorithm 2026-10-24
The Bernstein-Vazirani algorithm identifies the coefficient string of a linear Boolean function with one Boolean quantum oracle call. It contrasts with the calls required by the classical query complexity of linear Boolean function identification. Prepare the data qubits at and an ancilla qubit at , apply a Hadamard gate to every wire, query the function oracle, and apply the Hadamard gates again. The full output is .
The mechanism is Bernstein-Vazirani phase kickback. The Pauli X gate has eigenvector with eigenvalue . Thus the target flips become relative quantum phases on the data, givingThe final Hadamard transform maps this product to , so computational-basis measurement recovers every coefficient with certainty. The ancilla preparation for the Bernstein-Vazirani algorithm ensures the required minus sign, and the Hadamard-conjugated linear oracle gives an exact quantum circuit interpretation. One query is optimal for , since without a query the output cannot depend on the unknown string.
Bit-flip repetition code Created 2026-09-28 Updated 2026-10-14
The -qubit bit-flip repetition code stores one logical qubit in and . Its stabilizer generators are for , and its logical operators are and . Interchanging the Pauli X gate and Pauli Z gate gives the phase-flip repetition code. For odd , majority-vote decoding of a repetition code corrects up to physical Pauli X gate errors, assuming ideal operations and a noise family containing only these bit flips.
For , prepare two quantum ancillas in and apply controlled-NOT gates from the input qubit to each of them. By linearity, encoding sendsThis does not produce , which would contain cross terms. For example, encoding produces , whereas three independent copies would have eight equal computational basis amplitudes. The encoding creates quantum entanglement when both coefficients are nonzero and respects the no-cloning theorem.
The three-qubit bit-flip syndrome table corrects the family and its entire linear span, as specified by the Knill--Laflamme condition. It cannot correct arbitrary errors on one physical qubit: the phase flipcommutes with both checks and acts as logical . In particular, it takes the encoded to the orthogonal encoded with error syndrome . Thus its full quantum code distance is one, despite correcting one error of the restricted Pauli X gate type. The Shor code, Steane code and five-qubit error correcting code provide protection against arbitrary one-qubit errors.
Born rule Created 2026-09-24 Updated 2026-10-18
The Born rule connects a quantum state to measurement probabilities. Let be a complete orthonormal basis, finite or countably infinite, for a Hilbert space, and letAn ideal measurement distinguishing these basis vectors returns label with probabilityThis assignment is a physical measurement rule. Its compatibility with total probability one follows from orthonormality and normalization:The probabilities are the squared moduli, not the amplitudes themselves or the squares . [ref].
If the basis is an eigenbasis of an observable, the reported numerical value is its eigenvalue. Several vectors can share one eigenvalue; the probability of that value is then the sum over the corresponding basis labels. More generally, a projective measurement with orthogonal projections assignsfor a pure state and a general density matrix , respectively. This also covers mixed states and degenerate eigenspaces. The Born rule determines outcome statistics; the ideal conditional state change is specified separately by the Lüders rule. See projective measurement for that formulation and its assumptions. [ref]
https://quantum.cloud.ibm.com/learning/en/courses/general-formulation-of-quantum-information/general-measurements/formulations-of-measurements. Watrous, IBM Quantum Learning, Mathematical formulations of measurements, Projective measurements
.For a worked example, take the normalized qubit quantum stateThe squared moduli add to . A computational-basis measurement, equivalently a measurement of the Pauli matrix, hasThese probabilities do not depend on the relative quantum phase . Now choose the Hadamard basiswhose vectors are eigenstates of the Pauli matrix, also used by the Pauli X gate. The new probability amplitudes and probabilities areBoth probabilities are nonnegative and their sum is one. The relative quantum phase becomes visible because the two probability amplitudes add before their squared modulus is taken:
- At , and .
- At , .
- At , and .
The same qubit preparation has phase-independent Z probabilities and phase-sensitive X probabilities
. Details. A Hadamard gate followed by a computational-basis measurement realizes these statistics, since , respectively. Compare the two bases using fresh, identically prepared copies: a preceding measurement may change the state. The quantum superposition section shows why replacing the preparation by the mixed state keeps the statistics but gives for every .
The usefulness of the Born rule is this conversion from linear algebra to experimental predictions: calculate overlaps in the basis actually measured, then take squared moduli. Its appealing geometry is that changing basis redistributes probability while preserving total squared norm. The same rule relates an energy eigenstate expansion to an energy measurement and a position wavefunction to a probability density.
Born's 1926 paper on quantum scattering interpreted the outgoing-wave coefficients in terms of the probabilities of collision outcomes; a corrective footnote specified proportionality to the square of the amplitude. This is a historical scattering formulation, rather than the general density matrix formula above. [ref]
Zur Quantenmechanik der Stoßvorgänge by Max Born. Born, Zur Quantenmechanik der Stoßvorgänge, Zeitschrift für Physik 37, 863–867, 1926
; [ref]https://www.neo-classical-physics.info/uploads/3/0/6/5/3065888/born_-_qm_for_collisions_i.pdf. English translation of Born's paper, p. 3 and footnote 1
.Encode as . Four controlled-NOT gates copy the displayed two data parities into initially zero quantum ancillas. No logical amplitude is measured. The error syndromes correspond respectively to no bit flip and bit flips on data qubits . Conditional Toffoli gates, with temporary Pauli X gates implementing zero-valued controls, undo the indicated error. Inverse encoding yields the original logical state and a separate syndrome state. A phase flip has zero bit-flip syndrome and remains as a logical phase error; this three-qubit code is not a general single-qubit-error code.
Collisional phase gate 2026-10-25
A two-qubit gate in which an interaction shifts the energy of a selected joint computational basis state and thereby accumulates a relative quantum phase. With Hamiltonian operator , where has units of energy, an interaction time gives with . The selected basis state is part of the convention: this gate differs from the usual Controlled-Z gate at . Conjugation by a Pauli X gate on the first qubit gives , because the conjugation interchanges and .
For nonnegative with , Alice applies Kraus operators and to one half of a Bell state. Their squared effects sum to the identity, and both outcomes have probability one half. The first branch is the target; the second becomes the target after both parties apply Pauli X gates. Sending the outcome by classical communication makes this exact deterministic entanglement dilution, rather than a postselected conversion.
Dicke-resource telecloning Created 2026-10-14 Updated 2026-10-20
For odd , a symmetric quantum teleportation resource can encode an unknown qubit into . Begin with , apply a controlled-NOT gate from the input to the sender's resource qubit, apply a Pauli X gate to that resource qubit and a Hadamard gate to the input, and measure those two qubits. The four unnormalized remaining vectors are , , and . Each outcome has probability . Since interchanges and , and acts as logical up to the common phase , local Pauli corrections make the output independent of the result. The one-qubit reduction of Dicke-state superpositions givesFor this distributes imperfect copies, as required by the no-cloning theorem. For it reduces to exact quantum teleportation.
GHZ contradiction for N congruent to 3 modulo 4 Created 2026-10-14 Updated 2026-10-25
For , let have one Pauli X gate at site and Pauli Y gates elsewhere, and let . The relations , show that is proportional to exactly when is odd. In that case its eigenvalue is , while always has eigenvalue .
Under the EPR criterion of reality and locality, each site's and outcomes have predetermined values . Multiplying the certain equations gives when is odd, since every appears an even number of times. This contradicts the certain quantum value precisely when . Thus the displayed GHZ state gives an infinite family of perfect-correlation contradictions with local hidden-variable theory, without an inequality.
GHZ game 2026-10-25
A three-party nonlocal game with binary questions of even Hamming weight. Its winning output parity is half the question weight modulo two. For the four possible input triples, a hypothetical deterministic classical response would give four parity equations whose left sides cancel under exclusive or, while their right sides have odd total parity. Thus no classical strategy succeeds on every allowed triple, even with pre-shared randomness.
On the GHZ state, measure the Pauli X gate as an observable for question zero and the Pauli Y gate for question one, and encode the measured eigenvalue as . The joint observables XXX, XYY, YXY and YYX have respective GHZ eigenvalues . Their products of local outcomes enforce the required parity with certainty. The strategy uses pre-shared quantum entanglement and local measurements during the game, without communication. It realizes the GHZ theorem as an operational task. If the four questions are uniform, the best classical success is : the parity contradiction bounds it above, and the deterministic rule , wins three triples and loses only 011. The uniformity assumption is necessary for that numerical score, not for the impossibility of worst-case certainty.
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.
Assume that each physical qubit undergoes an independent quantum bit-flip channel with probability during one storage interval, and that encoding, error syndrome extraction, recovery and decoding are all ideal. Use the three-qubit bit-flip syndrome table to apply the indicated minimum-weight recovery. Zero or one bit flips are corrected. Two bit flips have the same error syndrome as the complementary one-site error: for example, gives , so recovery leaves . Three bit flips give and also leave . This exchanges and , and therefore acts as a logical Pauli X gate after decoding.
The number of physical bit flips has a binomial distribution with three trials, hence the logical-error probability isFor a logical density operator , the decoded quantum channel is exactly . Here logical failure means a nontrivial logical Pauli X gate error; a particular input such as can be invariant under that error. At , exactly two flips have probability and three flips have probability , giving . The block succeeds with probability compared with for an unencoded qubit. At , , illustrating the quadratic suppression of rare independent bit flips.
Factoring the improvement givesThus one level reduces logical-error probability for , is equal at , and makes it worse for under this same decoder. The suppression arises because a logical error requires at least two physical bit flips. With independent disjoint inner blocks, the same noise model and ideal correction at every level, a concatenated quantum error-correcting code has , with . At , two levels use nine data qubits and give .
This calculation describes ideal correction of stored information with the specified quantum bit-flip channel. Repeated correction in time additionally requires a fresh specified noise model for each interval; imperfect quantum gates, faulty measurements and correlated errors change the calculation. The timed bit flip during repetition-code syndrome extraction and exact encoded-state failure with a faulty parity check show concretely why this storage calculation alone is not a fault-tolerance result.
The phase-flip repetition code with codewords corrects any one physical Pauli Z gate error. Its two adjacent-pair error syndromes cannot distinguish an error pattern from its three-bit complement. Minimum-weight recovery therefore leaves no residual error at weight zero or one, and leaves at weight two or three. This residual operator exchanges the codewords, so inverse encoding gives a logical Pauli X gate. For independent physical phase errors of probability , the decoded quantum channel is , where . For , .
The codewords have residual logical Pauli X gate after an uncorrectable two- or three-site phase error. Precede their encoding by a logical Hadamard gate and follow decoding by its inverse. Since , the same error now acts as a logical Pauli Z gate. Explicitly the encoded coefficients are and for an input . This convention matters when translating physical phase errors into a claimed decoded phase-error channel.
Measurement-guided Zeno transfer 2026-10-25
Successively measure in bases whose first vector rotates from to in equal angular steps. The probability to remain on that branch throughout is the displayed product of squared overlaps. Without postselection, the final target probability is . Both approach one for an initial , but a general input loses its relative phase between the two measurement branches; the process does not implement a coherent Pauli X gate on unknown inputs.
Choose and its orthogonal companion . Since , either branch of
RandomFlip returns the same pure state. Alice therefore obtains label 0 with certainty, andThe alternative choice also works: its sign change under is only a global phase. The useful property is being a Pauli eigenstate of the Pauli X gate.At the last step, and . Ignoring the recorded outcome, the final density matrix isFor large , the Taylor expansion givesThus , and the final state tends to , or as a pure-state representative. In fact , and its trace distance from is exactly . With records retained, the final conditional state is with probability tending to one. These are compatible descriptions, not a coherent sum of the two outcome branches. This quantum Zeno effect guides a known preparation through slowly rotating measurement bases; it is not a unitary Pauli X gate acting coherently on an arbitrary unknown input.
Total probability of the final target outcome versus the uninterrupted measurement record, and the asymptotic target-error probability in measurement-guided Zeno transfer
. Details. For deterministic classical responses, denote the two possible local answers by , and . Certainty in the GHZ game would requireTaking the exclusive or of all four equations gives zero on the left, since every answer occurs twice, but one on the right. This contradiction rules out deterministic certainty. Pre-shared randomness cannot cure it: conditioning on the random seed fixes a deterministic response table, and none succeeds on every allowed input. Thus noncommunicating classical players cannot win with certainty. No uniform distribution on the referee's questions is needed for this worst-case claim.
For the quantum strategy, share the GHZ state and measure the Pauli X gate observable when the local question is 0, or the Pauli Y gate observable when it is 1. Return bit 0 for measurement eigenvalue and bit 1 for eigenvalue . The four relevant operator identities areFor the first identity, the three bit flips exchange and . For each remaining identity, the two Y actions contribute on and on , so they exchange the terms with a minus sign. Local measurements on separate systems commute, and the product of their observed eigenvalues is therefore fixed by the displayed joint eigenvalue. That product equals , giving exactly the required output parity for each promised input. Hence the quantum strategy wins with certainty without communication. This is the GHZ theorem in nonlocal-game form; it does not let a player control another player's individual outcome.
Both the controlled-NOT gate and Pauli X gate permute computational basis vectors. Any finite composition remains a permutation matrix, and so sends to another computational basis vector. It cannot prepare a superposition such as .
This also rules out approximation: the squared overlap of that target with any computational basis vector is at most , so even after optimizing global phase the pure-state norm distance is at least . Hence is not universal. Basis permutations can create entanglement on some superposed inputs, but this gate set cannot create the required superposition from the specified basis input.
Use and the Pauli X gate. Starting with the Bell state , the exact constructions areFor the first, changes the two terms to and , and multiplies just the second term by . For the second,All factors are single-party unitary operators, proving both claimed local-unitary equivalences. The equations hold as vectors, without even an additional global phase.


