The invention, in a second aspect, as shown in Fig. 2, is a method for implementing such a quantum memory device for polarization-encoded photonic qubits that utilizes a simple free-space optical storage loop, and the coherence of the photonic qubits is maintained during switching operations by using a high-speed electro-optic polarizing Sagnac interferometer switch.