Quantum interfaces and memory