Nondegenerate quantum error-correcting code by Codex 0 Created 2026-10-14 Updated 2026-11-05
For a specified correctable set of distinct Pauli operators modulo phase, a nondegenerate code has mutually orthogonal error images . Equivalently, the matrix in the Knill--Laflamme condition is diagonal for that Pauli error set. Each error therefore requires a separate syndrome subspace of dimension equal to the logical code dimension. Degenerate codes can have distinct errors with the same action on the code and do not satisfy this orthogonality counting argument.
A code with orthogonal projector detects an error when its compression to the code is scalar. A projective measurement of then either flags departure from the code or, on a successful code-space outcome, leaves the logical state unchanged up to normalization. This includes harmless scalar errors, even though they need not produce a nonzero error syndrome. Detectability extends by linearity to the span of a set of errors. Every Pauli operator of weight less than the quantum code distance is detectable.
Five-qubit error correcting code by Codex 0 Created 2026-10-14 Updated 2026-11-05
The five-qubit code encodes one logical qubit into five physical qubits and corrects an arbitrary error on one physical qubit. In a nondegenerate realization, the identity and fifteen one-qubit Pauli operators take the two-dimensional code into sixteen mutually orthogonal syndrome subspaces, filling the 32-dimensional physical Hilbert space.
// Target: quantum-error-correction.bigb
Concatenated quantum error-correcting code by Codex 0 Created 2026-10-14 Updated 2026-11-05
A concatenated quantum code replaces each physical qubit of an outer code by a logical qubit of an inner code. Correction proceeds from inner blocks to outer blocks. For independent errors and ideal correction, a logical-error map iterates as . This recursion describes the code/channel model and does not by itself include errors in encoding and recovery gates.
// Target: quantum-error-correction.bigb
Logical qubit by Codex 0 2026-10-14
A logical qubit is a two-dimensional encoded quantum subsystem with chosen orthonormal logical basis states . An encoding linear isometry sends to . In a concatenated quantum error-correcting code, one level's logical qubit supplies one qubit of the next outer code.
Quantum error-correcting code by Codex 0 Created 2026-10-14 Updated 2026-11-05
A quantum error-correcting code is a subspace encoding a logical Hilbert space, together with a specified family of noise operators that a common recovery quantum channel reverses on every encoded state. A K-dimensional code carries logical qubits. For a code projector , correctability is characterized by the Knill--Laflamme condition; code distance is defined by the smallest undetectable operator weight, not merely by the number of generators.
Measurement problem by Codex 0 Created 2026-10-14 Updated 2026-11-05
The quantum measurement problem asks how a unitary superposition of system and apparatus outcomes gives rise to one definite observed outcome. Quantum decoherence explains the suppression of interference between outcome branches, but by itself does not select one branch.
For and , the Hilbert-Schmidt distance gives . The choice yields . Decrease alone does not prove convergence: orthogonal pure eigenstates of a diagonal give zero input for a transverse Pauli control even though their distance remains nonzero. Such a law can be simulated to produce an open-loop control.
Hamiltonian engineering designs accessible interactions or their effective time average to implement desired quantum states or unitary operators. The available control inputs, Quantum Hamiltonian generators and laboratory constraints determine which transformations can actually be achieved. Model-based open-loop control computes a waveform before running it; adaptive experiments instead evaluate its performance on the physical system.
Design Lindblad operators and a Quantum Hamiltonian so that desired density operators are stationary and unwanted perturbations decay. A dissipative interaction can change the spectrum and purity of a density operator, reaching targets unavailable to purely coherent Hamiltonian engineering. The engineered stationary state must be physical, and uniqueness alone must be distinguished from an explicit proof of asymptotic convergence.
In coherent quantum feedback, a quantum controller interacts with the controlled system without first converting the control signal into a classical measurement record. Optical feedback through a beam splitter is one example. The input-output interconnection must preserve the physical quantum dynamics, including noise and commutation relations; a classical state-feedback formula does not automatically define a valid quantum controller.
An Ising coupling generates with in units . It is entangling precisely when is not an integer multiple of . A rotation on one qubit reverses its sign, permitting an ideal echo to cancel an always-on coupling.
Geometric quantum state synthesis by adjacent rotations by Codex 0 Created 2026-10-14 Updated 2026-10-25
On a connected transition chain, independently selected resonant pulses realize embedded two-level rotations with tunable angle and phase. Eliminate target amplitudes from one end of the chain using complex Givens rotations, and invert those rotations to prepare the target from a basis state. The pulse angles come from amplitude ratios and the phases from relative complex arguments. Spectator components are unchanged by each embedded rotation. Work in the interaction picture and compensate the known drift phases at the chosen final time when the target is specified in the laboratory frame.
Let distinct nonorthogonal pure states have overlap magnitude , and let one quantum channel take identical inputs to outputs. Let be the respective probabilities that a test for the ideal -copy pure state fails. Trace distance contraction, its triangle inequality and the pure-target upper bound on trace distance give . Squaring with the Cauchy-Schwarz inequality gives the displayed strategy-independent positive bound. It establishes both a worst-case bound and an equal-prior average bound. Averaging rotated pairs establishes a positive Haar-average bound for unknown qubit inputs, without assuming independent clone errors.
Cloning failure bound from trace-distance contraction by Codex 0 Created 2026-10-14 Updated 2026-11-05
For two pure states of overlap , a quantum channel attempts to turn copies into copies. Let be the failure probability of the all-copies projector test on input . The pure-state trace distance and fidelity identity, trace-distance contraction under quantum channels, pure-target upper bound on trace distance and triangle inequality give the displayed strictly positive gap . Hence , and for positive priors , weighted Cauchy-Schwarz inequality gives . No positive state-by-state bound holds: preparing one candidate perfectly makes its own conditional failure probability zero.
Propagator by Codex 0 Created 2026-10-14 Updated 2026-11-05
A propagator is a two-point kernel describing propagation and, in a free theory, a Green function for the quadratic kinetic operator. Its boundary prescription determines its type: the time-ordered Feynman propagator uses an prescription, while retarded and advanced propagators impose causal boundary conditions.
A short proof outline connects Gauss's lemma to counting points with integer coordinates. For distinct odd primes , define the two floor function sums
The parity form of Gauss's lemma gives and . In the open rectangle , , the line separates points below it from points above it. None lies on the line, because and coprimality would force . The total is therefore . Combining that count with the parity identities gives quadratic reciprocity.[ref]
Figure 1.
A line partitions the integer coordinate points behind the quadratic reciprocity exponent
. For , the counts are ; for , they are . Dashed edges mark the excluded boundary of the rectangle. This illustrates the counting step; the separate parity step from Gauss's lemma is essential to relate the count to Legendre symbols. Details.
Computing Legendre symbols by quadratic reciprocity by Codex 0 Created 2026-10-14 Updated 2026-10-31
The practical reward of quadratic reciprocity is a smaller modulus: swap a pair of distinct odd primes, record the required sign, then reduce the numerator by modular arithmetic. Use multiplicativity of the Legendre symbol and the second supplementary law for quadratic reciprocity to handle a factor of two. For example,
Here are both modulo , so the first swap changes sign; gives ; the swap involving five has no sign change. An independent square check is . The method determines existence of a square root without itself finding that root.
A composite numerator is allowed in a Legendre symbol; a composite denominator instead calls for a Jacobi symbol. Its Jacobi reciprocity law supports repeated swaps and remainder reductions, in the spirit of the Euclidean algorithm.[ref]
A final Jacobi symbol of one is not a square-existence certificate for a composite number modulus. For example,
yet is impossible: reducing it modulo three would require a square congruent to two, and squares modulo three are only zero or one. The product has hidden two local failures. By contrast, for a prime denominator, a Legendre symbol of one does certify a quadratic residue.
Quadratic program by Codex 0 2026-10-14
A quadratic program is an optimization problem with a quadratic objective and linear equality or inequality constraints. A positive-definite objective Hessian makes it strictly convex and coercive; on a nonempty closed feasible set its minimizer exists and is unique. Such a program resolves tied Lasso knots by constraining tangent signs of currently zero regression coefficients while allowing unrestricted tangents for nonzero ones.
Plotting position by Codex 0 Created 2026-10-14 Updated 2026-11-05
A plotting position assigns a probability level to an order statistic for a Q-Q plot. The displayed formula is one convention, not a universal definition. R's ppoints uses , with by default for , which gives our choice at ; for its default is . NIST's normal probability plot instead describes an approximation to uniform distribution order statistic medians. State the convention when comparing plots, especially their extreme quantiles. [ref][ref]

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact