Singular Value Decomposition
The singular value decomposition, or SVD, factors a finite-dimensional linear map into orthonormal input directions, nonnegative stretching factors, and orthonormal output directions.
Unlike eigenvalue diagonalization, SVD applies to every finite matrix, including rectangular matrices and matrices that are not diagonalizable. In quantum mechanics it appears in Schmidt decomposition, operator approximations, numerical conditioning, and the analysis of maps between finite Hilbert spaces.
Statement
Section titled “Statement”Let
be a linear map between finite-dimensional complex inner-product spaces. If the rank of is , then there are orthonormal vectors
and positive numbers
such that
The numbers are the nonzero singular values of . The vectors are right singular vectors, and the vectors are left singular vectors.
In matrix form, after choosing orthonormal bases,
Here and are unitary matrices, and is a rectangular diagonal matrix whose diagonal entries are the singular values, padded with zeros if necessary.
How the Pieces Are Found
Section titled “How the Pieces Are Found”The positive operator
is Hermitian and positive semidefinite. Its eigenvalues are nonnegative. If
then
is a unit vector in . The resulting vectors satisfy
Thus the SVD is closely related to the Spectral Decomposition of . The numerical lesson is more subtle: one should not usually compute an SVD by explicitly diagonalizing , because forming squares the condition number and can lose small singular directions.
Compact and Full Forms
Section titled “Compact and Full Forms”The sum
is the compact SVD. It keeps only the nonzero singular values.
The full matrix form extends to an orthonormal basis of and to an orthonormal basis of . The extra basis vectors account for the kernel and the zero singular values.
If is an matrix, then has size . Its nonzero diagonal entries are , where
Rank, Kernel, and Range
Section titled “Rank, Kernel, and Range”The rank of is the number of positive singular values:
The null space is spanned by right singular vectors with zero singular value. Equivalently,
The range of is spanned by the left singular vectors with positive singular value:
These statements are often the cleanest way to find the effective support of a linear map.
Geometric Meaning
Section titled “Geometric Meaning”For a real matrix acting between Euclidean spaces, the SVD says:
- rotate or reflect the input coordinates using ;
- stretch orthogonal axes by using ;
- rotate or reflect the result using .
Over complex Hilbert spaces, replace rotations and reflections by unitary changes of orthonormal basis. The singular values are still the principal stretching factors:
The largest singular value gives the operator norm:
for the standard Hilbert-space norm.
SVD Versus Diagonalization
Section titled “SVD Versus Diagonalization”Eigenvalue diagonalization concerns a square operator and asks whether there is a basis of eigenvectors:
SVD concerns a map and uses two orthonormal bases, one in the domain and one in the codomain:
Important differences:
- SVD exists for every finite matrix; diagonalization does not.
- SVD works for rectangular maps; ordinary diagonalization is a square-matrix notion.
- singular values are nonnegative real numbers; eigenvalues may be complex.
- right and left singular vectors may live in different spaces.
- for normal positive semidefinite matrices, singular values coincide with eigenvalues; in general they do not.
The ordinary diagonalization story is Diagonalization, and the finite-dimensional normal-operator case is Normal Operators.
Quantum Use
Section titled “Quantum Use”The most important quantum use is the Schmidt decomposition. A bipartite vector
has a coefficient matrix . Applying the SVD to gives the Schmidt coefficients and Schmidt bases. The physics-facing theorem is Schmidt Decomposition.
For the coefficient-matrix derivation itself, see Schmidt Decomposition as Linear Algebra.
SVD also appears when estimating numerical rank, truncating a state or operator to its dominant components, and diagnosing ill-conditioned calculations. If small singular values are physically meaningful, truncating them is an approximation that must be justified by the model, not merely by convenience.
Pseudoinverse
Section titled “Pseudoinverse”If
then the Moore-Penrose pseudoinverse is
It inverts on the supported singular directions and ignores the zero singular directions. This is useful in least-squares problems and in numerical linear algebra. In quantum calculations, the same warning applies as elsewhere: dividing by very small singular values can amplify noise and discretization error.
Quantum Linear Algebra owns the access-aware use of these objects in the quantum linear-systems problem—including the normalized solution-state, success, error, conditioning, and readout contract—while this page retains the SVD and Moore–Penrose pseudoinverse definitions and derivations.
Worked Example
Section titled “Worked Example”Let
Then
The eigenvalues of are and . A normalized eigenvector for eigenvalue is
The positive singular value is
The corresponding left singular vector is
Therefore the compact SVD is
In words, keeps only the input direction proportional to , stretches it by , and sends it to the first output basis vector.
Common Mistakes
Section titled “Common Mistakes”- Treating singular values as eigenvalues of rather than square roots of eigenvalues of .
- Forgetting that SVD uses two bases, one for the domain and one for the codomain.
- Assuming the left and right singular vectors are the same for a non-normal matrix.
- Computing singular values by forming in a sensitive numerical problem.
- Calling tiny nonzero singular values exactly zero without estimating numerical error.
- Treating an SVD truncation as exact physics without stating the approximation.
- Forgetting that degenerate singular values leave freedom to rotate the corresponding singular subspaces.
Cross-Links
Section titled “Cross-Links”- Matrices as Linear Maps
- Orthonormal Bases
- Spectral Decomposition
- Diagonalization
- Normal Operators
- Tensor Products
- Schmidt Decomposition as Linear Algebra
- Matrix Diagonalization
- Schmidt Decomposition
References
Section titled “References”- G. H. Golub and C. F. Van Loan, Matrix Computations, 4th ed., Johns Hopkins University Press, 2013.
- R. A. Horn and C. R. Johnson, Matrix Analysis, 2nd ed., Cambridge University Press, 2012.
- L. N. Trefethen and D. Bau, Numerical Linear Algebra, SIAM, 1997.
- G. Strang, Linear Algebra and Its Applications, 4th ed., Brooks/Cole, 2006.
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2010.
Exercises
Section titled “Exercises”- Find the singular values of
Solution
Here
The singular values are the square roots of the eigenvalues:
- Show that the rank of a matrix equals the number of positive singular values.
Solution
In the compact SVD,
with all . The range is spanned by , so its dimension is . Therefore , the number of positive singular values.
- Let
Find a normalized vector in .
Solution
The equation gives . A normalized vector in the kernel is
It is the right singular vector associated with the zero singular value.
- Why is SVD more appropriate than eigenvalue diagonalization for a rectangular coefficient matrix in a bipartite state?
Solution
A rectangular matrix does not define an operator from one space to itself, so ordinary eigenvalue diagonalization is not the right tool. SVD applies to maps between different finite-dimensional inner-product spaces and supplies orthonormal bases on both sides. That is exactly the structure needed for the Schmidt decomposition of a bipartite state.