Welcome to TeX.SE!
NOTE: Update your TeX distribution before you run the code below. If you are using TeXLive, the following should work. If you are using another TeX distribution, you may have to download the tikzmark
library from here.
In the example you post, simpler-wick
does work because you only do a contraction within one block. That is, you only need to move \wick
to the block in which the both \c
of your contractions are.
\documentclass{article}
\usepackage{simpler-wick}
\usetikzlibrary{tikzmark}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{split}
\tikzmarknode{A}{A}B & =C\tikzmarknode{D}{D}EF \\ & = \wick{\c1G HI \c1J}
\end{split}
\begin{tikzpicture}[overlay,remember picture]
\draw ([yshift=2pt]A.north) -- ++(0,3pt) -| ([yshift=2pt]D.north);
\end{tikzpicture}
\end{equation}
\end{document}

It will always work as long as the contraction does not span over a &
or a line break. Most of the contractions in the physics literature will hence work as they typically do not go over equality signs nor over two lines, but of course there may be situations where this is different. In this case, you may build your own. You are very lucky that the new version of the tikzmark
library has just been uploaded to CTAN and is already in the TeXLive distribution. So, in order for this to work, you need to update your TeX distribution. Using \tikzmarknode
you can draw the contraction in the fist line, which runs over a &
sign.
\wick
?