1 Introduction

Composite operators play an important role in the study of the strong interaction and hadronic structure. For example, the hadronic matrix elements of such operators give rise to various types of parton distribution functions. In inclusive processes such as deep-inelastic scattering, one can probe the forward operator matrix elements (OMEs), which define the forward parton distributions like the standard PDFs. Exclusive processes on the other hand are sensitive to the non-forward OMEs, meaning there is a non-zero momentum flow through the operator vertex. Such matrix elements then define the non-forward parton distributions. Standard examples of the latter are the generalized parton distribution functions [1,2,3,4,5,6], which can be accessed experimentally from e.g. deeply-virtual Compton scattering. Their study will be a major goal of a future electron-ion collider [7, 8].

Besides knowledge about the distributions themselves, phenomenological studies also require information about their scale dependence. The latter is set by the anomalous dimension of the operator defining the distribution and can be computed perturbatively in the strong coupling \(\alpha _s\) by renormalizing the partonic matrix elements of the operator. Of course, in order to perform such computations the Feynman rules of the appropriate operator vertices are necessary. In forward kinematics, i.e. when there is no momentum flowing through the operator vertex, the computation and renormalization of the necessary matrix elements is, at least in principle, straightforward for the flavor-non-singlet sector. The analysis of the flavor-singlet one is more complicated however due to the necessity of taking into account non-gauge-invariant (alien) operators, see e.g. [9,10,11,12,13,14]. The Feynman rules for the necessary operator vertices are known to order \(g_s^4\) with \(\alpha _s=g_s^2/(4\pi )\), allowing for the computation of the matrix elements up to the four-loop level, see e.g. [12, 13, 15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32] (and references therein). However in the case of non-forward kinematics, which is relevant in the study of exclusive processes, the momentum flowing through the operator vertex is non-zero. This implies that, during the renormalization procedure, one has to take into account mixing with total-derivative operators. Some direct computations of the non-forward matrix elements of the local operators, and their corresponding renormalization, were performed e.g. in [33,34,35,36]. However, the Feynman rules associated to total-derivative operators were not explicitly given. This will be the subject of the current article. In particular, we will determine expressions for the Feynman rules for the operator vertices with an arbitrary number of total derivatives and an arbitrary number of gluons. The latter implies that our expressions are applicable to any order in perturbation theory. We focus our attention on the determination of the Feynman rules for quark and gluon operators in the leading-twist approximation, which corresponds to keeping only the leading term in an expansion in inverse powers of some hard scale of the scattering process. While subleading-twist corrections are becoming increasingly important, see e.g. [37,38,39,40,41], we do not consider them in this work.

The paper is organized as follows. In the Sect. 2 we set up the notation and summarize our conventions. The next section then steps through the derivation of the Feynman rules. Instead of immediately jumping to the result with an arbitrary number of total derivatives and gluons, we first explain the derivation of some simpler operator vertices. The final result is relatively straightforward to implement in a computer algebra language. As illustration, we provide both a Mathematica and a FORM [42, 43] implementation, which are made available at https://github.com/vtsam/NKLO. The use of these codes is briefly explained in Sect. 4. Conclusions and an outlook are provided in Sect. 5.

2 Setup and conventions

We consider the leading-twist spin-N quark operators in QCD which are generically of the following formFootnote 1

$$\begin{aligned} \mathcal {O}_{k,0,N-k-1} = \mathcal {S}\partial _{\mu _1}\dots \partial _{\mu _k}[\overline{\psi }\Gamma D_{\rho _{1}}\dots D_{\rho _{N-k-1}} \psi ] \end{aligned}$$
(2.1)

which is a special case of the more general

$$\begin{aligned} \mathcal {O}_{p,q,r} = \mathcal {S}\partial _{\mu _1}\dots \partial _{\mu _p}[(D_{\nu _{1}}\dots D_{\nu _{q}}\overline{\psi })\Gamma (D_{\rho _{1}}\dots D_{\rho _{r}} \psi )]. \end{aligned}$$
(2.2)

Here \(\psi \) represents the quark field, \(D_{\mu }\) is the QCD covariant derivative and \(\Gamma \) denotes a generic Dirac gamma matrix. For phenomenological studies, the following choices for the latter are relevant:

  • \(\Gamma =\gamma _{\rho }\) for the description of unpolarized scattering,

  • \(\Gamma =\gamma _{5}\gamma _{\rho }\) for the description of polarized scattering and

  • \(\Gamma =\sigma _{\mu \rho }\equiv \frac{1}{2}[\gamma _{\mu },\gamma _{\rho }]\) for the study of transverse hadronic structure.

In the leading-twist approximation, the Lorentz indices are symmetrized and traces are subtracted, which is denoted by \(\mathcal {S}\). In practice, this operation is implemented by contracting the operator and its matrix elements with N copies of an arbitrary lightlike vector, \(\Delta ^2=0\). This implies that the unpolarized and polarized matrix elements are now Lorentz scalars. However, the transverse matrix elements have one free Lorentz index left as only the \(\rho \) index of \(\sigma _{\mu \rho }\) is contracted with a \(\Delta \). The remaining Lorentz index \(\mu \) can be removed, if desired, by the introduction of another auxiliary vector.

In principle the Feynman rules for the operators in Eq. (2.1) are derived from the path integral formulation of QCD. However, in practice it turns out that this is not necessary. Instead, one can simply expand the covariant derivatives and replace any field hit by an ordinary derivative by the momentum flowing through this field. Formally this of course corresponds to performing the Fourier transform to momentum space. In this procedure one has to take care of possible sign conventions. Generically, there are two possible origins for extra signs:

  1. 1.

    Conventions for the sign of the strong coupling in the covariant derivative. One either has

    $$\begin{aligned}&D_{\mu }\psi = \partial _{\mu }\psi -i g_s A_{\mu }\psi \end{aligned}$$
    (2.3)
    $$\begin{aligned}&D_{\mu }\overline{\psi } = \partial _{\mu }\overline{\psi }+i g_s A_{\mu }\overline{\psi } \end{aligned}$$
    (2.4)

    or

    $$\begin{aligned}&D_{\mu }\psi = \partial _{\mu }\psi +i g_s A_{\mu }\psi \end{aligned}$$
    (2.5)
    $$\begin{aligned}&D_{\mu }\overline{\psi } = \partial _{\mu }\overline{\psi }-i g_s A_{\mu }\overline{\psi }. \end{aligned}$$
    (2.6)

    Here \(A_{\mu } = t^{c}A_{\mu ,c}\) with \(t^{c}\) the generators of the color group.

  2. 2.

    Conventions for the momentum routing. When the quark field is hit by a derivative, its momentum assignment is

    $$\begin{aligned}&\partial _{\mu }\psi (p) \rightarrow - i p_{\mu }\psi \end{aligned}$$
    (2.7)
    $$\begin{aligned}&\partial _{\mu }\overline{\psi }(p) \rightarrow + i p_{\mu }\overline{\psi }. \end{aligned}$$
    (2.8)

    This, however, assumes the momentum and particle flow to point in the same direction, i.e.Footnote 2

    figure b

    If instead the momentum flows in the opposite direction to the particle flow, there is a sign flip, i.e.

figure c

Generically now, the operator vertices to be considered have the following form Footnote 3

figure d

meaning our notation is as follows

  • The momenta of the fermionic fields in the operator are assigned as \(\overline{\psi }(P_2)\) and \(\psi (P_1)\) respectively.

  • When computing the matrix elements of the operators at the L-loop level, one needs to consider operator vertices with up to L gluons attached, which follows from the expansion of the covariant derivatives in Eq. (2.1). Generically we will denote the number of gluons of the operator vertex by K. The gluon field with index \(g\in [1,K]\) then has momentum \(p_g\), Lorentz index \(\mu _g\) and a color index \(c_g\). All gluon momenta will always be taken to be incoming.

  • The number of total derivatives in the operator is denoted by k which, for some spin-N operator, lives in the range \(k\in [0,N-K-1]\).

For the purpose of this work we will use dynamical conventions for easy adaptability to one’s own preferences. In particular we set

$$\begin{aligned}&D_{\mu }\psi = \partial _{\mu }\psi - \delta _D(i g_s A_{\mu }\psi ), \end{aligned}$$
(2.9)
$$\begin{aligned}&D_{\mu }\overline{\psi } = \partial _{\mu }\psi + \delta _D(i g_s A_{\mu }\overline{\psi }), \end{aligned}$$
(2.10)
$$\begin{aligned}&\partial _{\mu }\psi (P_1)\rightarrow \delta _2 (i\, P_{1\mu }), \end{aligned}$$
(2.11)
$$\begin{aligned}&\partial _{\mu }\overline{\psi }(P_2)\rightarrow \delta _1 (i\, P_{2\mu }) \end{aligned}$$
(2.12)

with \(\delta _D,\delta _1,\delta _2=\pm 1\). The values of \(\delta _{1,2}\) are related to the choice of momentum routing. One popular choice is to take all momenta to be flowing into the operator vertex, in which case \(\delta _1=\delta _2=-1\). Another often-used option is the so-called physical momentum routing, in which case the momenta and particle flows are chosen to be parallel, setting \(\delta _1=-1, \delta _2=+1\).

An important cross-check for the Feynman rules of total-derivative operators is that they should vanish in the forward limit, i.e. when the momentum flowing through the operator vertex is zero. For the choices of momentum routing described above, this limit corresponds to setting

$$\begin{aligned} {\left\{ \begin{array}{ll} P_1+P_2+\sum \limits _{i=1}^{K}p_i = 0 &{}\text {[all momenta incoming]} \text { or}\\ P_2=P_1+\sum \limits _{i=1}^{K}p_i &{}\text {[physical momentum routing]}. \end{array}\right. } \end{aligned}$$
(2.13)

Finally, when one arrives at an expression for the operator vertex, one can perform several cross-checks to ensure the correctness of the result:

  • The overall momentum scaling should be \(p^{N-K-1}\).

  • For fixed values of N and k, the result should be a polynomial in the momenta.

  • Total-derivative operators do not contribute in the forward limit. As such, the Feynman rule associated to \(\mathcal {O}_{k,0,N-k-1}\) with \(k>0\) is expected to vanish in this limit.

  • Finally, several expressions for the operator vertices are already known, especially for \(k=0\). Hence one should also cross-check against such previous results. The Feynman rules for operators with up to four gluons can be found e.g. in [12, 13, 15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32] and references therein. To be specific, we will compare our results against the rules presented in [13, 21]. Both works present the quark operator rules with up to three additional gluons. However, [13] assumes all momenta to be incoming while [21] uses the physical momentum routing. Hence cross-checking our results against both provides a strong check of our computations. However, one needs to be careful to take into account different conventions used in defining the operators. In particular, to compare against [13] we need to divide their rules by a factor of \(i^{N-1}/2\) (cf. e.g. their Eq. (2.9)) while the rules in [21] need to be divided by \(i^{N-1}\) (cf. their Eqs. (2.86)–(2.87)).

3 Derivation of the Feynman rule

In this section we provide the derivation of the operator vertices for an arbitrary number of derivatives. Without loss of generality we will focus on the operators \(\mathcal {O}_{k,0,N-k-1}\) for which the covariant derivatives only act on the \(\psi \) field, cf. Eq. (2.1). The Feynman rules for operators with covariant derivatives only acting on \(\overline{\psi }\) can be obtained from these by exchanging \(\delta _1 P_1\) and \(\delta _2 P_2\) and setting \(\delta _D\rightarrow -\delta _D\). Finally, operators with covariant derivatives acting on both \(\psi \) and \(\overline{\psi }\) can be written in terms of the other types using

$$\begin{aligned} \mathcal {O}_{p,q,r} = \mathcal {O}_{p-1,q+1,r}+\mathcal {O}_{p-1,q,r+1}. \end{aligned}$$
(3.1)

Before presenting the fully generic case, for which also an arbitrary number of gluons are attached to the operator vertex, we discuss the cases with zero, one and two gluons in order to clarify the procedure.

3.1 LO Feynman rule

At leading order, all covariant derivatives in the quark operator are simply replaced by partial ones,

$$\begin{aligned} \mathcal {O}_{k,0,N-k-1}^{\text {LO}} = \partial ^k[\overline{\psi }\tilde{\Gamma }\partial ^{N-k-1}\psi ]. \end{aligned}$$
(3.2)

To lighten the notation we introduced

$$\begin{aligned}{} & {} \Delta _{\mu }\partial ^{\mu }\rightarrow \partial ,\qquad \Delta _{\mu }D^{\mu }\rightarrow D,\qquad \Delta _{\mu }A^{\mu }\rightarrow A,\nonumber \\ {}{} & {} \quad \Delta _{\mu }\Gamma ^{\mu }\rightarrow \tilde{\Gamma } \end{aligned}$$
(3.3)

with \(\Delta \) an arbitrary lightlike vector to select the leading-twist contributions. For the operators introduced below Eq. (2.2), \(\tilde{\Gamma }\) corresponds to or respectively. The derivatives in Eq. (3.2) can be distributed using

$$\begin{aligned} \partial ^{k}(\phi _1\partial ^{m}\phi _2) = \sum _{i=0}^{k}\left( {\begin{array}{c}k\\ i\end{array}}\right) (\partial ^{k-i}\phi _1)(\partial ^{m+i}\phi _2) \end{aligned}$$
(3.4)

which leads to

$$\begin{aligned} \mathcal {O}_{k,0,N-k-1}^{\text {LO}} = \sum _{i=0}^{k}\left( {\begin{array}{c}k\\ i\end{array}}\right) (\partial ^{k-i}\overline{\psi })\tilde{\Gamma }(\partial ^{N-k-1+i}\psi ). \end{aligned}$$
(3.5)

The Feynman rule for the LO operator vertex can now be found by Fourier transforming to momentum space. Using the rules in Eqs. (2.11) and (2.12) we find

figure e

From this expression it is easy to see that the overall momentum scaling is \(p^{N-1}\), as expected. The operators without total derivatives obey

$$\begin{aligned} \mathcal {O}_{0,0,N-1}^{\text {LO}} = i^{N-1}(\Delta \cdot \Gamma )\delta _{1}^{N-1}(\Delta \cdot _{1})^{N-1}. \end{aligned}$$
(3.6)

Assuming all momenta to be incoming, \(\delta _1=\delta _2=-1\), the latter agrees with Eq. (A.2) of [13]. If instead we choose the physical momentum routing, \(\delta _1=-1, \delta _2=+1\), we find find agreement with the LO rule in Fig. (21) of [21]. Finally, it is easy to see that in both kinematic regimes the forward limit vanishes when \(k>0\), as expected.

3.2 NLO Feynman rule

At next-to-leading order, one of the covariant derivatives is replaced by a gluon field. As such, one has to be careful to count all possible orderings of the derivatives and the gluon. To derive the Feynman rule, one can immediately start from \(\mathcal {O}_{k,0,N-k-1}\). Alternatively, using Eq. (3.1) we can write

$$\begin{aligned} \mathcal {O}_{k,0,N-k-1} = \sum _{i=0}^{k}\left( {\begin{array}{c}k\\ i\end{array}}\right) \mathcal {O}_{0,k-i,N-k-1+i} \end{aligned}$$
(3.7)

and instead derive the Feynman rule for the operator on the right-hand side. Of course, the two methods have to lead to the same result. As illustration, we will now derive the NLO Feynman rule using the second approach. As the gluon field can either come from the covariant derivatives acting on \(\overline{\psi }\) or \(\psi \) we have

$$\begin{aligned}&\mathcal {O}_{0,k,N-k-1}^{\text {NLO}}\nonumber \\&\quad = -i\,g_s\delta _D\Bigg [\sum _{i=0}^{k-1}\sum _{j=0}^{i}\left( {\begin{array}{c}i\\ j\end{array}}\right) (\partial ^{i-j}A)(\partial ^{k-1-i+j} \overline{\psi })\tilde{\Gamma }(\partial ^{N-k-1}\psi )\nonumber \\&\qquad -(\partial ^{k}\overline{\psi })\tilde{\Gamma }\sum _{i=0}^{N-k-2}\sum _{j=0}^{i}\left( {\begin{array}{c}i\\ j\end{array}}\right) (\partial ^{i-j}A)(\partial ^{N-k-2-i+j}\psi )\Bigg ]. \end{aligned}$$
(3.8)

Next we apply Eq. (3.4) and transform to momentum space. Substituting into Eq. (3.7) and evaluating the sums then leads to

figure f

All the checks discussed at the end of Sect. 2 were explicitly performed. In particular, it is clear from the expression that the overall momentum scaling corresponds to \(p^{N-2}\) as expected. Furthermore, for \(k>0\) the operator vertex vanishes in the forward limit while for \(k=0\), assuming all incoming momenta and choosing \(\delta _D=+1\), our Feynman rule agrees with Eq. (A.3) in [13]. For physical momentum routing our rule agrees with the NLO rule of Fig. (21) in [21]. The LO and NLO Feynman rules (both for \(\Gamma =\gamma _{\rho }\) and \(\Gamma =\sigma _{\mu \rho }\)) have been compared with a private code, kindly provided to one of the authors by J. Gracey, which implemented the rules for the \(N=3\) operators with \(k=0,1,2\). This code was then used in [33] for the computation and renormalization of the corresponding operator matrix elements. Complete agreement was found between our results and the expressions in that code. Finally, the LO and NLO Feynman rules for Wilson operators with an arbitrary number of total derivatives were presented in [46, 47], and we also agree with their results.

3.3 NNLO Feynman rule

Beyond NLO, multiple gluons are attached to the operator vertex. As such, one has to take into account all possible relative orderings. Of course in practice, one can simply compute the rule for one particular ordering of the gluon fields and then add all permutations of the color indices and momenta. This will be our approach here and in the following sections. We derive the rule starting directly with the operators with an arbitrary number of total derivatives

$$\begin{aligned} {\mathcal {O}_{k,0,N-k-1}} = \partial ^{k}[\overline{\psi }\tilde{\Gamma }D^{N-k-1}\psi ]. \end{aligned}$$
(3.9)

Replacing one of the covariant derivatives with a gluon field yields

$$\begin{aligned} {{\mathcal {O}}_{k,0,N-k-1} \rightarrow } -i\,g_s \delta _D \sum _{i=0}^{N-k-2}\partial ^{k}[\overline{\psi }\tilde{\Gamma }D^{i}(A \,D^{N-k-2-i}\psi )]. \end{aligned}$$
(3.10)

Next we select the second gluon. Note that we have a choice here: either it comes from the first i covariant derivatives or it comes from the last \(N-k-2-i\) ones. Of course, the Feynman rule obtained from these two options has to be exactly the same, assuming that the left-most gluon field is identified as \(A_1^{\mu _1,c_1}(p_1)\) and the right-most one as \(A_2^{\mu _2,c_2}(p_2)\). Choosing the second gluon to come from the first i covariant derivatives for explicitness, we have

$$\begin{aligned}{} & {} \mathcal {O}_{k,0,N-k-1}^{\text {NNLO}} = -g_s^2 \delta _D^2 \sum _{i=0}^{N-k-2}\nonumber \\{} & {} \quad \times \sum _{j=0}^{i-1}\partial ^{k}[\overline{\psi }\tilde{\Gamma }\partial ^{j}(A_1 \partial ^{i-j-1}(A_2\partial ^{N-k-2-i}\psi ))]. \end{aligned}$$
(3.11)

After the iterative application of Eq. (3.4) this becomes

$$\begin{aligned}&\mathcal {O}_{k,0,N-k-1}^{\text {NNLO}} = -g_s^2\delta _D^2\sum _{i=0}^{N-k-2}\sum _{j=0}^{i-1}\sum _{l=0}^{k}\sum _{m=0}^{j+l}\nonumber \\&\quad \times \sum _{n=0}^{i-j+m-1}\left( {\begin{array}{c}k\\ l\end{array}}\right) \left( {\begin{array}{c}j+l\\ m\end{array}}\right) \left( {\begin{array}{c}i-j+m-1\\ n\end{array}}\right) \nonumber \\&\quad \times (\partial ^{k-l}\overline{\psi })\tilde{\Gamma }(\partial ^{N-k-2-i+n}\psi )(\partial ^{j+l-m}A_1)(\partial ^{i-j+m-n-1}A_2). \end{aligned}$$
(3.12)

Transforming to momentum space and evaluating the sums we then find the following Feynman rule for the NNLO operator vertex

figure g

If we had chosen the second gluon in Eq. (3.10) to come from the last \(N-k-2-i\) covariant derivatives instead, Eq. (3.12) would be replaced by

$$\begin{aligned}&{\mathcal {O}_{k,0,N-k-1}^{\text {NNLO}}} = -g_s^2\delta _D^2\sum _{i=0}^{N-k-2}\sum _{j=0}^{N-k-3-i}\sum _{l=0}^{k}\sum _{m=0}^{i+l}\nonumber \\&\quad \times \sum _{n=0}^{j+m}\left( {\begin{array}{c}k\\ l\end{array}}\right) \left( {\begin{array}{c}i+l\\ m\end{array}}\right) \left( {\begin{array}{c}j+m\\ n\end{array}}\right) \delta _1^{k-l}\delta _2^{N-k-3-i-j+n}\nonumber \\&\quad \times (\partial ^{k-l}\overline{\psi })\tilde{\Gamma }(\partial ^{N-k-3-i-j+n}\psi )(\partial ^{i+l-m}A_1)(\partial ^{j+m-n}A_2). \end{aligned}$$
(3.13)

It is straightforward to check that the corresponding Feynman rule is equivalent to the one presented above. Furthermore, we have explicitly implemented all the checks listed at the end of Sect. 2. In particular the operator vertex vanishes in the forward limit if \(k>0\) while for \(k=0\) it agrees with Eq. (A.4) in [13] for all momenta incoming and with the NNLO rule of Fig. (21) in [21] for physical momentum routing. By setting \(\Gamma =\gamma _5\gamma _{\rho }\) our rules for \(k=0\) also agree with those for the polarized operators, see e.g. [17].

3.4 N\(^K\)LO Feynman rule

We now generalize the above results to operator vertices with an arbitrary number of total derivatives k and an arbitrary number of gluons K. As mentioned before, such vertices become relevant for K-loop computations. The first step is to determine all possible orderings of the K gluons and the \(N-k-K-1\) derivatives. We find

$$\begin{aligned}&\mathcal {O}_{k,0,N-k-1}^{\text {N}^K\text {LO}} = (-i\,g_s\delta _D)^{K}\sum _{i_1=0}^{N-k-2}\prod _{j=1}^{K-1}\sum _{i_{j+1}=0}^{i_{j}-1}\nonumber \\&\quad \times \partial ^{k}[\overline{\psi }\tilde{\Gamma }\partial ^{i_{K}}(A_{j}\partial ^{i_{j}-i_{j+1}-1}(A_{K}\partial ^{N-k-i_{1}-2}\psi ))]. \end{aligned}$$
(3.14)

Next we need to distribute all total derivatives. This can be done by iteratively applying Eq. (3.4), leading to

$$\begin{aligned}&\mathcal {O}_{k,0,N-k-1}^{\text {N}^K\text {LO}} = (-i\,g_s\delta _D)^{K}\sum _{l=0}^{k}\left( {\begin{array}{c}k\\ l\end{array}}\right) (\partial ^{k-l}\overline{\psi })\tilde{\Gamma }\prod _{j=0}^{K-1}\nonumber \\&\quad \times \sum _{i_{j+1}=0}^{i_{j}-1}\sum _{m_{j+1}=0}^{i_{j}-i_{j+1}+m_{j}-1}\left( {\begin{array}{c}i_{j}-i_{j+1}+m_{j}-1\\ m_{j+1}\end{array}}\right) \nonumber \\&\quad \times (\partial ^{i_{j}-i_{j+1}+m_{j}-m_{j+1}-1}A_{j+1})(\partial ^{N-k-i_{1}+m_{K}-2}\psi ). \end{aligned}$$
(3.15)

Here we introduced the auxiliary symbols \(i_0\) and \(m_0\) defined as

$$\begin{aligned} i_0-1 = N-k-2 \end{aligned}$$
(3.16)

and

$$\begin{aligned} i_0-i_1+m_0-1=i_K+l. \end{aligned}$$
(3.17)

Note that in practice, the product over the sums is to be interpreted as

$$\begin{aligned} \prod _{j}\sum _{i_{j+1}}\sum _{m_{j+1}} \sim \left( \prod _{j}\sum _{i_{j+1}} \right) \left( \prod _{r}\sum _{m_{r+1}} \right) , \end{aligned}$$
(3.18)

i.e. the product of i-sums needs to be expanded before the one over m-sums. The reason for this is that the upper index of the first m-sum actually involves \(i_K\), cf. Equation (3.17). From Eq. (3.15), it now follows that the N\(^K\)LO Feynman rule is given by

figure h

Here “+ permutations” denotes the fact that all permutations of the gluons have to be added to obtain the full rule. The generic rule reproduces the LO, NLO and NNLO results presented above for \(K=0\), \(K=1\) and \(K=2\) respectively. Furthermore, for the operators without total derivatives, \(k=0\), we find agreement with the rules available in the literature up to N\(^3\)LO, cf. e.g. Equations (A.2)–(A.5) in [13] for all momenta coming into the vertex and Fig. (21) in [21] for physical momentum routing. We also agree with the N\(^4\)LO vertex presented in [25], cf. their Eq. (A.6).Footnote 4 Our results are also consistent with [48], in which the corresponding Feynman rule is presented in x-space. Finally, for fixed values of N, K and \(k>0\), it is straightforward to check that the forward limit of the operator vertex vanishes, as expected.

3.5 Extension to gluon operators

The general form of the all-order Feynman rule for the gauge-invariant quark operator, and its corresponding operator form in Eq. (3.15), can be used as a starting point in the derivation of the Feynman rules of other types of operators. As illustration, we present in this section the Feynman rule for the gauge-invariant leading-twist gluon operator

$$\begin{aligned} \mathcal {O}_{k,0,N-k-2}^G = \mathcal {S}\partial _{\mu _1}\dots \partial _{\mu _k}[F_{\nu \rho _1} D_{\rho _{2}}\dots D_{\rho _{N-k-3}} F_{\rho _{N-k-2}}^{}{}^{\nu }]. \end{aligned}$$
(3.19)

We use a similar convention for the covariant derivative in the adjoint representation as before, i.e.

$$\begin{aligned} D_{\mu }F_{\rho \sigma }^{a} = \partial _{\mu }F_{\rho \sigma }^{a}-\delta _{D}(i g_s T^{a}_{bc}A_{\mu }^{b}F_{\rho \sigma }^{c}). \end{aligned}$$
(3.20)

Using \(T^{a}_{bc}=i f^{abc}\), with \(f^{abc}\) the standard structure constants of \(SU(N_c)\), this becomes

$$\begin{aligned} D_{\mu }F_{\rho \sigma }^{a} = \partial _{\mu }F_{\rho \sigma }^{a}+\delta _{D} (g_s f^{abc}A_{\mu }^{b}F_{\rho \sigma }^{c}). \end{aligned}$$
(3.21)

With these conventions the gluon field strength takes the following form

$$\begin{aligned} F_{\mu \nu }^{a} = \partial _{\mu }A_{\nu }^{a}-\partial _{\nu }A_{\mu }^{a}+\delta _D (g_s f^{abc}A_{\mu }^{b}A_{\nu }^{c}). \end{aligned}$$
(3.22)

As we did above, we implement the leading-twist approximation by contracting the operator with N copies of a lightlike vector \(\Delta \)

$$\begin{aligned} \mathcal {O}_{k,0,N-k-2}^G = \partial ^{k}[F_{\nu \Delta } D^{N-k-2} F_{\Delta }^{}{}^{\nu }] \end{aligned}$$
(3.23)

in which we defined

$$\begin{aligned} F_{\mu \Delta } \equiv F_{\mu \lambda }\Delta ^{\lambda }. \end{aligned}$$
(3.24)

We mimic the notation introduced above and write the operator vertex associated to Eq. (3.23) as

figure i

i.e. two of the gluons are denoted with \(A_{\mu _{K+1}}^{a}(P_1)\) and \(A_{\mu _{K+2}}^{b}(P_2)\) while each extra gluon at higher orders is denoted by \(A_{\mu _{i}}^{c_i}(p_i)\) with \(i\in [1,K]\). To derive the corresponding Feynman rule, we now follow the same reasoning as for the derivation of the quark operator rule. In fact, we can recycle the expression presented in Eq. (3.15) for the gluon operator with some simple replacements

  • \(N\rightarrow N-1\), to take into account that the gluon operator has one less covariant derivative than the quark one,

  • \(\tilde{\Gamma }\rightarrow 1\),

  • \((-i\,g_s\Delta _D)^{K} \rightarrow (g_s\Delta _D)^{K}\), cf. Eq. (3.21),

  • \(\partial ^{k-l}\overline{\psi }\rightarrow \partial ^{k-l}F_{\nu \Delta }\),

  • \(\partial ^{N-k-i_1+m_K-2}\psi \rightarrow \partial ^{N-k-i_1+m_K-3}F_{\Delta }^{}{}^{\nu }\).

This implies that the K-th order gluon operator is written as

$$\begin{aligned}&\mathcal {O}_{k,0,N-k-2}^{G,\text {N}^K\text {LO}} = (g_s\delta _D)^{K}\sum _{l=0}^{k}\left( {\begin{array}{c}k\\ l\end{array}}\right) (\partial ^{k-l}F_{\nu \Delta })\nonumber \\&\quad \times \prod _{j=0}^{K-1}\sum _{i_{j+1}=0}^{i_{j}-1}\sum _{m_{j+1}=0}^{i_{j}-i_{j+1}+m_{j}-1}\left( {\begin{array}{c}i_{j}-i_{j+1}+m_{j}-1\\ m_{j+1}\end{array}}\right) \nonumber \\&\quad \times (\partial ^{i_{j}-i_{j+1}+m_{j}-m_{j+1}-1}A_{j+1})(\partial ^{N-k-i_{1}+m_{K}-3}F_{\Delta }^{}{}^{\nu }) \end{aligned}$$
(3.25)

where, as in Eq. (3.15), we have stripped off the overall color factor \(\mathcal {C}^{a b c_1 \dots c_K}\). Because of the structure of the gluon operator, this color factor can be written as

$$\begin{aligned} \mathcal {C}^{a b c_1 \dots c_K} = \prod _{j=0}^{K-1}f^{x_{j}c_{j+1}x_{j+1}} \end{aligned}$$
(3.26)

with \(x_0 \equiv a\) and \(x_K \equiv b\).

Note however that, since the field strength depends on the coupling, cf. Eq. (3.22), the terms in Eq. (3.25) have to be reorganized to select those that are \(O(g_s^{K})\). To do so, we need to take into account three contributions

  • double Abelian (Ab-Ab): the product of the Abelian parts of the field strengths, substituted in the K-th order vertex,

  • Abelian-non-Abelian (Ab-nAb): the product of an Abelian term with a non-Abelian one, substituted in the \((K-1)\)-st order vertex and

  • double-non-Abelian (nAb-nAb): the product of the two non-Abelian parts of the field strengths, substituted in the \((K-2)\)-nd order vertex.

Accordingly we write

$$\begin{aligned} \mathcal {O}_{k,0,N-k-2}^{G,\text {N}^K\text {LO}} = \mathcal {O}_{k,0,N-k-2}^{\text {Ab-Ab},\text {N}^K\text {LO}}+\mathcal {O}_{k,0,N-k-2}^{\text {Ab-nAb},\text {N}^K\text {LO}}+\mathcal {O}_{k,0,N-k-2}^{\text {nAb-nAb},\text {N}^K\text {LO}} \end{aligned}$$
(3.27)

in which each term is now \(O(g_s^K)\). As illustration, let us consider the first contribution which corresponds to replacing the field strengths by their Abelian parts. Because of the structure of the operator in Eq. (3.25), we concentrate on a product of field strengths of the form \(\partial ^{N}(F_{\nu \Delta }^{a})\partial ^{M}(F_{\Delta \nu }^{b})\) for arbitrary values of N and M. We have

$$\begin{aligned}{} & {} \partial ^{N}(F_{\nu \Delta }^{a})\partial ^{M}(F_{\Delta \nu }^{b}) = (\partial _{\nu }\partial ^{N}A^{a}-\partial ^{N+1}A_{\nu }^{a})(\partial ^{M+1}A_{\nu }^{b}-\partial _{\nu }\partial ^{M}A^{b})\nonumber \\{} & {} \quad \equiv \mathcal {O}_{\mu \nu }^{ab}(N,M) \end{aligned}$$
(3.28)

such that the corresponding Feynman rule becomes

figure j

At higher orders more gluons are attached to this vertex coming from the expansion of the covariant derivatives in the operator. Following the notation introduced above, this gives an additional factor that, symbolically, is of the form \(\prod _{j=1}^{K}\Delta _{\mu _j}(\Delta \cdot p_j)^{f(j)}\). Finally we need to substitute everything into the K-th order vertex, cf. Eq. (3.25), replacing N, M and f(j) by the appropriate functions. Furthermore the \(\delta ^{ab}\) should be replaced by \(\mathcal {C}^{ab c_1 \dots c_K}\) for the \((K+2)\)-gluon vertex, cf. Eq. (3.26). We find

$$\begin{aligned}&\mathcal {O}_{k,0,N-k-2}^{\text {Ab-Ab},\text {N}^K\text {LO}} = (g_s\delta _D)^{K}\left( \prod _{r=1}^{K}\Delta _{\mu _r}\right) \mathcal {C}^{a b c_1\dots c_K}\nonumber \\&\quad \times \mathcal {L}_{\mu _{K+1}\mu _{K+2}}^{(1)}\sum _{l=0}^{k}\left( {\begin{array}{c}k\\ l\end{array}}\right) (-i\,\Delta \cdot P_1)^{k-l}\nonumber \\&\quad \times \prod _{j=0}^{K-1}\sum _{i_{j+1}=0}^{i_{j}-1}\sum _{m_{j+1}=0}^{i_{j}-i_{j+1}+m_{j}-1}\left( {\begin{array}{c}i_{j}-i_{j+1}+m_{j}-1\\ m_{j+1}\end{array}}\right) \nonumber \\&\quad \times (-i\,\Delta \cdot p_{j+1})^{i_{j}-i_{j+1}+m_{j}-m_{j+1}-1}\nonumber \\&\quad \times (-i\,\Delta \cdot P_2)^{N-k-i_{1}+m_{K}-3} + \text { permutations} \end{aligned}$$
(3.29)

with

$$\begin{aligned}&\mathcal {L}_{\mu _{K+1}\mu _{K+2}}^{(1)} = -P_{1\mu _{K+2}}\Delta _{\mu _{K+1}}(\Delta \cdot P_2)+(P_1\cdot P_2)\Delta _{\mu _{K+1}}\nonumber \\&\quad \times \Delta _{\mu _{K+2}} +(\Delta \cdot P_1)(\Delta \cdot P_2)g_{\mu _{K+1}\mu _{K+2}}\nonumber \\&\quad -P_{2\mu _{K+1}}\Delta _{\mu _{K+2}}(\Delta \cdot P_1) \end{aligned}$$
(3.30)

and

$$\begin{aligned}&i_0-1 = N-k-3, \end{aligned}$$
(3.31)
$$\begin{aligned}&i_0-i_1+m_0-1=i_K+l. \end{aligned}$$
(3.32)

The ‘+ permutations’ in this rule denotes the fact that all permutations of the gluon fields have to be added. As the number of gluons in the K-th order vertex is \((K+2)\), the corresponding Feynman rule needs to have all \((K+2)!\) permutations .Footnote 5 The treatment of the remaining two terms in Eq. (3.27) works in a similar way and we find

$$\begin{aligned}&\mathcal {O}_{k,0,N-k-2}^{\text {Ab-nAb},\text {N}^K\text {LO}} = (g_s\delta _D)^{K}\left( \prod _{r=1}^{K}\Delta _{\mu _r}\right) \mathcal {C}^{a b c_1\dots c_K}\nonumber \\&\quad \times \mathcal {L}_{\mu _{K+1}\mu _{K+2}}^{(2)}\sum _{l=0}^{k}\left( {\begin{array}{c}k\\ l\end{array}}\right) (-i\, \Delta \cdot P_1-i\, \Delta \cdot p_1)^{k-l}\nonumber \\&\quad \times \prod _{j=0}^{K-2}\sum _{i_{j+1}=0}^{i_{j}-1}\sum _{m_{j+1}=0}^{i_{j}-i_{j+1}+m_{j}-1}\left( {\begin{array}{c}i_{j}-i_{j+1}+m_{j}-1\\ m_{j+1}\end{array}}\right) \nonumber \\&\quad \times (-i\,\Delta \cdot p_{j+2})^{i_{j}-i_{j+1}+m_{j}-m_{j+1}-1}\nonumber \\&\quad \times (-i\,\Delta \cdot P_2)^{N-k-i_{1}+m_{K-1}-3} + \text { permutations} \end{aligned}$$
(3.33)

with

$$\begin{aligned}&\mathcal {L}_{\mu _{K+1}\mu _{K+2}}^{(2)} = -2i\left[ g_{\mu _{K+1}\mu _{K+2}}(\Delta \cdot P_2)-P_{2\mu _{K+1}}\Delta _{\mu _{K+2}}\right] , \end{aligned}$$
(3.34)
$$\begin{aligned}&i_0-1 = N-k-3, \end{aligned}$$
(3.35)
$$\begin{aligned}&i_0-i_1+m_0-1=i_{K-1}+l \end{aligned}$$
(3.36)

and

$$\begin{aligned}&\mathcal {O}_{k,0,N-k-2}^{\text {nAb-nAb},\text {N}^K\text {LO}} = (g_s\delta _D)^{K}\left( \prod _{r=1}^{K}\Delta _{\mu _r}\right) \mathcal {C}^{a b c_1\dots c_K}\nonumber \\&\quad \mathcal {L}_{\mu _{K+1}\mu _{K+2}}^{(3)}\sum _{l=0}^{k}\left( {\begin{array}{c}k\\ l\end{array}}\right) (-i\,\Delta \cdot P_1-i\,\Delta \cdot p_1)^{k-l}\nonumber \\&\quad \times \prod _{j=0}^{K-3}\sum _{i_{j+1}=0}^{i_{j}-1}\sum _{m_{j+1}=0}^{i_{j}-i_{j+1}+m_{j}-1}\left( {\begin{array}{c}i_{j}-i_{j+1}+m_{j}-1\\ m_{j+1}\end{array}}\right) \nonumber \\&\quad \times (-i\,\Delta \cdot p_{j+2})^{i_{j}-i_{j+1}+m_{j}-m_{j+1}-1}\nonumber \\&\quad \times (-i\,\Delta \cdot P_2-i\,\Delta \cdot p_{K})^{N-k-i_{1}+m_{K-2}-3} + \text { permutations} \end{aligned}$$
(3.37)

with

$$\begin{aligned}&\mathcal {L}_{\mu _{K+1}\mu _{K+2}}^{(3)} = g_{\mu _{K+1}\mu _{K+2}}, \end{aligned}$$
(3.38)
$$\begin{aligned}&i_0-1 = N-k-3, \end{aligned}$$
(3.39)
$$\begin{aligned}&i_0-i_1+m_0-1=i_{K-2}+l. \end{aligned}$$
(3.40)

Hence the full K-th order gluon Feynman rule is now given by Eq. (3.27) with the three terms in the decomposition given by Eqs. (3.29), (3.33) and (3.37). We have performed the following checks on our result:

  • from the functional form of the operator, the overall momentum scaling of the Feynman rule is expected to be \(p^{N-K}\), which our rule indeed obeys;

  • the expression vanishes in the forward limit when \(k>0\);

  • we have checked that the results up to N\(^3\)LO match the literature, explicitly Eqs. (A.6)–(A.9) in [13].Footnote 6

Finally, note that the above discussion is easily generalized to the polarized gluon operator, defined as

$$\begin{aligned} \tilde{\mathcal {O}}_{k,0,N-k-2}^G = \mathcal {S}\partial _{\mu _1}\dots \partial _{\mu _k}[\tilde{F}_{\nu \rho _1} D_{\rho _{2}}\dots D_{\rho _{N-k-3}} F_{\rho _{N-k-2}}^{}{}^{\nu }] \end{aligned}$$
(3.41)

with

$$\begin{aligned} \tilde{F}_{\mu \nu } = \frac{1}{2}\varepsilon _{\mu \nu \rho \sigma }F^{\rho \sigma } \end{aligned}$$
(3.42)

the gluon dual field strength and \(\varepsilon _{\mu \nu \rho \sigma }\) the standard completely anti-symmetric Levi-Civita symbol. Performing the same steps as for the unpolarized operator we find that the Feynman rule is of the form

$$\begin{aligned} \tilde{\mathcal {O}}_{k,0,N-k-2}^{G,\text {N}^K\text {LO}} = \tilde{\mathcal {O}}_{k,0,N-k-2}^{\text {Ab-Ab},\text {N}^K\text {LO}}+\tilde{\mathcal {O}}_{k,0,N-k-2}^{\text {Ab-nAb},\text {N}^K\text {LO}}+\tilde{\mathcal {O}}_{k,0,N-k-2}^{\text {nAb-nAb},\text {N}^K\text {LO}} \end{aligned}$$
(3.43)

with the three contributions defined as follows

  1. (1)
    $$\begin{aligned}&\tilde{\mathcal {O}}_{k,0,N-k-2}^{\text {Ab-Ab},\text {N}^K\text {LO}} = (g_s\delta _D)^{K}\left( \prod _{r=1}^{K}\Delta _{\mu _r}\right) \mathcal {C}^{a b c_1\dots c_K}\nonumber \\&\quad \times \tilde{\mathcal {L}}_{\mu _{K+1}\mu _{K+2}}^{(1)}\sum _{l=0}^{k}\left( {\begin{array}{c}k\\ l\end{array}}\right) (-i\,\Delta \cdot P_1)^{k-l}\nonumber \\&\quad \times \prod _{j=0}^{K-1}\sum _{i_{j+1}=0}^{i_{j}-1}\sum _{m_{j+1}=0}^{i_{j}-i_{j+1}+m_{j}-1}\left( {\begin{array}{c}i_{j}-i_{j+1}+m_{j}-1\\ m_{j+1}\end{array}}\right) \nonumber \\&\quad \times (-i\,\Delta \cdot p_{j+1})^{i_{j}-i_{j+1}+m_{j}-m_{j+1}-1}\nonumber \\&\quad \times (-i\,\Delta \cdot P_2)^{N-k-i_{1}+m_{K}-3} + \text { permutations} \end{aligned}$$
    (3.44)

    with

    $$\begin{aligned}&\tilde{\mathcal {L}}_{\mu _{K+1}\mu _{K+2}}^{(1)} = (\Delta \cdot P_2) \varepsilon _{\mu _{K+2}\,\Delta \, P_1\,\mu _{K+1}}\nonumber \\&\qquad -\Delta _{\mu _{K+2}}\varepsilon _{P_2\,\Delta \, P_1\,\mu _{K+1}}, \end{aligned}$$
    (3.45)
    $$\begin{aligned}&i_0-1 = N-k-3, \end{aligned}$$
    (3.46)
    $$\begin{aligned}&i_0-i_1+m_0-1=i_K+l, \end{aligned}$$
    (3.47)
  2. (2)
    $$\begin{aligned}&\tilde{\mathcal {O}}_{k,0,N-k-2}^{\text {Ab-nAb},\text {N}^K\text {LO}} = (g_s\delta _D)^{K}\left( \prod _{r=1}^{K-1}\Delta _{\mu _r}\right) \mathcal {C}^{a b c_1\dots c_K}\nonumber \\&\quad \times \tilde{\mathcal {L}}_{\mu _K\mu _{K+1}\mu _{K+2}}^{(2a)}\sum _{l=0}^{k}\left( {\begin{array}{c}k\\ l\end{array}}\right) (-i\, \Delta \cdot P_2-i\, \Delta \cdot p_K)^{k-l}\nonumber \\&\quad \times \prod _{j=0}^{K-2}\sum _{i_{j+1}=0}^{i_{j}-1}\sum _{m_{j+1}=0}^{i_{j}-i_{j+1}+m_{j}-1}\left( {\begin{array}{c}i_{j}-i_{j+1}+m_{j}-1\\ m_{j+1}\end{array}}\right) \nonumber \\&\quad \times (-i\,\Delta \cdot p_{K-j-1})^{i_{j}-i_{j+1}+m_{j}-m_{j+1}-1}\nonumber \\&\quad \times (-i\,\Delta \cdot P_1)^{N-k-i_{1}+m_{K-1}-3} \nonumber \\&\quad + (g_s\delta _D)^{K}\left( \prod _{r=1}^{K}\Delta _{\mu _r}\right) \mathcal {C}^{a b c_1\dots c_K}\nonumber \\&\quad \times \tilde{\mathcal {L}}_{\mu _{K+1}\mu _{K+2}}^{(2b)}\sum _{l=0}^{k}\left( {\begin{array}{c}k\\ l\end{array}}\right) (-i\, \Delta \cdot P_2)^{k-l}\nonumber \\&\quad \times \prod _{j=0}^{K-2}\sum _{i_{j+1}=0}^{i_{j}-1}\sum _{m_{j+1}=0}^{i_{j}-i_{j+1}+m_{j}-1}\left( {\begin{array}{c}i_{j}-i_{j+1}+m_{j}-1\\ m_{j+1}\end{array}}\right) \nonumber \\&\quad \times (-i\,\Delta \cdot p_{K-j})^{i_{j}-i_{j+1}+m_{j}-m_{j+1}-1}\nonumber \\&\quad \times (-i\,\Delta \cdot P_1-i\,p_1)^{N-k-i_{1}+m_{K-1}-3} + \text { permutations} \end{aligned}$$
    (3.48)

    with

    $$\begin{aligned}&\tilde{\mathcal {L}}_{\mu _{K}\mu _{K+1}\mu _{K+2}}^{(2a)} = (-1)^{K}\,\frac{i}{2}\left( \varepsilon _{\mu _{K+1}\,\Delta \,\mu _{K+2}\,\mu _K}(\Delta \cdot P_1)\right. \nonumber \\&\quad \left. -\varepsilon _{P_1\,\Delta \,\mu _{K+2}\,\mu _K}\Delta _{\mu _{K+1}}\right) , \end{aligned}$$
    (3.49)
    $$\begin{aligned}&\quad \tilde{\mathcal {L}}_{\mu _{K+1}\mu _{K+2}}^{(2b)} = (-1)^{K}\,i\,\varepsilon _{\mu _{K+1}\,\Delta \,P_2\,\mu _{K+2}}, \end{aligned}$$
    (3.50)
    $$\begin{aligned}&i_0-1 = N-k-3, \end{aligned}$$
    (3.51)
    $$\begin{aligned}&i_0-i_1+m_0-1=i_{K-1}+l \end{aligned}$$
    (3.52)
  3. (3)
    $$\begin{aligned}&\tilde{\mathcal {O}}_{k,0,N-k-2}^{\text {nAb-nAb},\text {N}^K\text {LO}} = (g_s\delta _D)^{K}\left( \prod _{r=2}^{K} \Delta _{\mu _r}\right) \mathcal {C}^{a b c_1\dots c_K}\nonumber \\&\quad \times \tilde{\mathcal {L}}_{\mu _1\mu _{K+1}\mu _{K+2}}^{(3)} \sum _{l=0}^{k}\left( {\begin{array}{c}k\\ l\end{array}}\right) (-i\,\Delta \cdot P_1-i\,\Delta \cdot p_1)^{k-l}\nonumber \\&\quad \times \prod _{j=0}^{K-3}\sum _{i_{j+1}=0}^{i_{j}-1}\sum _{m_{j+1}=0}^{i_{j}-i_{j+1}+m_{j}-1}\left( {\begin{array}{c}i_{j}-i_{j+1}+m_{j}-1\\ m_{j+1}\end{array}}\right) \nonumber \\&\quad \times (-i\,\Delta \cdot p_{j+2})^{i_{j}-i_{j+1}+m_{j}-m_{j+1}-1}\nonumber \\&\quad \times (-i\,\Delta \cdot P_2-i\,\Delta \cdot p_{K})^{N-k-i_{1}+m_{K-2}-3} + \text { permutations} \end{aligned}$$
    (3.53)

    with

    $$\begin{aligned}&\tilde{\mathcal {L}}_{\mu _1\mu _{K+1}\mu _{K+2}}^{(3)} = -\frac{(-1)^{K}}{2} \varepsilon _{\mu _{K+2}\,\Delta \,\mu _{K+1}\,\mu _1}, \end{aligned}$$
    (3.54)
    $$\begin{aligned}&i_0-1 = N-k-3, \end{aligned}$$
    (3.55)
    $$\begin{aligned}&i_0-i_1+m_0-1=i_{K-2}+l. \end{aligned}$$
    (3.56)

We have explicitly checked that, for \(k=0\), our LO and NLO results agree with the rules presented in [17].Footnote 7 Note however that the comparison is not direct, as one needs to use the Schouten identity which reads

$$\begin{aligned} V^{\tau }\varepsilon ^{\mu \nu \rho \sigma }+V^{\mu }\varepsilon ^{\nu \rho \sigma \tau }+V^{\nu }\varepsilon ^{\rho \sigma \tau \mu }+V^{\rho }\varepsilon ^{\sigma \tau \mu \nu }+V^{\sigma }\varepsilon ^{\tau \mu \nu \rho } = 0 \end{aligned}$$
(3.57)

for some arbitrary vector V. The NNLO result in [17] is incorrect, as pointed out already in [49]. In the latter paper the authors present a corrected version, cf. their Eq. (144). However, it turns out that also this expression is incorrect. One way to see this is that it is not permutation invariant. Interestingly, it seems that one should combine different parts of the expressions in [17, 49]. Both agree for the double-non-Abelian part, corresponding to the terms without any sums. Then however one should take the double-Abelian part, corresponding to the terms with the double sums, from [17] while from [49] we need to take the Abelian-non-Abelian piece, i.e. the terms containing the single sums. Our rule then correctly reproduces the resulting expression. The expression for the five-gluon vertex is also known, cf. Eqs. (A.1)–(A.3) in [50]. Dividing out an overall factor of \(-i/(2\,i^{N-2})\), coming from differing operator definitions, we agree with their rule up to a factor of 1/2 in the double-non-Abelian part (i.e. the terms with only single sums). Finally, we explicitly checked that the operator vertex vanishes in the forward limit when \(k>0\) and that it vanishes when N is even.Footnote 8

4 Implementation of the N\(^K\)LO Feynman rules

The expressions above for the quark and gluon Feynman rules are written in a form appropriate for implementation in computer algebra systems. As illustration, we provide implementations both in Mathematica and in FORM, which are available at https://github.com/vtsam/NKLO. Below we briefly summarize how these codes can be used.

Mathematica The NKLO.wl file contains two functions, called NKLO and NKLOg, which take the arguments N, k and K (in that order). The NKLO function encodes the Feynman rule for the quark operators and accepts the following options:

  • kinematics: choose the momentum routing, which corresponds to setting \(\delta _1\) and \(\delta _2\) above to specific values. The default value is “generic”, which keeps \(\delta _1\) and \(\delta _2\) symbolic. Other allowed values are “incoming”, which sets \(\delta _1=\delta _2=-1\) and “physical” for which \(\delta _1=-1, \delta _2=+1\).

  • covD: specifies the convention used for the covariant derivative, which corresponds to setting a value for \(\delta _D\) above. The default option is “generic”, which keeps \(\delta _D\) symbolic. Alternatively one can set “covD\(\rightarrow \) 1 or “covD\( \rightarrow \) -1.

  • perms: include all permutations of the gluons. When set to True, all K! permutations are included. When set to False, the rule only keeps one particular ordering, corresponding to \(t^{c_1}\dots t^{c_K}\). The default value is True.

Furthermore, the output of the NKLO function is such that the momenta are written in the same way as in the text, i.e. the quark momenta are P[1] and P[2] while the momenta of the additional gluons are denoted by p[i]. The scalar product of the lightlike \(\Delta \) with some momentum r is denoted as Delta[r]. Note that the input parameters need not all be numeric. In particular, one can produce all-N expressions by keeping the first argument of the NKLO function symbolic. For example, the function call

figure k

will reproduce the NLO Feynman rule. Such symbolic expression are useful when one wants to perform the all-N reductions generically. This can for example be achieved by resumming the operator insertions into linear propagators, see e.g. [51, 52]. The code can also produce the rules for symbolic k and symbolic (N, k). The number of gluons however always needs to be specified explicitly (i.e. \(K\ge 0\)). For example, the Feynman rule for the NNLO vertex can be generated with the function callFootnote 9

figure l

The second provided function, NKLOg, encodes the Feynman rule for the gluon operators. Here the following options are available:

  • polarization: choose whether to generate the rules for the polarized or unpolarized gluon operators. The default value is False.

  • Abelian: choose whether to work in an Abelian or a non-Abelian theory. When set to True, only the first term in Eq. (3.27), which corresponds to taking into account only the Abelian part of the field strength, is keptFootnote 10. The default value is False, meaning the generated rule is valid for a non-Abelian model like QCD.

  • covD: specifies the convention used for the covariant derivative, which corresponds to setting a value for \(\delta _D\) in Eq. (3.21) above. The default option is generic, which keeps \(\delta _D\) symbolic. Alternatively one can set “covD\(\rightarrow \) 1 or “covD\( \rightarrow \) -1.

  • perms: include all permutations of the gluons. When set to True, all \((K+2)!\) permutations are included. Furthermore, the anti-symmetry properties of the structure constants are implemented to obtain a minimal set of color structures in the output. When set to False, the rule only keeps one particular ordering corresponding to \(\mathcal {C}^{a b c_1 \dots c_K}\), cf. Eq. (3.26). The default value is True.

FORM We also provide a FORM code to generate the operator Feynman rules. This can be used by running the NKLO.sh script. When run, the user will be prompted to input the operator type, operator spin, the number of total derivatives and the number of additional gluons. Contrary to the Mathematica implementation, the last three values need to be numeric. Valid input options for the operator type are q for the quark operators, g for the unpolarized gluon operators and gp for the polarized ones. Furthermore, the user is asked whether or not to include permutations. When the latter is set to 0, the part of the Feynman rule corresponding to the color-ordering \(t^{c_1}\dots t^{c_K}\) is generated for the quark operators and \(f^{a c_1 x_1}f^{x_1 c_1 x_2}\dots f^{x_{K-1}c_K b}\) for the gluon operators. All other permutations are omitted. If the value for the permutations is different from 0, all permutations of the gluonic fields are generated. The rule is written to the output file output_...op_N..._k..._K....h (e.g. the rule for the \(N=6\) quark operator with \(k=1\) and \(K=2\) is written to the file output_qop_N6_k1_K2.h).

5 Conclusions and outlook

In this article, we derived the Feynman rules for leading-twist gauge invariant operators with an arbitrary number of total derivatives and an arbitrary number of gluons. The knowledge of such Feynman rules is important for the study of hard QCD scattering processes, as the scale dependence of parton distributions is determined by the anomalous dimensions of the operators that define these distributions. The anomalous dimensions can be computed perturbatively by renormalizing the partonic matrix elements of the operators, which requires the Feynman rules of the operator insertions. Furthermore, for exclusive processes the operator matrix elements are non-forward and mixing with total-derivative operators has to be taken into account, such that also the Feynman rules for total-derivative operator insertions are generically needed. We present our results in a form appropriate for implementation in a computer algebra system, and we provide sample implementations in Mathematica and FORM which are available at https://github.com/vtsam/NKLO.