in algebraic geometry, an invertible sheaf on a nonsingular algebraic curve whose square is the canonical sheaf