  A quantum random access memory (qRAM) is considered an essential computing
unit to enable polynomial speedups in quantum information processing. Proposed
implementations include using neutral atoms and superconducting circuits to
construct a binary tree, but these systems still require demonstrations of the
elementary components. Here, we propose a photonic integrated circuit (PIC)
architecture integrated with solid-state memories as a viable platform for
constructing a qRAM. We also present an alternative scheme based on quantum
teleportation and extend it to the context of quantum networks. Both
implementations rely on already demonstrated components: electro-optic
modulators, a Mach-Zehnder interferometer (MZI) network, and nanocavities
coupled to artificial atoms for spin-based memory writing and retrieval. Our
approaches furthermore benefit from built-in error-detection based on photon
heralding. Detailed theoretical analysis of the qRAM efficiency and query
fidelity shows that our proposal presents viable near-term designs for a
general qRAM.
