Skip to content
Jue-XuPublic

About

Classical simulation of Hamiltonian dynamics expectation by Pauli propagation

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classical Simulation Healed by Quantum Entanglement

Classical Simulation Healed by Quantum Entanglement. Jue Xu, Chu Zhao, Xiangran Zhang, Shuchen Zhu, and Qi Zhao, 2025. arXiv

Overview

This repository implements the Low-weight Pauli Dynamics (LPD) algorithm for classically simulating quantum Hamiltonian evolution. LPD approximates local expectation values $\mathrm{Tr}(e^{iHt} O, e^{-iHt} \rho)$ by propagating observables in the Heisenberg picture and truncating high-weight Pauli strings.

Key insight: Entanglement in the input state suppresses truncation error, making classical simulation easier — not harder — for entangled states.

Problem Setting

Given a $k_h$-local Hamiltonian $H$, a $k_o$-local observable $O$, and an input state $\rho$:

  1. Trotterize the time evolution $e^{-iHt}$ into a sequence of Pauli rotations.
  2. Propagate the observable $O$ backward through the circuit in the Heisenberg picture. Each Pauli rotation either leaves a Pauli string unchanged (commuting) or branches it into two terms with a $\sin(\delta t)$ damping factor (anticommuting).
  3. Truncate all Pauli strings with weight above a threshold $w^*$.
  4. Evaluate $\mathrm{Tr}(\rho \cdot O_{\mathrm{truncated}})$.

Key Results

  • Entanglement helps: The Pauli 2-norm (which bounds truncation error) is suppressed by the subsystem entanglement entropy of $\rho$.
  • Polynomial runtime: For short-time dynamics at constant precision, LPD runs in $O(n^{w^*+c})$ time, polynomial in system size.
  • Hybrid MPS + LPD: For product initial states, forward-evolve $\rho$ with MPS (Schrödinger picture) to build entanglement, then backward-evolve $O$ with LPD (Heisenberg picture) — extending the reachable simulation time beyond either method alone.

Numerical Results

  • LPD — Low-weight Pauli with the second-order product formula

Code Structure

spd/                          # Sparse Pauli Dynamics package
├── SparsePauliDynamics.py    # Full SPD simulation (threshold-based filtering)
├── LightPauliDynamics.py     # LPD with weight-based truncation
├── PauliRepresentation.py    # Bit-packed Pauli string data structure
├── OperatorSequence.py       # Pauli rotation gate sequences
├── utils.py                  # Numba-accelerated bit operations
└── extras/
    └── HeavyHexUtils.py      # IBM Heavy Hex topology utilities

pauli.py                      # Pauli rotation, weight decomposition, expectation values
Hamiltonians.py               # Local Hamiltonian construction (XYZ interactions, QMFI)
input_states.py               # Clifford 2/3-design state generation
quantity.py                   # Entanglement entropy, operator magic, fidelity
trotter_bounds.py             # Analytical and empirical Trotter error bounds
mps.py                        # MPS utilities

julia/                        # Julia implementation for performance comparison

Main References

Usage

# Create python environment
conda create --name myenv python=3.10
# Install requirements
pip install quantum_simulation_recipe

About

Classical simulation of Hamiltonian dynamics expectation by Pauli propagation

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages