Householder transformation
Template:Short description In linear algebra, a Householder transformation (also known as a Householder reflection or elementary reflector) is a linear transformation that describes a reflection about a plane or hyperplane containing the origin. The Householder transformation was used in a 1958 paper by Alston Scott Householder[1] as a way to speed up the stable solution of linear systems.
Definition
Operator and transformation
The Householder operator[2] may be defined over any finite-dimensional inner product space <math> V</math> with inner product <math> \langle \cdot, \cdot \rangle </math> and unit vector <math> u\in V</math> as
- <math> H_u(x) := x - 2\,\langle x,u \rangle\,u\,.</math>[3]
As defined here, the inner product <math>\langle\,\cdot\text{,}\,\cdot\rangle</math> is linear in its first argument, and antilinear in its second argument, so that if a and b are scalars, then <math>\langle\,a\,x\text{,}\,b\,y \rangle \,=\,a\,\overline b\,\langle x\text{,}\,y\rangle</math>. Here <math>\overline b</math> is the complex conjugate of <math>b</math>.
It is also common to choose a non-unit vector <math>q \in V</math>, and normalize it directly in the Householder operator's expression:[4]
- <math>H_q \left ( x \right ) = x - 2\, \frac{\langle x, q \rangle}{\langle q, q \rangle}\, q \,.</math>
Such an operator is linear and self-adjoint.
If <math>V=\mathbb{C}^n</math>, note that the reflection hyperplane can be defined by its normal vector, a unit vector <math display="inline">\vec v\in V</math> (a vector with length <math display="inline">1</math>) that is orthogonal to the hyperplane. The reflection of a point <math display="inline">x</math> about this hyperplane is the Householder transformation:
- <math>\vec x - 2\langle \vec x, \vec v\rangle \vec v = \vec x - 2\vec v\left(\vec v^* \vec x\right), </math>
where <math>\vec x</math> is the vector from the origin to the point <math>x</math>, and <math display="inline">\vec v^*</math> is the conjugate transpose of <math display="inline">\vec v</math>.
Householder matrix
The matrix constructed from this transformation can be expressed in terms of an outer product as:
- <math>P = I - 2\vec v\vec v^*</math>
is known as the Householder matrix, where <math display="inline">I</math> is the identity matrix.
Properties
The Householder matrix has the following properties:
- it is Hermitian: <math display="inline">P = P^*</math>,
- it is unitary: <math display="inline">P^{-1} = P^*</math> (via the Sherman-Morrison formula),
- hence it is involutory: <math display="inline">P = P^{-1}</math>.
- A Householder matrix has eigenvalues <math display="inline">\pm 1</math>. To see this, notice that if <math display="inline">\vec x</math> is orthogonal to the vector <math display="inline">\vec v</math> which was used to create the reflector, then <math display="inline">P_v\vec x = (I-2\vec v\vec v^*)\vec x = \vec x-2\langle\vec v,\vec x\rangle\vec v = \vec x</math>, i.e., <math display="inline">1</math> is an eigenvalue of multiplicity <math display="inline">n - 1</math>, since there are <math display="inline">n - 1</math> independent vectors orthogonal to <math display="inline">\vec v</math>. Also, notice <math display="inline">P_v\vec v = (I-2\vec v\vec v^*)\vec v = \vec v - 2\langle\vec v,\vec v\rangle\vec v = -\vec v</math> (since <math>\vec v</math> is by definition a unit vector), and so <math display="inline">-1</math> is an eigenvalue with multiplicity <math display="inline">1</math>.
- The determinant of a Householder reflector is <math display="inline">-1</math>, since the determinant of a matrix is the product of its eigenvalues, in this case one of which is <math display="inline">-1</math> with the remainder being <math display="inline">1</math> (as in the previous point), or via the Matrix determinant lemma.
Example
Consider the normalization of a vector <math>\vec v</math> containing <math>1</math> in each entry,
- <math>\vec v=\frac{1}{\sqrt{2}}\begin{bmatrix} 1\\1 \end{bmatrix}.</math>
Then the Householder matrix corresponding to the vector <math>v</math> is
- <math>P_v=\begin{bmatrix}1&0\\0&1\end{bmatrix}-2\left(\frac{1}{\sqrt{2}}\begin{bmatrix} 1\\1 \end{bmatrix}\right)\left(\frac{1}{\sqrt{2}}\begin{bmatrix} 1&1 \end{bmatrix}\right)</math>
- <math>\quad=\begin{bmatrix}1&0\\0&1\end{bmatrix}-\begin{bmatrix} 1\\1 \end{bmatrix}\begin{bmatrix} 1&1 \end{bmatrix}</math>
- <math>\quad=\begin{bmatrix}1&0\\0&1\end{bmatrix}-\begin{bmatrix}1&1\\1&1\end{bmatrix}</math>
- <math>\quad=\begin{bmatrix}0&-1\\-1&0\end{bmatrix}.</math>
Note that if we have another vector <math>\vec q</math> representing a coordinate in the 2D plane
- <math>\vec q = \begin{bmatrix}x\\y\end{bmatrix},</math>
then in this case <math>P_v</math> flips and negates the <math>x</math> and <math>y</math> coordinates, in other words we have
- <math>P_v\begin{bmatrix}x\\y\end{bmatrix}=\begin{bmatrix}-y\\-x\end{bmatrix},</math>
which corresponds to reflecting the vector across the line <math>y=-x</math>, which our original vector <math>\vec v</math> is normal to.
Applications
Geometric optics
In geometric optics, specular reflection can be expressed in terms of the Householder matrix (see Template:Section link).
Numerical linear algebra
Note that representing a Householder matrix requires only the entries of a single vector, not of an entire matrix (which in most algorithms is never explicitly formed), thereby minimizing the required storage and memory references needed to use them.
Further, multiplying a Householder matrix by a vector does not involve a full matrix-vector multiplication, but rather only one vector dot product, and then one axpy operation. This means its arithmetic complexity is of the same order of two low-level BLAS-1 operations. Therefore, Householder matrices are extremely arithmetically efficient.[5]
Finally, using <math>\hat{\cdot}</math> to denote the computed value and <math>\cdot</math> to denote the mathematically exact value, then for a given Householder matrix <math>P</math>,
<math>\widehat{P b}=(P+\Delta P)b</math>
Where <math>\vert\vert\Delta P\vert\vert_F\leq\tilde{\gamma_n}:=\frac{cnu}{1-cnu}</math> (where <math>u</math> is unit roundoff, <math>n</math> the size of the matrix <math>P</math>, and <math>c</math> some small constant). In other words, multiplications by Householder matrices are also extremely backwards stable.[6]
Since Householder transformations minimize storage, memory references, arithmetic complexity, and optimize numerical stability, they are widely used in numerical linear algebra, for example, to annihilate the entries below the main diagonal of a matrix,[7] to perform QR decompositions and in the first step of the QR algorithm. They are also widely used for transforming to a Hessenberg form. For symmetric or Hermitian matrices, the symmetry can be preserved, resulting in tridiagonalization.[8][9]
QR decomposition
{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}
Householder transformations can be used to calculate a QR decomposition. Consider a square matrix upper triangularized up to column <math>i-1</math>, then our goal is to construct such Householder matrices that act upon the principal submatrices of that matrix, which has the form
<math> A^{(i)}=\begin{bmatrix} a_{11} & a_{12} & \cdots & & & a_{1n} \\ 0 & a_{22} & \cdots & & & a_{2n} \\ \vdots & & \ddots & & & \vdots \\ 0 & \cdots & 0 & x_{1}=a_{ii} & \cdots & a_{in} \\ 0 & \cdots & 0 & \vdots & & \vdots \\ 0 & \cdots & 0 & x_{n+1-i}=a_{ni} & \cdots & a_{nn} \end{bmatrix} </math>
The matrix <math>A^{(i)}</math> has the block form
<math> A^{(i)}=\begin{bmatrix} T^{U}_{i-1}&*\\ 0&P_v \end{bmatrix} </math>.
Note that <math>A^{(n)}</math> is the matrix <math>R</math> in the <math>Q\,R</math> decomposition. Here the submatrix <math>T^{U}_{i-1}</math> is an i-1 x i-1 square upper triangular matrix, 0 represents the n-i+1 x n-i+1 zero matrix, * represents an n-i+1 x n-i+1 matrix, and <math>P_v</math> represents an n-i+1 x n-i+1 matrix which is going to be made upper triangular by working in its subspace without changing the block matrix form given above for <math>A^{(i)}</math>.
If <math>x_1=a_{ii}</math> is zero and there is a non-zero element <math>a_{ji}</math> with j>i, then the i-th and j-th rows may be interchanged by pre-multiplying by the row interchange matrix, which is unitary. If <math>a_{ji}=0</math> for all j>=i, then proceed to the next column.
If <math>x_1=a_{ii}</math> is non-real complex given by <math>x_1=r_1e^{i\phi_1}</math> for real <math>r_1\text {,}\,\phi_1</math>, then this matrix may be pre-multiplied by the diagonal unitary matrix U with <math>U_{ii}=e^{-i\phi_1}</math> and with 1 for the other diagonal elements so as to make the new <math>x_1</math> non-zero real while preserving the block form. This ensures that <math>\langle \mathbf x,\vec{e}_1 \rangle\,=\,\langle\vec{e}_1,\mathbf x\rangle\,=\,x_1</math>. Here <math>\vec{e}_1</math> is an n-dimensional vector with 1 in the i-th position and 0's elsewhere. (Note that we previously established that Householder transformations are unitary matrices, and since the multiplication of unitary matrices is itself a unitary matrix, this gives us the unitary matrix of the QR decomposition).
Let <math>\mathbf e_1 \text{,} \, \mathbf e_2 \text{,} \, \text{...} \text{,} \, \mathbf e_n</math> be the basis vectors for the n-dimensional matrices <math>A^{(i)}</math> and let <math>\vec{e}_1\text{,}\,\vec{e}_2\text{,}\,\text{...}\text{,}\, \vec{e}_{n-i+1}</math> be the basis vectors <math>\mathbf e_i\text{,}\,\mathbf e_{i+1}\text{,}\,\text{...}\text{,} \,\mathbf e_{n}</math>, respectively.
If we can find a <math>\vec v</math> so that <math display="block">
P_v \vec{x} = \alpha\vec{e}_1
</math> we can extend the upper triangulization by one column. The vector <math>\mathbf v</math> is to be in the subspace spanned by the vectors <math>\{\mathbf e_i\text{,}\,\mathbf e_{i+1} \text{,}\,\text{...} \text{,} \,\mathbf e_n\}</math> that the vector <math>\mathbf x</math> is in. With <math>x_1</math> real, it will be seen that <math>\alpha</math> is real too. Thinking geometrically, we are looking for a plane so that the reflection about this plane happens to land directly on the basis vector. In other words, Template:NumBlk for some constant <math>\alpha</math>. However, for this to happen, we must have <math display="block">
\vec v\propto\vec x-\alpha\vec e_1 \text{.}
</math> And since <math>\vec v</math> is a unit vector, this means that we must have Template:NumBlk
We will find that there are two possible values for <math>\alpha</math>. That value that makes <math> \| \vec x - \alpha \vec e_1 \|_2 </math> the largest is the one that should be used for greatest accuracy.
Now if we apply equation (Template:EquationNote) back into equation (Template:EquationNote), we get <math display="block">
\vec x-\alpha\vec e_1 =
2 \left\langle \vec{x}, \frac{ \vec{x}-\alpha\vec{e}_1 }{ \|\vec{x}-\alpha\vec{e}_1\|_2 } \right\rangle
\frac{ \vec{x}-\alpha\vec{e}_1 }{ \|\vec x-\alpha\vec e_1\|_2 }
</math> Or, in other words, by comparing the scalars in front of the vector <math>\vec x - \alpha\vec e_1</math> we must have <math display="block">
\|\vec x-\alpha\vec e_1\|_2^2 = 2\langle\vec x,\vec x-\alpha e_1\rangle \text{.}
</math> If <math>x_1</math> is real then alpha is also real and is obtained from the equation <math display="block">
\|\vec x\|_2^2-2\alpha x_1+\alpha^2 = 2(\| \vec x\|_2^2-\alpha x_1)
</math> which means <math display="block">
\alpha = \pm\|\vec x\|_2
</math> If <math>x_1</math> is not real, then <math>\alpha</math> is also not real and is obtained from the equation <math display="block">\|\vec x\|_2^2 - \alpha\,x_1^* -\alpha^*\,x_1+ |\alpha|^2 \,= \,2(\|\vec x\|_2^2-\alpha^* \,x_1)</math> Or, equivalently, <math display="block">|\alpha|^2\,=\, \|\vec x\|_2^2+(\alpha\,x_1^*-\alpha^*\,x_1)</math> The term in parentheses is pure imaginary, This equation requires that <math disolay="block">|\alpha|=\|\vec x\|_2</math> and that <math>\arg(\alpha)\,=\,\arg(x_1) </math> within a multiple of <math>\pi</math>.
This completes the construction; however, in practice we want to avoid catastrophic cancellation in equation (Template:EquationNote). To do so for real <math>x_1</math>, we choose[5] the sign of <math>\alpha</math> as <math display="block">
\alpha=-\sgn(\mathrm{Re}(x_1))\|\vec x\|_2
</math> and for complex <math>x_1</math> we choose the sign for <math>\alpha</math> as <math>\alpha=-e^{i\,\arg(x_1)}\,\|x\|_2</math>, where <math>i</math> is the square root of <math>-1</math>. This agrees with the equation just given for <math>\alpha</math> when <math>x_1</math> is real. These choices of sign make <math>\| \vec x-\alpha \vec e_1 \|_2</math> the largest. When <math>|x_1| \ll \| x\|_2</math>, it makes little difference which sign is chosen.
Householder transformations can similarly be applied to a non-square complex matrix. The decompositions are somewhat different.
Tridiagonalization (Hessenberg)
{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}
Real symmetric matrix
This procedure is presented in Numerical Analysis by Burden and Faires for real symmetric matrices. In the non-symmetric case, it is still useful as a similar procedure can result in a Hessenberg matrix.
It uses a slightly altered <math>\operatorname{sgn}</math> function with <math>\operatorname{sgn}(0) = 1</math>.[10] In the first step, to form the Householder matrix in each step we need to determine <math display="inline">\alpha</math> and <math display="inline">r</math>, which are:
- <math>\begin{align}
\alpha &= -\operatorname{sgn}\left(a_{21}\right)\sqrt{\sum_{j=2}^n a_{j1}^2}; \\
r &= \sqrt{\frac{1}{2}\left(\alpha^2 - a_{21}\alpha\right)};
\end{align}</math>
From <math display="inline">\alpha</math> and <math display="inline">r</math>, construct vector <math display="inline">v</math>:
- <math>\vec v^{(1)} = \begin{bmatrix} v_1 \\ v_2 \\ \vdots \\ v_n \end{bmatrix},</math>
where <math display="inline">v_1 = 0</math>, <math display="inline">v_2 = \frac{a_{21} - \alpha}{2r}</math>, and
- <math>v_k = \frac{a_{k1}}{2r}</math> for each <math>k = 3, 4 \ldots n</math>
Then compute:
- <math>\begin{align}
P^1 &= I - 2\vec v^{(1)} \left(\vec v^{(1)}\right)^\textsf{T} \\
A^{(2)} &= P^1 AP^1
\end{align}</math>
Since <math>P^1</math> is its own inverse (involutory), this is a similarity transformation. Having found <math display="inline">P^1</math> and computed <math display="inline">A^{(2)}</math> the process is repeated for <math display="inline">k = 2, 3, \ldots, n - 2</math> as follows:
- <math>\begin{align}
\alpha &= -\operatorname{sgn}\left(a^k_{k+1,k}\right)\sqrt{\sum_{j=k+1}^n \left(a^k_{jk}\right)^2} \\[2pt]
r &= \sqrt{\frac{1}{2}\left(\alpha^2 - a^k_{k+1,k}\alpha\right)} \\[2pt]
v^k_1 &= v^k_2 = \cdots = v^k_k = 0 \\[2pt]
v^k_{k+1} &= \frac{a^k_{k+1,k} - \alpha}{2r} \\
v^k_j &= \frac{a^k_{jk}}{2r} \text{ for } j = k + 2,\ k + 3,\ \ldots,\ n \\
P^k &= I - 2\vec v^{(k)} \left(\vec v^{(k)}\right)^\textsf{T} \\
A^{(k+1)} &= P^k A^{(k)}P^k
\end{align}</math>
Continuing in this manner, the tridiagonal and real symmetric matrix is formed. Since each Householder reflection is a similarity transformation, so is the overall transformation.
Hermitian matrix
Householder transformations can also transform a Hermitian matrix <math>A</math> into a Hermitian tri-diagonal matrix. We follow the approach in the University of Connecticut paper[11] except replace matrix transposes by matrix Hermitian conjugates for tri-diagonalization of complex Hermitian matrices rather than real symmetric matrices.
To start, let
<math "display="block">A=\left (\begin{array}{c|c} a_{11} & \vec a_1^* \\ \hline \vec a_1 & A_1\end{array} \right )</math>
be an <math>n \times n</math> Hermitian matrix. Here <math>a_{11}</math> is a Hermitean <math>1\times 1</math> sub-matrix so is a real number, <math>\vec a_1</math> is an <math>(n-1) \times 1</math> column vector, <math>\vec a_1^*</math> is its Hermitian conjugate, which is a <math>1 \times (n-1)</math> row vector, and <math>A_1</math> is an <math>(n-1) \times (n-1) </math> Hermitian sub-matrix. Let the Householder transformation matrix <math>P_1</math>have the form
<math "display="block">P_1=\left (\begin{array}{c|c} 1 & \vec0^* \\ \hline \vec 0 & H_1\end{array} \right )</math>
where <math>\vec 0</math> is an <math>1 \times (n-1)</math> column vector of zeros, <math>\vec 0^*</math> is its Hermitian conjugate and so is an <math>(n-1) \times 1</math> row vector of zeros, and where <math display="block">H_1=I\,-\, 2 \, \vec v \, \vec v^*</math> and <math>I</math> is the <math>(n-1)\times (n-1)</math> identity matrix. As before, <math>\vec v^*</math> is the matrix transpose of the complex conjugate or Hermitian conjugate of the column vector <math>\vec v</math>. Also, as before, the Householder transformation <math>H_1</math> is a unitary hermitian involutory matrix. Then
<math "display="block">P_1\,A\,P_1^*=\,\left (\begin{array}{c|c} a_{11} & (H_1\,a_1)^* \\ \hline H_1\,a_1 & H_1\,A_1\,H_1^*\end{array} \right )</math>
Since <math>H_1</math> and therefore <math>P_1</math> is hermitian and involutory <math display="block">\begin{align}H_1&=H_1^*=H_1^{-1} \\ P_1&=P_1^*=P_1^{-1}\end{align}</math> and so this is a unitary similarity matrix transformation.
If we have <math display="block">H_1 \vec a_1 \, = \, \alpha_1 \, \vec e_1</math>
then <math display="block">P_1\,A\,P_1^*\,=\,\left ( \begin{array}{c|c|c}a_{11} & \alpha_1^* & \vec 0^* \\ \hline \alpha_1 & a_{22}^{(1)} & \vec a_2^* \\ \hline \vec 0 & \vec a_2 & A_2\end{array} \right )</math> where the <math>(n-2)\times (n-2)</math> matrix <math>A_2</math> is Hermitian since a unitary similarity transformation of a Hermitian matrix is again Hermitian. Now <math>\vec 0</math> is an <math>(n-2)\times 1</math> column vector of zeros and <math>\vec 0^*</math> is its Hermitian conjugate and is a <math>1 \times (n-1)</math> row vector of zeros. And <math>\vec a_2</math> is a <math>(n-2) \times 1</math> column vector and <math>\vec a_2^*</math> is its Hermitian conjugate and is a <math>1 \times (n-2)</math> row vector. We already know how to find the Householder transformation matrices <math>H_i</math>.
Repeat this process for a total of <math>n-2</math> times for <math>n>2</math> to obtain the tri-diagonalization by a succession of unitary Hermitian involutory similarity transformations. For instance, the following example for a <math>4\times 4</math> real symmetric matrix requires two Householder transformation steps to be transformed into a tri-diagonal real symmetric matrix, a <math>3 \times 3</math> real symmetric or Hermitian matrix requires only one step, and a <math>1\times 1</math> real matrix or a <math>2\times 2</math> real symmetric or Hermitian matrix is already so tri-diagonalized.
Since the product of unitary matrices is again a unitary matrix and since the similarity transformation of a similarity transformation is again a similarity transformation, the overall transformation is a unitary similarity transformation.
Examples
In this example, also from Burden and Faires,[10] the given matrix is transformed to the similar tridiagonal matrix A3 by using the Householder method.
- <math>\mathbf{A} = \begin{bmatrix}
4 & 1 & -2 & 2 \\ 1 & 2 & 0 & 1 \\ -2 & 0 & 3 & -2 \\ 2 & 1 & -2 & -1
\end{bmatrix},</math>
Following those steps in the Householder method, we have:
The first Householder matrix:
- <math>\begin{align}
Q_1 &= \begin{bmatrix}
1 & 0 & 0 & 0 \\
0 & -\frac{1}{3} & \frac{2}{3} & -\frac{2}{3} \\
0 & \frac{2}{3} & \frac{2}{3} & \frac{1}{3} \\
0 & -\frac{2}{3} & \frac{1}{3} & \frac{2}{3}
\end{bmatrix}, \\
A_2 = Q_1 A Q_1 &= \begin{bmatrix}
4 & -3 & 0 & 0 \\
-3 & \frac{10}{3} & 1 & \frac{4}{3} \\
0 & 1 & \frac{5}{3} & -\frac{4}{3} \\
0 & \frac{4}{3} & -\frac{4}{3} & -1
\end{bmatrix},
\end{align}</math>
Used <math display="inline">A_2</math> to form
- <math>\begin{align}
Q_2 &= \begin{bmatrix}
1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & -\frac{3}{5} & -\frac{4}{5} \\
0 & 0 & -\frac{4}{5} & \frac{3}{5}
\end{bmatrix}, \\
A_3 = Q_2 A_2 Q_2 &= \begin{bmatrix}
4 & -3 & 0 & 0 \\
-3 & \frac{10}{3} & -\frac{5}{3} & 0 \\
0 & -\frac{5}{3} & -\frac{33}{25} & \frac{68}{75} \\
0 & 0 & \frac{68}{75} & \frac{149}{75}
\end{bmatrix},
\end{align}</math>
As we can see, the final result is a tridiagonal symmetric matrix which is similar to the original one. The process is finished after two steps.
Quantum computation
{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}
As unitary matrices are useful in quantum computation, and Householder transformations are unitary, they are very useful in quantum computing. One of the central algorithms where they're useful is Grover's algorithm, where we are trying to solve for a representation of an oracle function represented by what turns out to be a Householder transformation:
<math>\begin{cases}
U_\omega |x\rang = -|x\rang & \text{for } x = \omega \text{, that is, } f(x) = 1, \\
U_\omega |x\rang = |x\rang & \text{for } x \ne \omega \text{, that is, } f(x) = 0.
\end{cases}</math>
(here the <math>|x\rangle</math> is part of the bra-ket notation and is analogous to <math>\vec x</math> which we were using previously)
This is done via an algorithm that iterates via the oracle function <math>U_\omega</math> and another operator <math>U_s</math> known as the Grover diffusion operator defined by
<math>|s\rangle = \frac{1}{\sqrt{N}} \sum_{x=0}^{N-1} |x\rangle. </math> and <math>U_s = 2 \left|s\right\rangle\!\! \left\langle s\right| - I</math>.
Computational and theoretical relationship to other unitary transformations
Template:See also The Householder transformation is a reflection about a hyperplane with unit normal vector <math display="inline">v</math>, as stated earlier. An <math display="inline">N</math>-by-<math display="inline">N</math> unitary transformation <math display="inline">U</math> satisfies <math display="inline">UU^* = I</math>. Taking the determinant (<math display="inline">N</math>-th power of the geometric mean) and trace (proportional to arithmetic mean) of a unitary matrix reveals that its eigenvalues <math display="inline">\lambda_i</math> have unit modulus. This can be seen directly and swiftly:
- <math>\begin{align}
\frac{\operatorname{Trace}\left(UU^*\right)}{N} &=
\frac{\sum_{j=1}^N\left|\lambda_j\right|^2}{N} = 1, &
\operatorname{det}\left(UU^*\right) &=
\prod_{j=1}^N \left|\lambda_j\right|^2 = 1.
\end{align}</math>
Since arithmetic and geometric means are equal if the variables are constant (see inequality of arithmetic and geometric means), we establish the claim of unit modulus.
For the case of real valued unitary matrices we obtain orthogonal matrices, <math display="inline">UU^\textsf{T} = I</math>. It follows rather readily (see Orthogonal matrix) that any orthogonal matrix can be decomposed into a product of 2-by-2 rotations, called Givens rotations, and Householder reflections. This is appealing intuitively since multiplication of a vector by an orthogonal matrix preserves the length of that vector, and rotations and reflections exhaust the set of (real valued) geometric operations that render invariant a vector's length.
The Householder transformation was shown to have a one-to-one relationship with the canonical coset decomposition of unitary matrices defined in group theory, which can be used to parametrize unitary operators in a very efficient manner.[12]
Finally we note that a single Householder transform, unlike a solitary Givens transform, can act on all columns of a matrix, and as such exhibits the lowest computational cost for QR decomposition and tridiagonalization. The penalty for this "computational optimality" is, of course, that Householder operations cannot be as deeply or efficiently parallelized. As such Householder is preferred for dense matrices on sequential machines, whilst Givens is preferred on sparse matrices, and/or parallel machines.
See also
Notes
- ↑ Template:Cite journal
- ↑ Template:Harvnb
- ↑ Template:Cite book
- ↑ Template:Harvnb
- ↑ 5.0 5.1 Template:Cite book
- ↑ Template:Cite book
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ 10.0 10.1 Template:Cite book
- ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
- ↑ Template:Cite journal
References
- Template:Cite journal
- Template:Cite journal
- Template:Cite journal (Herein Householder Transformation is cited as a top 10 algorithm of this century)
- Template:Cite book
- Template:Citation