Quantum deformation theory of some algebraic curves