Cyclical quantum memory for photonic qubits | Synapse