Quantum device (lz)