Principal minor Created 2026-10-05 Updated 2026-10-14
A principal minor is the determinant of a square submatrix selected using the same index set for rows and columns. For a three-by-three matrix, the coefficient of in its monic characteristic polynomial is the sum of its three principal minors of order two.
Principal submatrix Created 2026-10-25 Updated 2026-10-31
The square matrix obtained by retaining the same index set of rows and columns of a square matrix . Its determinant is a principal minor. A leading principal submatrix uses the first indices.
Let and . They generate the dihedral group of a square, realized by . Its image in the projective linear group has four elements, since opposite matrices become equal. The projective classes of commute because , and each squares to the identity. Sending to gives the Klein four-group. This is an example in which a nontrivial scalar commutator disappears after passing to a projective representation.
A Lorentz transformation with determinant that preserves future-directed timelike four-vectors. Equivalently, it belongs to the identity component of the Lorentz group. For the Minkowski metric , its matrix satisfies and . Such transformations preserve the future light cone, so the retarded Green function of the d'Alembert operator transforms as a Lorentz scalar.
QR decomposition Created 2026-09-24 Updated 2026-10-14
A reduced QR decomposition of an matrix over the real numbers with full column rank, , writes , where is with orthonormal columns and is a upper triangular matrix with positive diagonal. Applying the Gram-Schmidt process to the columns of constructs and records the coefficients
This last column identity is exactly the matrix multiplication . The upper triangular matrix records that the th input uses only the first new directions, while its positive diagonal records the norms of the nonzero orthogonal projection residuals. Since , one also has ; denotes the transpose and the identity matrix. Over the complex numbers, use the conjugate transpose in these identities.
For the three-dimensional Gram-Schmidt process example, the exact matrices are
For example, the last column reconstructs as
The diagonal entries are approximately . Each is a norm of the new direction before it was scaled to length one.
For a linear least-squares problem, the orthogonal projection of onto the column space of is . Hence the minimizing coefficients solve the linear system by back substitution. Let consist of the first two columns of the example; its reduced factors are and the leading block of . For , the linear system is
Thus , agreeing with the orthogonal projection computed above, and the minimum Euclidean norm of is . The QR decomposition separates building an orthonormal basis from recovering coefficients in the original basis.[ref]
QR decomposition by Givens rotations Created 2026-09-24 Updated 2026-10-14
Successive Givens rotations eliminate entries below the diagonal of a matrix. For an matrix with , process columns ; within column , rotate rows for each whose entry needs elimination. Apply each Givens row-pair update to columns . Both rows are zero in earlier columns, so these operations preserve earlier eliminations. No assumption of full column rank is needed to perform the eliminations.
For a concrete example, take
First use , then :
The entry in position was already zero, so its elimination was skipped. The second Givens rotation combines the remaining pair in column two. This yields the full QR decomposition
The first two columns of and first two rows of give the reduced QR decomposition. Direct multiplication verifies both and . For these displayed factors evaluated in binary64 floating-point arithmetic, the Frobenius norms and are both below ; these measure reconstruction and loss of orthogonality separately.
Figure 1.
Two local Givens row-pair updates turn a matrix into the rectangular of a QR decomposition
. Details.
More generally, if the chronological rotations are , then
Each factor is an orthogonal matrix, so is too. For a rectangular matrix, has zeros below its diagonal; its leading block is an upper triangular matrix. With full column rank, retaining the first columns of gives orthonormal columns. To impose a positive diagonal when necessary, flip matching columns of and rows of , preserving their product.
For a linear least-squares problem, apply the same chronological Givens rotations to the right-hand side , obtaining , without explicitly constructing . Since the Euclidean norm is preserved, solve the leading upper triangular matrix system by back substitution when has full column rank; the remaining entries of give the minimum residual norm. In the example, gives , , and minimum residual Euclidean norm .
The locality is useful for a sparse matrix or an existing QR decomposition needing an extra row: only two rows change at each step, and the new row can be eliminated against the stored upper triangular matrix. For an factor, this extra-row procedure takes rotations and arithmetic operations. Locality does not guarantee preservation of sparsity: mixing rows can create nonzeros wherever either row had one. For a fully populated input, the straightforward elimination uses rotations, each touching columns, giving work. Storage layout, zero patterns and implementation affect speed; this count alone establishes no universal advantage over other QR decomposition algorithms.
The Euclidean norm preservation explains the appeal for numerical stability: exact rotations do not amplify a perturbation's length. Rounded coefficients and Givens row-pair updates still introduce roundoff error. Small reconstruction and orthogonality residuals check the computed factors, while the condition number of the original problem still controls how accurately a linear least-squares problem determines its solution.
A quadratic bosonic Hamiltonian contains terms of degree two in bosonic creation operators and bosonic annihilation operators, with an optional constant. The number-conserving matrix is Hermitian and the pair matrix may be taken symmetric. Positive stable forms can be diagonalized by a canonical Bogoliubov transformation; the strict stability condition matters at zero modes.
Quadratic form Created 2026-09-24 Updated 2026-10-14
A quadratic form on a vector space over a field is a function satisfying whose polar bilinear form of a quadratic form is a bilinear form. In finite dimension, it is represented in coordinates by a homogeneous degree-two polynomial, or by with a suitable matrix .
When the characteristic is not two, one may choose to be a symmetric matrix and recover it from . In characteristic two, the symmetric-matrix restriction would lose examples: has an upper-triangular representing matrix , while for a symmetric matrix has no cross term. Its polar form is , an alternating bilinear form. The distinction matters when studying quadratic forms over finite fields.[ref]
Proof. For a skew-symmetric matrix, the scalar equals its transpose , so it vanishes. Conversely, substituting standard basis vectors into the vanishing quadratic form gives . Substituting gives . Thus . In particular, a real quadratic form depends only on a matrix's symmetric part.
This box spline is the density of the image of the uniform unit four-cube under the indicated direction matrix. Its polynomial pieces have total degree . Removing three directions is necessary to leave a nonspanning set, giving continuity. Its knot arrangement is a criss-cross triangulation of a square lattice. Its refinement mask is , up to the monomial that fixes the origin.
Quadratic lower bound for a nonsymmetric matrix Created 2026-10-18 Updated 2026-10-25
Let be a real square matrix and suppose for every real vector , with . The Cauchy-Schwarz inequality gives , hence for all . In particular the kernel is zero, so is an invertible matrix. Applying the bound to gives the operator norm estimate in the Euclidean norm.
Symmetry of is unnecessary: for its symmetric part of a matrix . Thus the hypothesis is exactly a positive lower bound on that symmetric matrix, even when the antisymmetric part is nonzero.
Quadratic optimization 2026-10-06
Optimization of a quadratic form or quadratic-plus-linear objective over specified constraints. Convexity depends on the matrix and feasible domain; discrete restrictions lead to binary quadratic optimization.
Quantum state Created 2026-09-24 Updated 2026-10-20
A quantum state describes a preparation through its predicted measurement in quantum mechanics probabilities. In the Hilbert space formulation, a pure state is a quantum state ray: a normalized vector representative satisfies , and representatives differing by a global phase describe the same quantum state. [ref]
Both pure states and mixed states are represented by a density operator on the chosen complex Hilbert space:
Thus is Hermitian, positive semidefinite and of unit trace; in infinite dimension it must also be a trace-class operator. For a normalized pure state, is a rank-one orthogonal projection. A mixed state has no single such vector representative. Its density matrix is the matrix of in a chosen orthonormal basis. [ref] For a discrete POVM with effects and , the Born rule reads
These constraints and Born rule probabilities describe arbitrary finite-dimensional preparations. [ref]
Randomly choosing normalized pure states with probabilities and forgetting the label gives
This quantum state ensemble averages probabilities; a quantum superposition adds probability amplitudes. Several ensembles can give the same density operator. Quantum entanglement can make a reduced density matrix mixed while the joint quantum state is pure. [ref]
The preparation, the choice of basis, and the measurement are separate ingredients. A wavefunction is the position representation of a pure state; a general mixed state requires a density operator. For a closed quantum system, a unitary operator evolves it as , preserving its eigenvalues and purity of a density operator. [ref] The Bloch sphere and Bloch ball give the qubit geometry; quantum state tomography connects repeated preparations to an estimated density matrix; projective measurement treats the conditional state after an outcome.
Quasi-Newton method Created 2026-10-24 Updated 2026-10-31
A Quasi-Newton method replaces the Hessian matrix in Newton's method in optimization by a matrix learned from successive gradients. Solving gives a descent direction whenever is a positive-definite symmetric matrix and the gradient is nonzero. After choosing a step size, one updates to satisfy the Quasi-Newton secant equation, rather than calculating every second derivative again.
For and , the Quasi-Newton secant equation requires . It reproduces the observed change of gradient along the latest step. If is a positive-definite symmetric matrix and , necessarily . A line search satisfying the weak Wolfe conditions ensures this: with ,
This necessary curvature condition is also sufficient for the existence of some positive-definite symmetric matrix mapping to . In an orthonormal basis whose first vector is , its first column must be , with . The block matrix with first row and lower-right block has a positive Schur complement, so is positive-definite.
Over , put
These determinant-one matrices satisfy , , and . Conjugation by cycles . Thus is a quaternion group of order eight, normalized by an element of order three. Their generated subgroup has order in , hence order after quotienting by . Its index-five coset action, together with simplicity and perfectness, identifies with the alternating group .
Qubit state Created 2026-09-24 Updated 2026-10-25
A qubit state specifies measurement probabilities, rather than a pre-existing answer to every possible measurement. For a pure state, normalized vectors differing by a global phase represent the same physical state:
Equivalently, the pure state is a ray: the one-dimensional complex linear subspace spanned by any nonzero representative. Dividing a nonzero vector by its norm fixes its length, but leaves the global phase free. The density operator is unchanged because . In contrast, multiplying only one nonzero component by changes a relative quantum phase and can change measurement probabilities. [ref].
After choosing a global phase, every pure state of a qubit can be written
At or , the parameter does not distinguish physical states: only one component survives. Elsewhere it is the relative quantum phase. The corresponding unit Bloch vector is on the existing Bloch sphere. Its angles describe a space of states; for a photon polarization qubit they are not the photon's position or direction of travel. [ref].
The Born rule in the computational basis gives and . These probabilities discard . In the Hadamard basis , adding or subtracting the probability amplitudes instead gives
This last equality follows by substituting the angular representative. In the basis , the same calculation gives
Thus both the real and imaginary parts of quantum coherence can be observed, using different measurement settings. For example, and both give , but the first gives and the second . A global phase could never cause this difference.
Figure 1.
Identical computational-basis probabilities can hide different relative phases and coherence
. Exact model probabilities for , compared with the incoherent mixture . Each curve requires repeated preparations measured in the indicated basis; these are not experimental data. Details.
For a general qubit state, write its density matrix in the computational basis as
These are exactly the Hermitian, unit-trace, positive semidefinite constraints. Positivity means every eigenvalue is nonnegative, not that every matrix entry is nonnegative. The general definition is given in density matrix. [ref].
For this two-by-two matrix, the explicit constraint follows from its determinant, : with trace one, a nonnegative determinant and real eigenvalues rule out a negative eigenvalue. Its eigenvalues are
The pure states have and eigenvalues ; the mixed states have strict inequality and two positive eigenvalues. For a normalized representative, and . A statistical preparation , with and , averages probabilities, rather than adding probability amplitudes. Such a preparation is mixed if the positive-weight vectors do not all represent the same ray. A reduced density matrix of an entangled pair can also be mixed even when the pair has a pure state. [ref].
For a concrete check, the pure state and the mixed state obtained by preparing with probability and with probability have
Both have trace one and the same computational-basis measurement probabilities. Their eigenvalues are respectively and ; the respective values of their purity of a density operator are and . Their Hadamard basis plus probabilities are respectively and . By contrast, setting would give determinant and eigenvalue : normalized diagonal entries alone do not make a valid qubit state.
The same constraints become especially beautiful in the Bloch ball representation. With the Pauli matrices and the identity operator ,
The eigenvalues are , so the Bloch sphere is precisely the pure state boundary, and is the maximally mixed centre. For each axis , the Born rule gives . This unifies a geometric picture, matrix positivity, and experimental frequencies in one description. For the equatorial family in the phase diagram, and ; replacing it by erases the transverse components and every fringe. See quantum state tomography for how independent ensembles measured along the three axes estimate these components. [ref].
For with and physical spin matrices, . The positive-energy branch is parallel and the negative-energy branch antiparallel to momentum. Both are collinear; no preferred spin direction is defined at zero momentum.
Suppose the columns of a matrix over the rational numbers satisfy the columns condition with blocks . Choose rational coefficients such that
Choose a positive integer clearing all denominators and . For generators of any full positive M-p-c set, the coordinates
lie in that set and satisfy . Thus the monochromatic m-p-c set theorem supplies the sufficiency direction of Rado's theorem.
Randomized range finder 2026-10-25
Choose a random sampling matrix , form , and find an orthonormal basis for the sampled column space by a thin QR decomposition. The low-rank approximation keeps the component of in that space. Since , it reproduces the sampled action exactly. If has deficient matrix rank, one can use only a basis of its column space; alternatively an orthonormal completion must be specified.