Quantum compression