The action of the symplectic group associated with a quadratic extension of fields