English

Quantum algorithm for the gradient of a logarithm-determinant

Quantum Physics 2025-09-23 v3 Mathematical Physics math.MP

Abstract

The logarithm-determinant is an widely-present operation in many areas of physics and computer science. Derivatives of the logarithm-determinant compute physically relevant quantities in statistical physics models, quantum field theories, as well as the inverses of matrices. A multi-variable version of the quantum gradient algorithm is developed here to evaluate the derivative of the logarithm-determinant. From this, the inverse of a sparse-rank input operator may be determined efficiently. Measuring an expectation value of the quantum state--instead of all N2N^2 elements of the input operator--can be accomplished in O(k/ε2)O(k/\varepsilon^2) time in the idealized case for kk relevant eigenvectors of the input matrix with precision ε\varepsilon. A practical implementation of the required operator will likely need log2N\log_2N overhead, giving an overall complexity of O((klog2N)/ε2)O((k\log_2 N)/\varepsilon^2). The method applies widely and converges super-linearly in kk when the condition number is high. The best classical method we are aware of scales as NN. Given the same resource assumptions as other algorithms, such that an equal superposition of eigenvectors is available efficiently, the algorithm is evaluated in the practical case as O(log2N/ε2)O(\log_2 N/\varepsilon^2). The output is given in O(1)O(1) queries of oracle, which is given explicitly here and only relies on time-evolution operators that can be implemented with arbitrarily small error. The algorithm is envisioned for fully error-corrected quantum computers but may be implementable on near-term machines. We discuss how this algorithm can be used for kernel-based quantum machine-learning.

Keywords

Cite

@article{arxiv.2501.09413,
  title  = {Quantum algorithm for the gradient of a logarithm-determinant},
  author = {Thomas E. Baker and Jaimie A. Greasley},
  journal= {arXiv preprint arXiv:2501.09413},
  year   = {2025}
}

Comments

20 pages, 3 figures, 2 circuit diagrams, 1 table

R2 v1 2026-06-28T21:08:08.727Z