ResearchTrend.AI
  • Papers
  • Communities
  • Organizations
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2204.03495
31
10
v1v2 (latest)

Covariance matrix preparation for quantum principal component analysis

7 April 2022
Max Hunter Gordon
M. Cerezo
L. Cincio
Patrick J. Coles
ArXiv (abs)PDFHTML
Abstract

Principal component analysis (PCA) is a dimensionality reduction method in data analysis that involves diagonalizing the covariance matrix of the dataset. Recently, quantum algorithms have been formulated for PCA based on diagonalizing a density matrix. These algorithms assume that the covariance matrix can be encoded in a density matrix, but a concrete protocol for this encoding has been lacking. Our work aims to address this gap. Assuming amplitude encoding of the data, with the data given by the ensemble {pi,∣ψi⟩}\{p_i,| \psi_i \rangle\}{pi​,∣ψi​⟩}, then one can easily prepare the ensemble average density matrix ρ‾=∑ipi∣ψi⟩⟨ψi∣\overline{\rho} = \sum_i p_i |\psi_i\rangle \langle \psi_i |ρ​=∑i​pi​∣ψi​⟩⟨ψi​∣. We first show that ρ‾\overline{\rho}ρ​ is precisely the covariance matrix whenever the dataset is centered. For quantum datasets, we exploit global phase symmetry to argue that there always exists a centered dataset consistent with ρ‾\overline{\rho}ρ​, and hence ρ‾\overline{\rho}ρ​ can always be interpreted as a covariance matrix. This provides a simple means for preparing the covariance matrix for arbitrary quantum datasets or centered classical datasets. For uncentered classical datasets, our method is so-called "PCA without centering", which we interpret as PCA on a symmetrized dataset. We argue that this closely corresponds to standard PCA, and we derive equations and inequalities that bound the deviation of the spectrum obtained with our method from that of standard PCA. We numerically illustrate our method for the MNIST handwritten digit dataset. We also argue that PCA on quantum datasets is natural and meaningful, and we numerically implement our method for molecular ground-state datasets.

View on arXiv
Comments on this paper