Function sequant::spin_symm_tensor¶ Defined in File spin.cpp Function Documentation¶ bool sequant::spin_symm_tensor(const Tensor &tensor)¶ Checks the spin symmetry of a pair of indices corresponding to a particle in tensor notation. Parameters: tensor – a tensor with indices containing spin labels Returns: true if spin symmetry matches for all pairs of indices