lq

tenpy.linalg.np_conserved.lq(a, mode='reduced', inner_labels=[None, None], cutoff=None, pos_diag_L=False, qtotal_Q=None, inner_qconj=1)[source]

Q-R decomposition of a matrix. See documentation for qr() for details.

We simply transpose the original matrix, call qr(), and then transpose the results.