RandomMeas.jl: A Julia Package for Randomized Measurements in Quantum Devices
arXiv:2509.12749 · doi:10.22331/q-2026-04-28-2086
Abstract
We introduce $\texttt{RandomMeas$.$jl}$, a modular and high-performance open-source software package written in Julia for implementing and analyzing randomized measurement protocols in quantum computing. Randomized measurements provide a powerful framework for extracting properties of quantum states and processes such as expectation values, entanglement, and fidelities using simple experimental procedures combined with classical post-processing, most prominently via the classical shadow formalism. $\texttt{RandomMeas$.$jl}$ covers the full randomized measurement workflow, from the generation of measurement settings for use on a quantum computer, the optional classical simulation of randomized measurements with tensor networks, to a suite of estimators for physical properties based on classical shadows. The package includes advanced features such as robust and shallow shadow techniques, batch estimators, and built-in statistical uncertainty estimation. Its unified, composable design enables the scalable application and further development of randomized measurements protocols across theoretical and experimental contexts.
Version accepted in Quantum Journal. 15 pages, code available at https://github.com/bvermersch/RandomMeas.jl