contract

adcc.contract(subscripts, a, b)

Form a single, einsum-like contraction, that is contract tensor a and be to form out via a contraction defined by the first argument string, e.g. “ab,bc->ac” or “abc,bcd->ad”.

Note: The contract function is deprecated. It will disappear in 0.16.