class_docstr: Orthogonal orbital parameterization using QR decomposition.
  The orthogonal orbital is represented by:
  
  P = QR
  
  Where Q is the parameters defining the rotation of the orthogonal tensor,
  and R is the coefficients tensor.
  
  Examples
  --------
  >>> import torch
  >>> from deepchem.utils.dft_utils import QROrbParams
  >>> params = torch.randn(3, 3)
  >>> coeffs = torch.randn(4, 3)
  >>> with_penalty = 0.1
  >>> orb, penalty = QROrbParams.params2orb(params, coeffs, with_penalty)
  >>> params2, coeffs2 = QROrbParams.orb2params(orb)
docstr: Get the free parameters from the orthogonal orbitals. Returns ``params``
  and ``coeffs`` described in ``params2orb``.
  
  Parameters
  ----------
  orb: torch.Tensor
      The orthogonal orbitals.
  
  Returns
  -------
  params: torch.Tensor
      The free parameters to be optimized.
  coeffs: torch.Tensor
      The coefficients to get the orthogonal orbitals.
docstr_tok: ["Get","the","free","parameters","from","the","orthogonal","orbitals",".","Returns","``","params","``","and","``","coeffs","``","described","in","``","params2orb","``",".","Parameters","--","--","--","--","--","orb",":","torch.Tensor","The","orthogonal","orbitals",".","Returns","--","--","--","-","params",":","torch.Tensor","The","free","parameters","to","be","optimized",".","coeffs",":","torch.Tensor","The","coefficients","to","get","the","orthogonal","orbitals","."]
code: def orb2params(orb: torch.Tensor) -> List[torch.Tensor]:
      """
      Get the free parameters from the orthogonal orbitals. Returns ``params``
      and ``coeffs`` described in ``params2orb``.
  
      Parameters
      ----------
      orb: torch.Tensor
          The orthogonal orbitals.
  
      Returns
      -------
      params: torch.Tensor
          The free parameters to be optimized.
      coeffs: torch.Tensor
          The coefficients to get the orthogonal orbitals.
  
      """
      coeffs = torch.tensor([0], dtype=orb.dtype, device=orb.device)
      return [orb, coeffs]
  
file_path: deepchem/deepchem/utils/dft_utils/hamilton/orbparams.py
imports: from typing import List
  import torch
label_desc: Use image node_id 2 for calling the QROrbParams obj's underlying member method code with example usage: obj.orb2params(orb) and returns: list