def gradient_summary(efpobj):
    """Gets the computed per-fragment EFP energy gradient of `efpobj`.

    Returns
    -------
    str
        Formatted text of the `6 x n_frag` gradient and torque.

    """
    grad = efpobj.get_gradient()
    grad6 = list(map(list, zip(*[iter(grad)] * 6)))

    text = '\n  ==>  EFP Gradient & Torque  <==\n\n'
    for fr in grad6:
        text += '{:14.8f} {:14.8f} {:14.8f}   {:14.8f} {:14.8f} {:14.8f}\n'.format(*fr)

    text += '\n'
    return text