Quantum self analysis