NLA-lib Explorer

Backward steps of unitary similarity

Library · Source module

Backward steps of unitary similarity

A perturbed unitary similarity (NLAlib.IsPerturbedUnitarySimilar) is a backward-error relation of the operation core (NLAlib.Ops.IsBackwardErrorRel), so a program whose steps return a perturbed unitary similarity of the stored matrix is analysed by the composition rules of NLAlib.Ops.BackwardStep: the backward errors of a sequence add, those of a loop are summed.

A block specification in exact arithmetic that returns \mathbf{U}^{\mathsf{H}}\mathbf{A} \mathbf{U} for a unitary \mathbf{U}, the form of the exact shifted QR iteration and decoupling, is a backward step with error 0 (NLAlib.Ops.BackwardStep.of_unitarySimilar).

Main results

* NLAlib.isBackwardErrorRel_isPerturbedUnitarySimilar: the relation. * NLAlib.Ops.BackwardStep.of_unitarySimilar: an exact unitary similarity is a backward step with error 0. * NLAlib.Ops.BackwardStep.of_specNorm_sub_le: an exact unitary similarity up to an error \varepsilon is a backward step with error \varepsilon.

NLAlib.Ops.BackwardStep.loop_rel applies with the spectral norm as the size of the state, by NLAlib.IsPerturbedUnitarySimilar.specNorm_le: a per-round error \nu\|\mathbf{H}_k\|_2 sums to ((1 + \nu)^N - 1)\|\mathbf{H}\|_2.

Declarations