Degenerate Landau-Zener model in the presence of quantum noise