torch.linalg.householder_product
torch.linalg.householder_product(A, tau, *, out=None) -> Tensor
Computes the first n columns of a product of Householder
   matrices.
Let \mathbb{K} be \mathbb{R} or \mathbb{C}, and let V \in
   \mathbb{K}^{m \times n} be a matrix with columns v_i \in
   \mathbb{K}^m for i=1,\ldots,m with m \geq n. Denote by w_i the
   vector resulting from zeroing out the first i-1 components of v_i
   and setting to 1 the i-th. For a vector \tau \in \mathbb{K}^k
   with k \leq n, this function computes the first n columns of the
   matrix
  H_1H_2 ... H_k \qquad\text{with}\qquad H_i = \mathrm{I}_m -
  \tau_i w_i w_i^{\text{H}}

where \mathrm{I}_m is the m-dimensional identity matrix and
   w^{\text{H}} is the conjugate transpose when w is complex, and the
   transpose when w is real-valued. The output matrix is the same size
   as the input matrix "A".
See Representation of Orthogonal or Unitary Matrices for further
   details.