Quantum channel simulation