NLA-lib Explorer

Perturbed unitary similarity

Library · Source module

Perturbed unitary similarity

A matrix \mathbf{B} is a perturbed unitary similarity of \mathbf{A} with backward error \varepsilon when \mathbf{B} = \mathbf{U}^{\mathsf{H}}(\mathbf{A} + \mathbf{E})\mathbf{U} for a unitary \mathbf{U} and a perturbation with \|\mathbf{E}\|_2 \le \varepsilon. It is the backward-error statement of a step of a unitary eigenvalue algorithm (a sweep of rotations, a shifted QR step, a deflation) in finite precision; in exact arithmetic \varepsilon = 0. The relation hides \mathbf{U}: it serves eigenvalue algorithms, not the computed Schur vectors.

The backward errors of consecutive steps add, because a unitary similarity keeps the spectral norm of the next perturbation: \mathbf{U}_2^{\mathsf{H}}\bigl(\mathbf{U}_1^{\mathsf{H}}(\mathbf{A} + \mathbf{E}_1)\mathbf{U}_1 + \mathbf{E}_2\bigr)\mathbf{U}_2 = (\mathbf{U}_1\mathbf{U}_2)^{\mathsf{H}}(\mathbf{A} + \mathbf{E}_1 + \mathbf{U}_1\mathbf{E}_2\mathbf{U}_1^{\mathsf{H}})(\mathbf{U}_1\mathbf{U}_2), \qquad \|\mathbf{U}_1\mathbf{E}_2\mathbf{U}_1^{\mathsf{H}}\|_2 = \|\mathbf{E}_2\|_2. [Higham2002], [BanksGarzaVargasSrivastava2022].

Main definitions

* NLAlib.IsPerturbedUnitarySimilar: \mathbf{B} = \mathbf{U}^{\mathsf{H}}(\mathbf{A} + \mathbf{E})\mathbf{U}, \mathbf{U} unitary, \|\mathbf{E}\|_2 \le \varepsilon.

Main results

* NLAlib.IsPerturbedUnitarySimilar.refl, NLAlib.IsPerturbedUnitarySimilar.trans, NLAlib.IsPerturbedUnitarySimilar.mono, NLAlib.IsPerturbedUnitarySimilar.symm: the algebra; backward errors add. * NLAlib.isPerturbedUnitarySimilar_zero_iff, NLAlib.HasOrthonormalCols.isPerturbedUnitarySimilar: backward error 0 is an exact unitary similarity. * NLAlib.isPerturbedUnitarySimilar_add, NLAlib.IsPerturbedUnitarySimilar.add_right, NLAlib.IsPerturbedUnitarySimilar.sub_single: a perturbation of the output, and zeroing one entry (deflation). * NLAlib.IsPerturbedUnitarySimilar.of_specNorm_sub_le, NLAlib.IsPerturbedUnitarySimilar.of_near_unitary: from the outputs of a rounded kernel. * NLAlib.IsPerturbedUnitarySimilar.exists_submatrix: a step on a principal block (a range of a partition) is a step on the whole matrix, with the same backward error. * NLAlib.IsPerturbedUnitarySimilar.submatrix_equiv: relabelling the indices. * NLAlib.IsPerturbedUnitarySimilar.exists_fromBlocks₁₁, NLAlib.IsPerturbedUnitarySimilar.exists_fromBlocks₂₂: a step on one diagonal block of a block upper triangular matrix is a step on the whole matrix. * NLAlib.IsPerturbedUnitarySimilarBy, NLAlib.isPerturbedUnitarySimilar_iff_exists_by, NLAlib.IsPerturbedUnitarySimilarBy.fromBlocks₁₁, NLAlib.IsPerturbedUnitarySimilarBy.of_range_block, NLAlib.IsPerturbedUnitarySimilarBy.of_specNorm_sub_le: the relation with its unitary named, and its block lifts with computed couplings. * NLAlib.IsTrackedUnitarySimilar, NLAlib.IsTrackedUnitarySimilar.trans, NLAlib.IsTrackedUnitarySimilar.specNorm_sub_mul_mul_conjTranspose_le: a stored accumulator tracked with a relative error, and the computed Schur form. * NLAlib.IsPerturbedUnitarySimilar.specNorm_le: \|\mathbf{B}\|_2 \le \|\mathbf{A}\|_2 + \varepsilon.

Declarations