ffsim Enables Faster Fermionic Quantum Circuit Simulation

Beyond state vector evolution by basic fermionic gates, ffsim offers a number of additional features including variational ansatzes, Hamiltonian time evolution via Trotter-Suzuki product formulas, efficient sampling of Slater determinants, smooth integration with and PySCF and comprehensive documentation. The researchers demonstrate ffsim’s capabilities on scientific applications, including a 64-qubit Hubbard model with 8 electrons.

ffsim Exploits Fermionic Symmetries for Reduced Memory

Ffsim achieves a substantial reduction in memory demands by targeting only amplitudes within a single symmetry sector, a technique applicable to a broad range of fermionic systems. For a 64-qubit circuit simulating eight electrons in the Hubbard model, the library lowers memory requirements from approximately 300 billion gigabytes to roughly 20, a figure that unlocks simulations previously inaccessible to standard methods. This efficiency stems from exploiting conservation laws of particle number and the z component of spin, fundamental properties of the systems ffsim is designed to model.

The software differs in design from the similar library FQE, delivering faster performance on benchmark simulations, and offers features beyond basic state vector evolution. These include variational ansatzes, Hamiltonian time evolution using Trotter-Suzuki product formulas, and efficient sampling of Slater determinants, expanding its utility for diverse quantum chemistry and materials science applications.

Smooth integration with both PySCF further enhances ffsim’s accessibility and interoperability within existing quantum computing workflows. Kevin J. The open-source library’s code and documentation are freely available via GitHub, encouraging community contribution and wider adoption. “Classical simulation of is essential for developing quantum algorithms,” the researchers state, highlighting the important role of efficient simulation tools in advancing the field. ffsim’s architecture allows it to store only the relevant amplitudes, effectively pruning the exponentially growing state space that plagues traditional quantum simulators.

This approach is particularly impactful for fermionic systems, which exhibit inherent symmetries that can be used to drastically reduce computational cost. The library’s development involved contributions from researchers at multiple institutions, including Mario Motta, Haimeng Zhang and Kento Ueda.

ffsim Benchmarks Demonstrate Speed Gains Over FQE

The software’s design differs significantly from that of the similar library FQE, resulting in demonstrably faster performance across a range of benchmark simulations. This focus on fermionic systems allows ffsim to prune the exponentially growing number of amplitudes typically required for quantum circuit simulation, storing only those corresponding to physically plausible states.

Kevin J. Sung and colleagues detail this capability in their recent publication in Quantum, noting that the approach is especially impactful for systems where these symmetries hold true. Michigan State University played an important role in the development of ffsim, with contributions spanning both computational mathematics and physics.

Hubbard Model Simulation with ffsim on 64 Qubits

The software library ffsim reduced the memory requirement for simulating an 8-electron Hubbard model on 64 qubits from approximately 300 billion gigabytes to around 20. Unlike general-purpose simulators, ffsim focuses specifically on these symmetries, allowing it to represent the quantum state with far fewer computational resources. The approach stores only amplitudes corresponding to bitstrings consistent with these conserved quantities, as demonstrated in the example of two spatial orbitals and one spin-up and one spin-down electron. Researchers also integrated efficient sampling of Slater determinants, providing tools for analyzing the resulting quantum states.

ffsim Integrates with Qiskit and PySCF Workflows

The software library ffsim now works smoothly with both PySCF, broadening access to its capabilities for quantum computation and computational chemistry workflows. Researchers can also efficiently sample Slater determinants, providing methods for analyzing simulation results.

Kevin J. Sung, Inho Choi, Mirko Amico, Bartholomew Andrews, Esra Ayantuna, Hrishikesh Belagali, Yukio Kawashima, Ryan LaRose, Wan-Hsuan Lin, David Omanovic, Samuele Piccinelli, Javier Robledo Moreno, Abdullah Ash Saki, James Shee, Soyoung Shin, Sabyrzhan Tasbolatov, Minh C. Tran, Kento Ueda, Haimeng Zhang, and Mario Motta are the authors of the work, which is available as an Eprint, published November 27, 2026, in volume 10, page 2287 of Quantum, and can also be found on arXiv. The work represents a step towards more efficient and scalable simulations of fermionic systems, important for advancements in materials science and quantum chemistry.

Particle Number & Spin Conservation in ffsim’s Design

Unlike general-purpose state vector simulators requiring memory that doubles with each added qubit, ffsim restricts its calculations to bitstrings consistent with these conserved properties, dramatically reducing the computational burden. For a system with N spatial orbitals and Nα spin-up electrons, the library stores amplitudes for only binomNNαbinomNNβ combinations, as illustrated by an example with N = 2 and Nα = Nβ = 1, where only four of 16 qubit amplitudes are reachable.

This approach is particularly well-suited to modeling fermionic systems, a class of particles important for understanding molecular systems and materials, because these systems inherently exhibit particle number and spin conservation. The library’s efficiency stems from recognizing that a state with Nα spin-up and Nβ spin-down electrons will only have non-zero amplitudes on bitstrings adhering to these constraints. This selective storage significantly reduces the memory footprint, enabling simulations of larger systems than previously possible with conventional methods.

Stay current

See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.

Avatar of Ivy Delaney

Ivy Delaney

Ivy Delaney has been working with neural networks and machine learning since the mid-nineties, back when a couple of hidden layers and a long afternoon of training counted as ambitious. She has watched the field go from academic curiosity to the thing quietly running underneath everything, and she brings that long view to quantum computing. For Quantum Zeitgeist she covers the ground where the two fields meet. That means quantum machine learning and the variational algorithms it leans on, and it also means the less glamorous but more interesting story of classical machine learning already doing real work inside quantum machines, decoding error-correcting codes, calibrating noisy hardware and learning the error models that simulators depend on. She writes about the hardware those algorithms have to run on too, and about the post-quantum cryptography scramble that the same hardware has set off. Her stories typically start with the paper, whether that is peer-reviewed work, conference proceedings or an arXiv preprint, with the source linked so you can hold a claim up against the research it came from. She is unimpressed by benchmarks that will not say what they beat, and by demonstrations that only work in the press release.

Latest Posts by Ivy Delaney: