arXiv:2601.02233v2 Announce Type: replace-cross Abstract: Efficient classical simulation of quantum systems often relies on exploiting their algebraic structure to identify compact operator representations and perform arithmetic directly within them. We introduce PauliEngine, a high-performance C++ backend with a unified Python interface for numerical and symbolic quantum operator arithmetic. We develop adaptive storage and multiplication algorithms that exploit both the binary structure and sparsity of Pauli operators, together with specialized routines for local commutators and the direct evaluation of individual commutator coefficients. To exploit symmetries throughout operator calculations, we extend these arithmetic capabilities to translation-invariant Pauli cycles and permutation-invariant Pauli orbits, enabling polynomial-time arithmetic between elementary orbit operators even for exponentially large Pauli expansions. Extensive benchmarks demonstrate leading performance across most investigated workloads, with runtime improvements of several orders of magnitude over many existing implementations and particularly pronounced advantages for large operators and registers. We demonstrate how these advances extend the computational reach of Lie-algebraic simulation, observable propagation, symmetric quantum dynamics, and variational quantum chemistry. With its combination of computational efficiency, accessibility, and extensibility, PauliEngine establishes a reusable arithmetic foundation for quantum software, enabling researchers to exploit the algebraic structure of quantum systems in the development of increasingly scalable classical simulation methods.
Finished reading? Continue to the original source above — or join the discussion below.