Stochastic matrix 2026-10-14
A row-stochastic matrix has nonnegative entries and each row sums to one. For a time-homogeneous Discrete-time Markov chain, its transition matrix has entriesIf a state has zero probability at time , this row is specified by the model's Markov kernel, rather than recovered by conditioning on that zero-probability event. Rows index departure states and columns arrival states. Writing the current probability distribution as a row vector givesThe row-sum condition ensures that matrix multiplication preserves total probability. Under a column convention the evolution uses the transpose; the convention must accompany the formula.
For the sunny/rainy transition matrix, direct matrix multiplication givesIn particular, . The two terms sum the disjoint paths and . Requiring both subsequent days to be sunny has probability ; requiring only the second day to be sunny permits the extra path through rain.
Generally is the -step transition probability. The identity is the discrete-time Chapman-Kolmogorov equation: sum over the intermediate state. This makes matrix powers useful for forecasting many steps without enumerating every path individually.
Strassen's algorithm Created 2026-10-25 Updated 2026-10-31
The matrix multiplication algorithm of Volker Strassen using seven half-size block products and quadratically many scalar additions per recursion level. Its recurrence is , giving arithmetic operations by the Master theorem.[ref]
https://staging.sigact.hosting.acm.org/prizes/knuth/2008.html. ACM SIGACT, 2008 Knuth Prize citation, the 1969 matrix-multiplication contribution
In the Heisenberg picture, an observable without explicit time dependence hasHere is the reduced Planck constant. An emitted photon on a transition with has positive angular frequency . The sign of the array's quantum phase follows its index convention; it is not a negative measured photon frequency. The frequencies involve differences of energy levels, rather than the absolute values . Adding a constant to leaves these frequencies unchanged.
Insert the complete orthonormal basis between two linear operators:The sum runs over intermediate states. The second identity follows by cancellation of ; it makes every term in the product acquire the same time factor . This is a useful reason for matrix multiplication: it composes the two indexed arrays consistently with the addition of transition frequencies. It does not multiply matching entries independently. Swapping and generally changes the intermediate-state sum and hence the result.
Triangular solves for LU decomposition 2026-10-14
Given Pivoted LU decomposition , the linear system is equivalent to . Introduce the intermediate vector : first use forward substitution to solve , then back substitution to solve . With unpivoted LU decomposition, is the identity matrix, so the first right-hand side is simply .[ref]
For the factors in Computed three-by-three LU decomposition and , forward substitution givesThen back substitution givesDirect matrix multiplication verifies . More generally, the back substitution recurrence isThe direction matters: the last row contains only , whereas the first row generally involves every unknown. No dense matrix inverse is needed for either triangular solve.
Two-level sudden quench 2026-10-14
Take an isolated two-level system, or a spin one-half qubit, with Pauli matrices . Let and . The initial and final Hamiltonian operators areThe energy gaps are . Prepare the initial ground state , with energy eigenvalue . A final orthonormal eigenbasis isDirect matrix multiplication gives and . The unchanged initial quantum state is . Its new probability amplitudes are the inner products ; the Born rule gives . The angle between the real amplitude vectors is , whereas the Hamiltonian axis on the Bloch sphere rotates through .
At , and , so the final energy measurement gives with probability and with probability . At the initial ground state remains the final ground state; at it is the final excited energy eigenstate. These statements are about the new energy labels, not an instantaneous physical rotation of the quantum state.
