@classmethod
def from_closed_shell(cls, cs: ClosedShellAmplitudes):
    '\n        Initialize from closed-shell Amplitude structure\n\n        Parameters\n        ----------\n        cs: ClosedShellAmplitudes :\n\n\n        Returns\n        -------\n\n        '
    tijab = (cs.tIjAb - numpy.einsum('ijab -> ijba', cs.tIjAb, optimize='greedy'))
    return cls(tIjAb=cs.tIjAb, tIA=cs.tIA, tiJaB=cs.tIjAb, tia=cs.tIA, tijab=tijab, tIJAB=tijab)
Initialize from closed-shell Amplitude structure

Parameters
----------
cs: ClosedShellAmplitudes :


Returns
-------
@classmethod
def from_closed_shell(cls, cs: ClosedShellAmplitudes):
    '\n        Initialize from closed-shell Amplitude structure\n\n        Parameters\n        ----------\n        cs: ClosedShellAmplitudes :\n\n\n        Returns\n        -------\n\n        '
    tijab = (cs.tIjAb - numpy.einsum('ijab -> ijba', cs.tIjAb, optimize='greedy'))
    return cls(tIjAb=cs.tIjAb, tIA=cs.tIA, tiJaB=cs.tIjAb, tia=cs.tIA, tijab=tijab, tIJAB=tijab)