English

A quantum algorithm for estimating the determinant

Quantum Physics 2025-05-02 v2

Abstract

We present a quantum algorithm for estimating the matrix determinant based on quantum spectral sampling. The algorithm estimates the logarithm of the determinant of an n×nn \times n positive sparse matrix to an accuracy ϵ\epsilon in time O(logn/ϵ3){\cal O}(\log n/\epsilon^3), exponentially faster than previously existing classical or quantum algorithms that scale linearly in nn. The quantum spectral sampling algorithm generalizes to estimating any quantity jf(λj)\sum_j f(\lambda_j), where λj\lambda_j are the matrix eigenvalues. For example, the algorithm allows the efficient estimation of the partition function Z(β)=jeβEjZ(\beta) =\sum_j e^{-\beta E_j} of a Hamiltonian system with energy eigenvalues EjE_j, and of the entropy S=jpjlogpj S =-\sum_j p_j \log p_j of a density matrix with eigenvalues pjp_j.

Keywords

Cite

@article{arxiv.2504.11049,
  title  = {A quantum algorithm for estimating the determinant},
  author = {Vittorio Giovannetti and Seth Lloyd and Lorenzo Maccone},
  journal= {arXiv preprint arXiv:2504.11049},
  year   = {2025}
}

Comments

3 pages + Appendices. Bibliography updated to cite a similar algorithm