Capacity of a noisy quantum channel