Quantum Information Processing with Real-world Devices