Quantum state reconstruction and stabilization