← Back to Quantum Physics
quant-ph

A free tool that solves quantum integrals computers usually can't

Łukasz Pawela, Zbigniew Puchała

May 22, 2026

Averaging polynomial functions over random unitary matrices is central to quantum information and random matrix theory, but doing it exactly is notoriously painful by hand. This Julia package automates the full machinery — Weingarten calculus, Wick contractions, asymptotic expansions — across all the major matrix ensembles, returning exact symbolic answers rather than numerical estimates. It turns calculations that once required pages of combinatorics into a few lines of code.
Published as IntegrateUnitary.jl: A Julia package for symbolic integration over Haar measures arXiv:2605.23830
Read the original paper →