ffsim: faster simulation of fermionic quantum circuits
Kevin J. SungInho Choi…Kento Ueda
We present ffsim, an open-source software library for fast simulation of fermionic quantum circuits. ffsim exploits conservation of particle number and the $z$ component of spin, symmetries present in a wide range of fermionic systems, to dramatically reduce memory usage and simulation time relative to general-purpose quantum circuit simulators; compared to FQE, a library with similar functionality, it differs in software design and is faster on a representative set of simulation benchmarks. Beyond state vector evolution by basic fermionic gates, ffsim provides variational ansatzes, Hamiltonian time evolution via Trotter-Suzuki product formulas, efficient sampling of Slater determinants, integration with Qiskit and PySCF, and comprehensive documentation, demonstrated on a 64-qubit Hubbard model with 8 electrons.

arXiv ·
· May 4, 2026