Architectures for a quantum random access memory