Choose normalized energy eigenstates of a time-independent Hamiltonian operator, with , and assume first that they form a complete orthonormal basis. For a pure state and an observable ,
The column index labels the input basis vector, and row labels the output component. Self-adjointness gives , so a finite example is a Hermitian matrix. A matrix element can be negative or complex; by itself it is not generally a probability. The Born rule assigns measurement probabilities using the eigenstates of , which need not be energy eigenstates. For an unbounded observable, these expressions require a suitable operator domain; a system with continuous spectrum also needs the corresponding spectral integrals.
Odds 2026-10-14
For an event of probability , its odds in favor are . They compare the probability of the event with that of its complement. Conversely . For example, probability gives odds , or one to three in favor. The same transformation applies to a conditional probability; an odds ratio compares these transformed probabilities in two groups, while a risk ratio compares the probabilities themselves.
A Hermitian impulse with zero diagonal has kick operator . If , its transition probability is , reducing to for a weak impulse. The integrated operator has action units, and a pulse integrated across its full support has no extra half-delta factor.
Apply heralded remote preparation of an arbitrary qubit independently to shared singlet states. The sender reports one bit indicating whether every local outcome was successful. A positive flag certifies that the receiver's block is the desired product of pure states; its probability is . A negative flag need not identify which states failed, since the whole block can be discarded.
// Target: algebra.bigb
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 output
Each 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.
For binary classification, write and assume feature-measurable nearest-neighbour tie-breaking. If , then the expected conditional misclassification risk of the one-nearest-neighbour classifier tends to . Couple each label and an oracle label using one uniform variable. Their disagreement has the preceding expected absolute difference. The oracle and the test label are conditionally independent Bernoulli random variables of parameter , so their disagreement probability is exactly . The difference of classification in statistical learning error probabilities is at most the coupling disagreement.
One-sided error Created 2026-09-24 Updated 2026-10-18
A randomized decision algorithm has one-sided error when one answer is always correct and only the other answer can be mistaken.
The guarantee concerns each fixed input, with probability taken over the choices of the randomized algorithm. Always state which answer is protected. In polynomial identity testing, call an input positive when its polynomial is identically zero, and let acceptance mean claiming an identity. Then the possibilities are:
Actual polynomialAccept: claim identityReject: claim nonidentity
Identically zeroAlways correct; every trial accepts.Impossible with exact polynomial evaluation.
NonzeroPossible mistake if the chosen point is a zero.Always correct; the point is a witness.
Thus a zero polynomial evaluation can leave uncertainty, but a nonzero polynomial evaluation settles the question. An error bound for a fixed nonzero polynomial is not the conditional probability that a particular accepted input is an identity; that latter question would need a distribution on the inputs as well.
In computational complexity theory, a polynomial-time algorithm with this orientation and false acceptance probability at most establishes membership in co-RP. Reversing the question to ask whether the polynomial is nonzero gives the RP orientation: negative instances are always rejected. The random evaluation test for a polynomial identity explains the required field, total degree, sampling and evaluation assumptions.
A normalized ground state initially supported on is . Expanding the infinite square well to leaves this wavefunction unchanged during an ideal sudden switch. Its overlap with the new ground state is , so the Born rule gives . This differs from ground-state overlap after sudden expansion of a square well with a fixed midpoint, because translation of the new well changes the overlap. Under a fixed final Hamiltonian operator, all final energy eigenstate probabilities remain constant during subsequent unitary time evolution.
Optimal prefix code Created 2026-09-24 Updated 2026-10-14
An optimal prefix code minimizes expected codeword length for a fixed source probability distribution. Here the source alphabet is finite, has symbols, and has for every symbol; each source symbol receives one codeword over the binary output alphabet . Its code tree puts the symbols at leaves. Reading the edges along the graph path from the root of a tree to a leaf produces its codeword, so the leaf depth in a code tree is exactly its codeword length. Thus
For unnormalized positive weights, minimize instead; the corresponding expected codeword length is . This connects the abstract optimization to storage or transmission: counts the bits charged when symbol occurs. Huffman coding attains this minimum; the Huffman sibling property and Huffman sibling contraction explain why. [ref]
For , a balanced code tree charges every symbol two bits, giving . The codeword lengths charge the most frequent symbol only one bit, giving . The choice concerns weighted cost, not just the greatest codeword length: increasing that maximum from two to three can improve the average.
The search over prefix codes looks infinite, but positivity reduces it to finitely many full binary trees with leaves. A vertex with one child can be suppressed to improve cost, and a full binary tree with leaves has internal vertices. There are consequently finitely many such shapes and symbol assignments, so the minimum exists. For four leaves, the only possible sorted codeword lengths in a full binary tree are and . Probability monotonicity of optimal prefix-code lengths assigns larger probabilities to shallower leaves, giving respective minimum costs and in this example. This is an independent small-instance check of the Huffman code.
These hypotheses matter. With zero weights, suppressing a subtree carrying only zero weight need not strictly improve cost, so an optimal prefix code need not have a full binary tree. A one-symbol source raises the convention of whether an empty codeword is allowed. Both cases are outside the original statement here. Encoding groups of symbols changes the source alphabet and the optimization problem; the minimum here concerns one source symbol per codeword.
For independent exponential escape, equal prior probabilities and no state relaxation, the mean classification error is . Setting its derivative to zero gives the displayed interval. The error increases both when the fast state is not given enough time to escape and when the slow state is given too much. Detector bandwidth, relaxation and reloading require an expanded measurement model.
Oriented bond percolation 2026-10-14
Independently open the bonds of a directed graph with a common probability , and ask whether an infinite open directed path starts at a specified root. On the oriented square lattice, edges run from to with even. The critical probability is the infimum of parameters with positive survival probability. The incoming-edge coupling of site and bond percolation compares this threshold with that of oriented site percolation.
Oriented site percolation 2026-10-14
Independently open vertices of a directed graph with common probability , and require every vertex of an infinite directed path to be open, including its root. Conditioning the root to be open changes the survival probability by a factor and does not change the critical probability. This model gives an independent comparison process in the independent oriented-percolation comparison for the contact process.
In a -dimensional normed vector space in John position, two orthogonal -dimensional subspaces admit . To see this, take -nets in two orthogonal half-dimensional unit spheres, each of size at most , and rotate them uniformly together. The volume ratio bound makes the probability that any net point has norm below at most . With this is less than . Since is -Lipschitz for the Euclidean metric, the successful nets give the stated inequality everywhere on both spheres. A dimension-independent constant therefore requires a bound on the volume ratio; it does not hold for arbitrary normed vector spaces.
For a finite family, the random variable counts the events that occur. Linearity of expectation gives , while is the exact union probability. Their difference is
An outcome in exactly events contributes extra counts, weighted by its probability. This nonnegative difference vanishes exactly in equality in Boole's inequality. For two events it is , as the inclusion-exclusion principle for probabilities shows. For more events, the Bonferroni inequalities use pairwise and higher intersection information to bound the exact union probability; blindly subtracting pairwise intersections from the sum gives a lower bound, rather than a corrected upper bound.
Severe overlap can make the union bound arbitrarily pessimistic. Let all events be the same event with probability , where is an integer. A concrete model is the discrete uniform distribution on with . The exact union probability is , whereas the sum and capped bound are both one. The ratio is : adding more names for the same event does not create more ways to fail. The identity above describes the gap in the uncapped sum; capping at one can reduce that gap.
Page fault rate 2026-10-14
For a specified interval of memory references, the number causing a page fault divided by the total number of memory references. In the nonresident-only toy model in memory thrashing, this equals the miss fraction used as probability in the expected value calculation. Startup and later intervals can have very different page fault rates.
Pairwise comparison model Created 2026-10-06 Updated 2026-10-07
A pairwise comparison model specifies the probability that one alternative beats another. Outcomes can be used to infer latent abilities through maximum likelihood estimation or another statistical method.
Let be independent fair bits, and let be their exclusive or: precisely when . The four possible triples are , each with probability . Each coordinate is a fair bit. Writing out all eight patterns gives
Every pair has all four cells with probability :
For , the four allowed triples project to ; for they project to . Each projection lists each pair exactly once, proving pairwise independence. But differs from the product , so the three are not independent random variables. Indeed, any two determine the third. A single coordinate reveals nothing about another, while two coordinates together reveal it completely.
Figure 1.
The XOR example hides joint dependence from every pairwise probability table
. The bars show all eight triple patterns against the reference for three independent fair bits. Below, all three pairwise joint probability mass functions have four equal cells of . Details.
The exclusive or example is the complementary-bit version of the two-toss exercise in Grinstead and Snell, Introduction to Probability, section 4.1, exercise 7, printed page 151. It is a compact reason to check the full product rule whenever a calculation uses three-way or higher events.
Pairwise independent events describe a subtle kind of uncertainty: learning that one event occurred leaves each other event's probability unchanged, yet learning that two occurred can reveal a third completely. Checking every pair therefore answers a weaker question than checking the whole collection. The parity construction of pairwise independent bits makes this distinction visible with just four equally likely outcomes.
A family of events is pairwise independent when
If , this is equivalent to the conditional probability identity . The product definition also handles events of probability zero. Independent events, meaning mutually independent events, require the same product rule for every finite subfamily, including triples. For three events, the three pair equations and the triple equation are four separate requirements. [ref].
For a worked example, take independent fair bits : the sample space is with probability per outcome. Set , , and , using exclusive or, which is one precisely when its inputs differ. The events , , and each contain two outcomes. Their pair intersections are
Thus each event has probability and each pair intersection has probability : these are pairwise independent events. But forces , so
The three are not independent events. This is the complementary-third-event version of the two-toss example in Tsitsiklis and Jaillet, MIT Introduction to Probability, Lecture 3, slides 7–8.
Figure 1.
Four outcomes give three pairwise independent bits with a joint parity constraint
. Each row has probability . Each pair's joint probability mass function contains all four value combinations with probability , although only four of the eight triple combinations can occur. Details.
Another useful diagnostic preserves a special common-intersection case. Suppose three events have common probability and every pair and triple intersect in the same event, of probability . Pairwise independence requires , while mutual independence additionally requires . Both hold only for or . For a concrete nontrivial instance, assign probability to each of four outcomes, let all three events contain the first outcome, and give each event one different additional outcome. Then and : the pair equations hold, while the triple equation fails. Unlike the exclusive or example above, this triple intersection is nonempty.
Take a directed graph with vertices and parallel bonds from to . This is a locally finite graph, although the incoming degrees are unbounded. For bond percolation, whenever : the failure probabilities are summable, so the infinite product is positive. For site percolation, survival requires every vertex of the ray to be open, which has probability zero for . Thus the survival and susceptibility thresholds for directed percolation satisfy and .
Pareto distribution Created 2026-10-07 Updated 2026-10-18
The Pareto distribution describes a positive random variable whose tail probability falls as a power law. In the shape–minimum convention used here, has shape parameter and minimum , with probability support . Its probability density function is
The minimum has the same units as ; the shape parameter is dimensionless. At fixed , changing gives a scale family, since . This convention is also used in uniform-Pareto conjugacy.[ref]
The survival function and cumulative distribution function are
For , solving gives the quantile function
Its right-hand limit at is ; it tends to infinity as .[ref] There is no probability mass at : changing a probability density function's value at that single point changes no probabilities.
Choose and as an original theoretical example. Then , , the median is , and the 0.99 quantile is . These chosen values and all figures below describe mathematical probability distributions, not actual wealth observations.
Figure 1.
Pareto survival curves: smaller alpha gives a slower power-law tail
. Details.
On this log-log plot, write to obtain . The slope is , whereas the probability density function has power exponent . Multiplying a threshold by ten divides its tail probability by . A larger therefore concentrates the Pareto distribution nearer ; a smaller makes extreme values more plausible. This exact scaling is useful when modelling large positive losses or sizes over several orders of magnitude.
The Pareto distribution is a heavy-tailed distribution: for every , the exponential moment diverges because eventually grows without bound. In contrast, the Laplace distribution has exponentially decreasing tails and some finite positive exponential moments. The Student's t-distribution also has power tails, but on both sides of the real line, with a smooth central region rather than a positive minimum.