Quantum Computing With Distributed Modules