A unitary matrix is a square matrix with complex entries that preserves the standard inner product under matrix multiplication. Equivalently, its conjugate transpose equals its inverse. Unitary matrices are the complex counterparts of real orthogonal matrices and represent reversible, length-preserving linear transformations. They are fundamental in linear algebra, numerical computation, and quantum information. (quantum.cloud.ibm.com)
Definition and equivalent conditions
For an complex matrix , unitarity means
where is the identity matrix and is the conjugate transpose:
This operation combines transposition with complex conjugation. Other common notations are and . For square matrices, either of the two identities implies the other, and both say that the inverse matrix is . (quantum.cloud.ibm.com)
Using the standard inner product , the defining condition gives
Consequently, preserves the Euclidean norm of every vector. Conversely, preservation of this norm for every vector implies unitarity. The condition concerns all vectors, not merely the individual coordinate vectors. (quantum.cloud.ibm.com)
Writing the columns as , the entries of are . Thus, the columns form an orthonormal basis of ; the rows likewise form an orthonormal system. This identifies unitary matrices with changes between orthonormal coordinate systems. (ocw.mit.edu)
Geometric meaning and examples
As a linear map on a complex vector space, a unitary matrix is a bijective isometry. It preserves lengths, distances, and orthogonality without requiring the coordinates themselves to remain unchanged. In particular,
This follows directly by applying norm preservation to . (quantum.cloud.ibm.com)
If all entries are real, conjugate transposition reduces to ordinary transposition. The unitary condition then becomes , precisely the definition of an orthogonal matrix. Plane rotations and reflections therefore provide real examples of unitary matrices. (netlib.org)
Simple complex examples are diagonal phase matrices:
Direct multiplication gives , because each diagonal entry has modulus one. A familiar two-dimensional example is the Hadamard matrix
which satisfies . Unlike a diagonal phase matrix, it mixes the input coordinates. (quantum.cloud.ibm.com)
Algebraic and spectral properties
Products and inverses of unitary matrices are unitary. For example,
The identity is also unitary, so these matrices form a group under multiplication, called the unitary group . Its determinant-one subgroup is denoted . (math.mit.edu)
Taking determinants in gives
so . This is a necessary condition, not a sufficient one: a diagonal matrix with entries and has determinant one but does not preserve lengths. These conclusions follow directly from the defining identity. (quantum.cloud.ibm.com)
Every unitary matrix is a normal matrix, since . The spectral theorem therefore supplies a unitary diagonalization
Its eigenvalues all have modulus one: if and , norm preservation yields . Hence each eigenvalue can be written , and the action of in an orthonormal eigenbasis consists of independent phase multiplications. (ocw.mit.edu)
Numerical computation
Unitary transformations are important in numerical linear algebra because they do not amplify existing errors measured in the Euclidean norm. This supports numerical stability, although executing the transformations in floating-point arithmetic can still introduce rounding errors. (netlib.org)
In a full QR decomposition of a complex matrix, the factor is square and unitary, while the other factor is triangular or trapezoidal. In the singular value decomposition,
both and are unitary and contains nonnegative singular values. For a unitary matrix, all singular values equal one; consequently, its spectral-norm condition number is one. (netlib.org)
Quantum information and rectangular matrices
In finite-dimensional quantum mechanics, reversible evolution of an isolated system is represented by unitary matrices. Normalized state vectors remain normalized, while their amplitudes and measurement probabilities may change. A quantum gate acting on qubits is represented by a unitary matrix. Measurement and general noisy processes are not, in general, described by a unitary matrix acting on the system alone. (quantum.cloud.ibm.com)
The square-matrix requirement distinguishes unitarity from a rectangular isometry. If an matrix , with , satisfies , it preserves input norms but cannot satisfy . Instead, is the orthogonal projection onto its column space. Such matrices occur as the reduced factor in QR decompositions; they are not unitary in the strict square-matrix sense. (quantum.cloud.ibm.com)