parameters: (A: Optional[Tensor], S: Tensor)
return_statement: return bform(S, A, S)
docstring: Return quadratic form :math:`S^T A S`.
docstring_summary: Return quadratic form :math:`S^T A S`.
docstring_tokens: Return quadratic form : math : S^T A S .
function: def qform(A: Optional[Tensor], S: Tensor):
      """Return quadratic form :math:`S^T A S`.
      """
      return bform(S, A, S)
function_tokens: def qform ( A : Optional [ Tensor ] , S : Tensor ) : return bform ( S , A , S )