Quantum Principal Component Analysis and Self-Tomography