A new open-source tool makes some quantum simulations use less memory
The software uses conserved particle numbers and spin to speed up simulations of fermionic quantum circuits.
Editorial illustration — not from the study.
ffsim is designed for simulations of systems made from fermions, including molecules, materials and lattice models. It can evolve quantum states, simulate Hamiltonian time evolution, run several types of variational circuits, sample Slater determinants without storing a full state vector, and connect with Qiskit and PySCF.
In tests, ffsim was faster than the similarly focused Fermionic Quantum Emulator library for several operations. The researchers also used it for a 64-qubit Hubbard-model simulation with eight electrons, a calculation that required 19.3 GiB of memory in the example described by the paper.
What the software achieves
The software takes advantage of two properties that occur in many fermionic systems: a fixed total particle number and a fixed component of spin. Restricting the simulation to those sectors avoids storing amplitudes for states that cannot occur.
On a single-threaded Apple M1 Max test with 16 spatial orbitals at half filling, ffsim was 2.4 times faster than the Fermionic Quantum Emulator for evolution under a quadratic Hamiltonian and 8.4 times faster for applying a molecular Hamiltonian. The researchers report larger speed differences for some other operations, although the excerpts do not give those values.
The paper demonstrates a 64-qubit Hubbard-model calculation with four electrons of each spin. At the model's one-eighth filling, ffsim used 19.3 GiB to store the state vector, compared with an estimated 256 EiB for a general-purpose simulator storing all 64-qubit states in double precision.
Why the tool matters
Classical simulation is used to develop and check quantum algorithms before, and alongside, experiments on quantum hardware. By using known fermionic symmetries, ffsim can make some calculations feasible with less memory and less simulation time than a general-purpose approach.
Its additional tools and links to Qiskit and PySCF could also let researchers use the same library across quantum-computing and quantum-chemistry workflows. The software is intended to support simulations of tractable problem sizes, rather than remove the basic scaling challenge of exact quantum-state simulation.
Evidence and limits
The evidence comes from software benchmarks and demonstrations of scientific applications, including the 64-qubit Hubbard-model example. The comparison with the Fermionic Quantum Emulator was reported for a representative set of benchmarks, with specific speedups given for selected operations.
ffsim still has exponential resource requirements for exact state-vector simulation at fixed filling, although the memory prefactor is smaller. Its compact representation is limited to a single sector with fixed particle number and spin, so interactions that change particle number or flip spin cannot be simulated directly in that representation. The Qiskit interface also requires particle-number-preserving circuits and measurements only at the end. The 19.3 GiB and 256 EiB figures exclude temporary arrays and other overhead, and the stated runtime cost still grows with circuit depth or the number of time-evolution steps.
A study proves that exact minimum-weight decoding for the two-dimensional quantum colour code is NP-hard. The result strengthens the case for developing heuristic and approximate methods rather than relying on fast exact decoding in all cases.
Researchers introduced a quantum testing strategy that changes its measurements as results arrive and can stop early, rather than always using a fixed number of copies. In single-qubit experiments, it used fewer copies than fixed-copy approaches, especially when the states were easier to distinguish.
Astronomers studied EP250304a, an event linked to the broad-lined type Ic supernova SN 2025fhm. Its light and spectra resemble several faint gamma-ray burst supernovae, suggesting it may belong to an emerging class dominated by material shocked around a powerful outflow.