TenCirPauli

Rust-native Pauli algebra and structured quantum execution for TensorCircuit-NG

TenCirPauli moves Pauli-heavy quantum workflows from Python object graphs into compact native data and Rust execution. It is the TensorCircuit-NG-facing layer for Hamiltonians, measurement grouping, symmetry reduction, restricted sectors, structured operators, classical-shadow snapshots, and observable propagation.

TenCirPauli is designed as a companion to TensorCircuit-NG rather than a replacement for its circuit frontend: TensorCircuit-NG circuits can be converted into native TenCirPauli circuits, and matrix-free Pauli operator plans can be called through TensorCircuit-NG's NumPy or JAX backend. Beyond Pauli operators, it also handles fermion, boson, qudit and Majorana operators, fermion-to-qubit mappings such as Jordan–Wigner and Bravyi–Kitaev, and static stabilizer-code analysis.

  • Repo: https://github.com/tensorcircuit/TenCirPauli

  • Documentation: https://tensorcircuit.github.io/TenCirPauli/

  • PyPI: https://pypi.org/project/tencirpauli/