For
C of genus 0 there is one such divisor class, namely the class of
-P, where
P is any point on the curve. In case of higher genus
g, assuming the field over which
C is defined does not have
characteristic 2, the theta characteristics can be counted as :22
g in number if the base field is algebraically closed. This comes about because the solutions of the equation on the divisor class level will form a single
coset of the solutions of :2
D = 0. In other words, with
K the canonical class and Θ any given solution of :2Θ =
K, any other solution will be of form :Θ +
D. This reduces counting the theta characteristics to finding the 2-rank of the
Jacobian variety J(
C) of
C. In the complex case, again, the result follows since
J(
C) is a complex torus of dimension 2
g. Over a general field, see the theory explained at
Hasse-Witt matrix for the counting of the
p-rank of an abelian variety. The answer is the same, provided the characteristic of the field is not 2. A theta characteristic Θ will be called
even or
odd depending on the dimension of its space of global sections H^0(C, \Theta). It turns out that on
C there are 2^{g - 1} (2^g + 1) even and 2^{g-1}(2^g - 1) odd theta characteristics. ==Classical theory==