With zero initial guess, the generalized minimal residual method minimizes the Euclidean norm of the linear-system residual over each Krylov subspace. The Arnoldi decomposition reduces this to , followed by . Givens rotations solve the small problem in operations once the decomposition is available. For an invertible matrix , the same iterate minimizes the error in the weighted norm induced by , because .
Geometric quantum state synthesis by adjacent rotations Created 2026-10-14 Updated 2026-10-25
On a connected transition chain, independently selected resonant pulses realize embedded two-level rotations with tunable angle and phase. Eliminate target amplitudes from one end of the chain using complex Givens rotations, and invert those rotations to prepare the target from a basis state. The pulse angles come from amplitude ratios and the phases from relative complex arguments. Spectator components are unchanged by each embedded rotation. Work in the interaction picture and compensate the known drift phases at the chosen final time when the target is specified in the laboratory frame.
Givens rotation Created 2026-09-24 Updated 2026-10-14
A Givens rotation eliminates one component of a vector by rotating just two coordinates, preserving its Euclidean norm. For example,
The length remains five: elimination moves the component into the retained coordinate rather than discarding it. Applied to a matrix, the same operation mixes two rows; QR decomposition by Givens rotations uses these local operations to build an upper triangular matrix.
Figure 1.
A Givens rotation takes clockwise to while preserving the Euclidean norm
. Details.
For indices , the matrix is the identity matrix except for its block on coordinates :
This article uses left matrix multiplication on column vectors. If and , the block is a rotation matrix through angle : the minus sign belongs in the lower left. Its transpose reverses the rotation. Direct multiplication gives and determinant one, so it is an orthogonal matrix; consequently . Only two coordinates change, but this Euclidean norm identity holds for the entire vector.
Givens row-pair update 2026-10-14
Left matrix multiplication by a Givens rotation replaces rows of a matrix by
Both right-hand sides use the old entries. An in-place algorithm must save the first result temporarily, update the second entry, and only then overwrite the first. The reference BLAS DROT implementation follows this order with its temporary DTEMP.[ref]
For elimination in column , construct from . This sets the lower component to zero in exact arithmetic. In floating-point arithmetic the computed expression can leave a small remainder; after computing the other updated entries, explicitly store and . Previously eliminated columns stay zero if both participating rows are already zero there. This is why the ordering in QR decomposition by Givens rotations matters.
Use geometric quantum state synthesis by adjacent rotations, rather than three full level population swaps. Each resonant pulse implements a complex Givens rotation on one allowed two-state plane. Start with the target amplitude vector, use such rotations to eliminate entries back to the first basis vector, and reverse that sequence. Its angles are fixed by the ratios of target amplitudes, and optical phases supply their relative complex phases.
Here is an explicit real-coordinate construction in the interaction picture. Define a phase-calibrated rotation by
A resonant Quantum Hamiltonian proportional to realizes this rotation; the optical phase chooses that quadrature. Let . Then
The pulse areas equal these rotation parameters in the direct Hamiltonian-coefficient convention of quantum pulse area. A given sign or phase choice for a physical transition depends on its dipole and basis conventions; calibration realizes the specified rotation without assuming every adjacent transition has the same energy ordering.
If the requested amplitudes refer to the laboratory frame at , the target for this construction is , not simply . Set the rotation phases accordingly, or add the equivalent accessible diagonal phase corrections. This compensates the known drift phases and gives the stated laboratory superposition, not merely the correct level populations. Strong regularity and connected allowed transitions guarantee the required controllability; bandwidth restrictions set how slowly the selective approximation must be implemented.
Choose the Givens rotation convention in which equals the identity outside rows and columns , and has block
in those coordinates. It is an orthogonal matrix. For any chosen column , write , and . If , take , . Then the new entries are and . If both entries vanish, take . This proves the requested elimination for each chosen ; the angle is allowed to depend on , and one angle need not eliminate an entire arbitrary row.
For the given matrix, use first for , obtaining
Use the same cosine and sine for . It makes
This is already upper triangular, including the zero entry, and every leading nonzero row entry is positive. Thus the requested QR decomposition is
The orthogonal matrix property follows from the two rotations, and direct multiplication verifies .
Rows two and three of both have zero in column one. Any rotation of these rows therefore preserves those zeros, so . In column two, . For , choose
This gives . Again choose if both relevant entries are zero. Thus the successive Givens rotations have eliminated all entries below the diagonal without recreating earlier ones.
The second Givens rotation leaves row three unchanged, so . Its other relevant entry is . For , take
Then and . If both entries vanish, choose . The first column now has zeros below its diagonal.
Left multiplication by the given Givens rotation mixes rows two and three, so . If , choose
Equivalently modulo . Substitution gives and . If , take ; the desired zero is already present. This also covers singular matrices without division by zero.
For a full-column-rank matrix, a thin QR decomposition has , where and is nonsingular upper triangular. Extend to an orthogonal matrix . Orthogonality gives
Thus the unique least-squares solution satisfies , with residual norm . In a rank-deficient problem is singular and uniqueness needs separate treatment.
A Givens rotation is the identity except for the rows/columns , whose block is with . Its transpose times itself has that block equal to the identity, so it is orthogonal. Choose in rows two and three. Then
Back substitution in the first three rows gives
The fourth row of the rotated residual is the unavoidable value , while the other three rows vanish. Thus this rotation also directly exhibits the least-squares optimality.
Use the genuine planar Givens rotation
In the second component the cosine multiplies : the repeated in the printed formula is an error. With that printed expression, at the pair becomes , which does not preserve length or measure. The rotation-based claims require the corrected expression. Also take , since the normalization by is undefined for .
Let and . The change of variables formula and determinant one give . Thus each is a unitary operator, with adjoint . The Kac collision operator is the average
The Minkowski integral inequality gives , so is bounded. For the Hilbert space inner product, integration and the angular change give
Hence and . In fact a nonzero radial Gaussian function is fixed by every rotation, showing . Angular averages can be understood as strong Bochner integrals; continuity of rotations in follows first for smooth compactly supported functions, then by density.
For each rotation, unitarity gives
Averaging and using self-adjointness of yields the Dirichlet form of the Kac collision operator
The velocity integral is necessary: its omission from the printed right-hand side would leave a function of rather than a scalar. This identity applies to every function, with complex modulus when necessary, and is nonnegative.
If , every nonnegative angular integral is zero, so for almost every angle. Strong continuity in angle extends equality to every angle. The coordinate-plane Givens rotations generate the special orthogonal group , hence is invariant in under every element of this group. To identify its shape rigorously despite almost-everywhere representatives, average over the normalized Haar measure of . This averaging leaves unchanged, while transitivity of the rotation group on each sphere makes the average a radial function. Thus almost everywhere.
Conversely, every radial function is fixed by every coordinate-plane rotation, and so by . Therefore
This is the radial kernel of the Kac collision operator. The rotation correction is essential to this conclusion: with the literal printed map, even in dimension two is not fixed. At its printed-map angular average is the average of , strictly greater than its value .
A Givens rotation is the identity outside rows and columns , with the block
The block's transpose times itself is the identity, so the whole matrix satisfies and is an orthogonal matrix. In particular it preserves the Euclidean norm. To annihilate the lower entry of a column pair , take , , ; the rotated pair is . If both entries are zero, take the identity rotation.
A QR decomposition of an matrix, , is , where is an orthogonal matrix and is and upper trapezoidal: for . In particular its bottom rows vanish.
Successive left Givens rotations annihilate the entries below the diagonal, column by column. When working on column , rotate rows and ; their earlier columns are already zero, so the earlier eliminations persist. If , then
A product of orthogonal matrices is orthogonal. The construction remains valid for a rank-deficient matrix, although uniqueness is not asserted. This is QR decomposition by Givens rotations.
A Givens rotation is the identity except in rows and columns , where it has the block
For and , choose
when . Then
If both entries vanish, any angle works.
For the given matrix, first use
It gives
Then use
Thus is
All leading row entries are positive. The resulting QR decomposition by Givens rotations is
where
and is the matrix above. Since it is a product of transposed rotations, is orthogonal.
A Givens rotation is identity except for a block in rows . Choose and , , , with sign adjusted to the block convention; this mixes only those rows and zeros . For , successively apply rotations , , , producing patterns , then , then an upper triangular . The product of transposed rotations is .
A Givens rotation acts as the identity matrix outside two selected coordinates , and has the following block on those coordinates:
The convention with the opposite signs of the sines is equivalent after replacing by . A Householder reflection with nonzero normal vector is
It reverses the component parallel to and fixes the perpendicular hyperplane. Both are orthogonal matrices, so their transposes are their inverses and they preserve the Euclidean norm.
Choose the following consistent sign convention. The Givens rotation equals the identity matrix except for the block on coordinates :
Thus it changes only the th and th coordinates of a vector. Write , . Its two-coordinate block satisfies
All remaining coordinates are unchanged, so . Hence every such Givens rotation is an orthogonal matrix. With this convention the two-coordinate rotation matrix rotates through angle .
Put and write its second column as . For , take
where each angle is computed from the current second column, in the right-to-left application order. These Givens rotations eliminate its entries in rows by accumulating their Euclidean norm in row two.
Each rotation acts only on rows with indices at least two. The first column of is , whose entries in all those rows are zero. Mixing two zeros leaves them zero, and row one is untouched. Thus the first column is unchanged. The resulting matrix has the form
This verifies both required properties, including the case of zero second-column tail. When there are no rows to eliminate: take , the empty product. No sign change of is required in that case. Each Givens row-pair update preserves previously eliminated columns, which is the central invariant of QR decomposition by Givens rotations.
Apply the product from right to left, choosing every Givens rotation from the current first column. First replaces by . Next combines that retained entry with and sets the third entry to zero. Inductively, after eliminating coordinates , the first coordinate is
and coordinates are zero. Later Givens rotations involve only coordinate one and a new coordinate, so those zeros remain zero. Therefore
where is the first standard basis vector. The zero vector is included by choosing the identity matrix for every zero pair. The nonnegative sign follows from the convention fixed in part (c)(ii). This is the first-column stage of QR decomposition by Givens rotations.