qiskit_nature/properties/second_quantization/electronic/angular_momentum.py
def interpret(self, result: EigenstateResult) -> None:
        """Interprets an :class:~qiskit_nature.result.EigenstateResult in this property's context.

        Args:
            result: the result to add meaning to.
        """
        result.total_angular_momentum = []

        if not isinstance(result.aux_operator_eigenvalues, list):
            aux_operator_eigenvalues = [result.aux_operator_eigenvalues]
        else:
            aux_operator_eigenvalues = result.aux_operator_eigenvalues  # type: ignore
        for aux_op_eigenvalues in aux_operator_eigenvalues:
            if aux_op_eigenvalues is None:
                continue

            if aux_op_eigenvalues[1] is not None:
                result.total_angular_momentum.append(aux_op_eigenvalues[1][0].real)  # type: ignore
            else:
                result.total_angular_momentum.append(None)
Interprets an :class:~qiskit_nature.result.EigenstateResult in this property's context.

        Args:
            result: the result to add meaning to.
        
Interprets an :class:~qiskit_nature.result.EigenstateResult in this property's context.
Interprets an : class : ~qiskit_nature . result . EigenstateResult in this property ' s context .
def interpret(self, result: EigenstateResult) -> None:
        result.total_angular_momentum = []
        if not isinstance(result.aux_operator_eigenvalues, list):
            aux_operator_eigenvalues = [result.aux_operator_eigenvalues]
        else:
            aux_operator_eigenvalues = result.aux_operator_eigenvalues  
        for aux_op_eigenvalues in aux_operator_eigenvalues:
            if aux_op_eigenvalues is None:
                continue
            if aux_op_eigenvalues[1] is not None:
                result.total_angular_momentum.append(aux_op_eigenvalues[1][0].real)  
            else:
                result.total_angular_momentum.append(None)
def interpret ( self , result : EigenstateResult ) -> None : result . total_angular_momentum = [ ] if not isinstance ( result . aux_operator_eigenvalues , list ) : aux_operator_eigenvalues = [ result . aux_operator_eigenvalues ] else : aux_operator_eigenvalues = result . aux_operator_eigenvalues for aux_op_eigenvalues in aux_operator_eigenvalues : if aux_op_eigenvalues is None : continue if aux_op_eigenvalues [ 1 ] is not None : result . total_angular_momentum . append ( aux_op_eigenvalues [ 1 ] [ 0 ] . real ) else : result . total_angular_momentum . append ( None )
Interprets an :class:~qiskit_nature.result.EigenstateResult in this property's context.
Interprets an : class : ~qiskit_nature . result . EigenstateResult in this property ' s context .
"""Interprets an :class:~qiskit_nature.result.EigenstateResult in this property's context.

        Args:
            result: the result to add meaning to.
        """ # type: ignore # type: ignore
self
result
EigenstateResult
the result to add meaning to.
the result to add meaning to .