Distributed quantum computation over noisy channels