Software Architectures for Real-Time Quantum Control Systems