It is an implementation of the bls12-381 algorithm known as pairing-friendly, at GitHub.
Looking at this, the pairing parameters are $G_1$ and $G_2$, $G_1$ is the point of $F_q$, $G_2$ is the point of $F_{q^2}$.
However, some papers describe it as follows.
Bilinear Map Let G1, G2 be two cyclic groups of prime modulo p. Let g be a primitive root (i.e. generator) of G1. A bilinear map [10] or bilinear pairing „e‟ is an effectively calculable task e : G1 × G1 → G2 such that it satisfies the below two conditions,
- Non degeneracy: e(g, g) ≠ 1.
- Bilinearity: e(gx, gy) = e(g, g)xy for all x, y ∈ Z.
Setup: Let E(Fq) be an elliptic curve above the fixed field Fq where q is large prime number (at least 160 bits) and G be a point on elliptic curve E of order n. Let G1, G2 be two multiplicative cyclic groups of prime modulo n. Let e : G1 × G1 → G2 be a bilinear map, z = e(G1, G1) ∈ G2.
$$z = e(G_1, G_1)$$
Here, both parameters take the point of $F_q$. How are they different?