← Latest papers
⚛️ quantum physics

Propaq: A Python package for Heisenberg Propagation

This paper introduces Propaq, a high-performance and flexible Python package for classically simulating quantum circuits via Heisenberg propagation, which integrates with major quantum software ecosystems and offers advanced features like arbitrary basis simulation, hybrid methods, and detailed performance logging.

Original authors: Hrishikesh Belagali, Ryan LaRose

Published 2026-09-09
📖 4 min read🧠 Deep dive

Original authors: Hrishikesh Belagali, Ryan LaRose

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

To understand the work of Hrishikesh Belagali and Ryan LaRose, one must first grasp the fundamental challenge facing modern physics: how to predict the behavior of quantum machines without actually building them. Quantum computers promise to solve problems that are impossible for today's supercomputers, but to know if they will succeed, scientists need a way to test them on ordinary machines first. This is where classical simulation comes in. In a standard approach, a computer tries to track the state of every particle in a system as it changes, a task that becomes impossibly heavy as the system grows. However, there is a different way to look at the problem. Instead of watching the particles move forward, one can imagine the question itself traveling backward through the machine. This is known as Heisenberg propagation. Rather than calculating the final state of a quantum system, this method takes the measurement we want to make and traces it backward through the circuit to see how it interacts with the starting point. It is a powerful trick that allows researchers to simulate complex quantum behaviors on classical hardware, provided they can manage the explosion of mathematical terms that occurs during the process.

In their new paper, the researchers introduce a software tool called Propaq, designed to make this backward-tracing method faster, more flexible, and easier to use. The team built Propaq using a programming language known for its speed and safety, then wrapped it in a user-friendly interface that works with the major quantum software packages scientists already use. The result is a program that not only matches the performance of the fastest existing tools but often surpasses them. In tests involving the simulation of magnetic materials and electron interactions, Propaq calculated the expected outcomes significantly faster than its competitors, sometimes by a factor of one hundred. This speed is crucial because it allows researchers to simulate larger systems and more complex scenarios than was previously possible, giving them a clearer picture of what future quantum computers might actually achieve.

What sets Propaq apart is not just its speed, but its ability to adapt to different ways of thinking about quantum mechanics. While most tools force users to work within a single, rigid framework, Propaq allows scientists to choose the mathematical language, or basis, that best fits their specific problem. The researchers demonstrated this by successfully simulating a model of magnetic spins using a custom mathematical system that other software could not handle. This flexibility means that scientists are no longer limited to the standard tools; they can invent new ways to represent quantum systems if it helps them get a better answer. Furthermore, the software includes a hybrid mode that splits the work between two different simulation strategies. It can push the state of the system forward for part of the journey and then pull the measurement backward for the rest. This approach offers a clever trade-off, allowing researchers to save memory or time depending on the specific problem they are trying to solve.

The tool also addresses the messy reality of real-world quantum computers, which are prone to errors and noise. Propaq can simulate these imperfections directly, showing how noise affects the results and even helping scientists estimate what the perfect, error-free answer would be. By running simulations with different levels of noise and then mathematically projecting the results back to a noise-free state, the software provides a way to clean up data without needing a perfect machine. To help researchers understand exactly how their simulations are performing, the software keeps a detailed log of every step, tracking how many terms are being calculated, how much memory is being used, and how much accuracy is being lost when the computer has to discard less important information to keep the process moving. This transparency allows scientists to fine-tune their settings and understand the limits of their simulations.

Ultimately, the work presented in this paper is about giving researchers better tools to explore the boundaries of quantum computing. By making Heisenberg propagation faster and more adaptable, Propaq enables scientists to test new algorithms, design better error-correction methods, and understand the true potential of quantum advantage. The researchers have made the software freely available, inviting the community to use it for their own investigations. As quantum technology moves from theory to practice, tools like this will be essential for verifying that the machines we build are doing exactly what we expect them to do, ensuring that the leap into the quantum future is built on a foundation of solid, verified understanding.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →