About that morphism F(z,w,s,t)=2iz−iw+3√3s−√3t , seen as a morphism of abelian groups, it can be defined as follows as a morphism from Z4 to the (abelian group obained by applying the forgetful functor from the) field Q(√−1,√3) as follows, using the short cuts j=√−1 and b=√3:
A = ZZ^4
F.<j,b> = NumberField([sqrt(-1).minpoly(), sqrt(3).minpoly()])
f = A.Hom(F^1)((2*j, -j, 3*b, -b))
Then we have for instance:
sage: f((1,1,1,1))
(j + 2*b)
The "trick" is best explained by examining the following objects:
sage: F
Number Field in j with defining polynomial x^2 + 1 over its base field
sage: F^1
Vector space of dimension 1 over Number Field in j with defining polynomial x^2 + 1 over its base field