ffsim.linalg.GivensRotation¶
- class ffsim.linalg.GivensRotation(c: float, s: complex, i: int, j: int)[source]¶
Bases:
NamedTupleA Givens rotation.
A Givens rotation acts on the two-dimensional subspace spanned by the \(i\)-th and \(j\)-th basis vectors as
\[\begin{split}\begin{pmatrix} c & s \\ -s^* & c \\ \end{pmatrix}\end{split}\]where \(c\) is a real number and \(s\) is a complex number.
Methods
Attributes
cAlias for field number 0
iAlias for field number 2
jAlias for field number 3
sAlias for field number 1