Modular quantum computing