Superconductivity of a quantum cylinder