---
title: "Twists"
canonical: "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/PlaneQuartics/quartic_twists.html"
source: "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/PlaneQuartics/quartic_twists.md"
part: "Arithmetic Geometry"
chapter: "Plane Quartics"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Arithmetic Geometry", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/index-arithmetic-geometry.md"}
  - {"title": "Plane Quartics", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/PlaneQuartics/index-plane-quartics.md"}
prev: {"title": "Isomorphisms", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/PlaneQuartics/quartic_isomorphisms.md"}
next: {"title": "Bibliography", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/PlaneQuartics/bibliography.md"}
intrinsics:
  - {"name": "TwistsOfPlaneQuartic", "signature": "TwistsOfPlaneQuartic(C, Autos): Crv, SeqEnum -> SeqEnum[Crv], GrpPerm"}
  - {"name": "Twists", "signature": "Twists(C): Crv -> SeqEnum, GrpPerm"}
examples:
  - "ex-ae635c"
---

<a id="quartic-twists"></a>
<a id="crvg3-subsec-twists"></a>
# Twists

Using classical reductions to compute the cohomology set $H^1({\rm Gal}(\overline{k}/k),{\rm Aut}(C))$ over finite fields, the function `Twists` computes a list of representatives of all twists of a smooth plane quartic over a finite field. This relies on the prior computation of the geometric automorphism group of $C$, which the algorithms return as a second value when requested.

<a id="function-twistsofplanequartic-crv-seqenum"></a>
## `TwistsOfPlaneQuartic(C, Autos): Crv, SeqEnum -> SeqEnum[Crv], GrpPerm`

```magma
AutomorphismGroup: BoolElt                    Default: false
```

Compute the twists of the plane quartic curve $C$ from its geometric automorphism group $Autos$. If `AutomorphismGroup` is set to `true`, then the furnished automorphism group is additionally returned as an abstract group.

For more details, see [[LRRS14](https://docs.magma-maths.org/v2.30-1/references.md#cite-lrrs14), [MT10](https://docs.magma-maths.org/v2.30-1/references.md#cite-meto10)].

<a id="function-twists-crv"></a>
## `Twists(C): Crv -> SeqEnum, GrpPerm`

```magma
AutomorphismGroup: BoolElt                    Default: false
```

Compute the twists of the elliptic, hyperelliptic, or plane quartic curve $C$. If `AutomorphismGroup` is set to `true`, then the geometric automorphism group of $C$ is additionally returned as an abstract group.

<a id="example-ex-ae635c"></a>
## `Example: Twists of the Klein Quartic (ex-ae635c)`

We compute the twists of the Klein quartic over ${\mathbb{F}}_{31}$.

```magma
> P<x,y,z> := PolynomialRing(GF(31), 3);
> PP := ProjectiveSpace(P);
> f := x^3*y + y^3*z + z^3*x;
> C := Curve(ProjectiveSpace(P), f);
> #Twists(C);
4
```
