Papers
Topics
Authors
Recent
AI Research Assistant
AI Research Assistant
Well-researched responses based on relevant abstracts and paper content.
Custom Instructions Pro
Preferences or requirements that you'd like Emergent Mind to consider when generating responses.
Gemini 2.5 Flash
Gemini 2.5 Flash 60 tok/s
Gemini 2.5 Pro 46 tok/s Pro
GPT-5 Medium 14 tok/s Pro
GPT-5 High 15 tok/s Pro
GPT-4o 93 tok/s Pro
Kimi K2 156 tok/s Pro
GPT OSS 120B 441 tok/s Pro
Claude Sonnet 4 37 tok/s Pro
2000 character limit reached

Decomposing dense matrices into dense Pauli tensors (2401.16378v2)

Published 29 Jan 2024 in quant-ph, math-ph, and math.MP

Abstract: Decomposing a matrix into a weighted sum of Pauli strings is a common chore of the quantum computer scientist, whom is not easily discouraged by exponential scaling. But beware, a naive decomposition can be cubically more expensive than necessary! In this manuscript, we derive a fixed-memory, branchless algorithm to compute the inner product between a 2N-by-2N complex matrix and an N-term Pauli tensor in O(2N) time, by leveraging the Gray code. Our scheme permits the embarrassingly parallel decomposition of a matrix into a weighted sum of Pauli strings in O(8N) time. We implement our algorithm in Python, hosted open-source on Github, and benchmark against a recent state-of-the-art method called the "PauliComposer" which has an exponentially growing memory overhead, achieving speedups in the range of 1.5x to 5x for N < 8. Note that our scheme does not leverage sparsity, diagonality, Hermitivity or other properties of the input matrix which might otherwise enable optimised treatment in other methods. As such, our algorithm is well-suited to decomposition of dense, arbitrary, complex matrices which are expected dense in the Pauli basis, or for which the decomposed Pauli tensors are a priori unknown.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (16)
  1. Tyson Jones. DensePauliComposer. https://github.com/TysonRayJones/DensePauliDecomposer, 2024.
  2. PauliComposer: compute tensor products of pauli matrices efficiently. Quantum Information Processing, 22(12):449, December 2023.
  3. Sebastián V. Romero. PauliComposer. https://github.com/sebastianvromero/PauliComposer, 2023.
  4. Efficient estimation of pauli observables by derandomization. Physical review letters, 127(3):030503, 2021.
  5. Finding exponential product formulas of higher orders. In Quantum annealing and other optimization methods, pages 37–68. Springer, 2005.
  6. Theory of variational quantum simulation. Quantum, 3:191, 2019.
  7. Distributed simulation of statevectors and density matrices. arXiv preprint arXiv:2311.01512, 2023.
  8. Robert W Doran. The gray code. Journal of Universal Computer Science, 13(11):4, 2007.
  9. E Knuth Donald et al. The art of computer programming. Sorting and searching, 3(426-458):4, 1999.
  10. MC Er. On generating the n-ary reflected gray codes. IEEE transactions on computers, 100(8):739–741, 1984.
  11. Sean Eron Anderson. Bit twiddling hacks. URL: http://graphics. stanford. edu/~ seander/bithacks. html, 2005.
  12. The world’s technological capacity to store, communicate, and compute information. science, 332(6025):60–65, 2011.
  13. Multithreading architecture. Synthesis Lectures on Computer Architecture, 8(1):1–109, 2013.
  14. False sharing and its effect on shared memory performance. In 4th symposium on experimental distributed and multiprocessor systems, pages 57–71. Citeseer, 1993.
  15. On the topological design of distributed computer networks. IEEE Transactions on communications, 25(1):48–60, 1977.
  16. Reducing branch divergence in gpu programs. In Proceedings of the fourth workshop on general purpose processing on graphics processing units, pages 1–8, 2011.
Citations (4)

Summary

We haven't generated a summary for this paper yet.

Lightbulb On Streamline Icon: https://streamlinehq.com

Continue Learning

We haven't generated follow-up questions for this paper yet.

Authors (1)

List To Do Tasks Checklist Streamline Icon: https://streamlinehq.com

Collections

Sign up for free to add this paper to one or more collections.

X Twitter Logo Streamline Icon: https://streamlinehq.com

Tweets

This paper has been mentioned in 1 post and received 73 likes.

Don't miss out on important new AI/ML research

See which papers are being discussed right now on X, Reddit, and more:

“Emergent Mind helps me see which AI papers have caught fire online.”

Philip

Philip

Creator, AI Explained on YouTube