惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
Help Net Security
Help Net Security
Y
Y Combinator Blog
WordPress大学
WordPress大学
D
DataBreaches.Net
N
Netflix TechBlog - Medium
U
Unit 42
爱范儿
爱范儿
MyScale Blog
MyScale Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园 - 司徒正美
Google DeepMind News
Google DeepMind News
D
Docker
H
Help Net Security
Stack Overflow Blog
Stack Overflow Blog
宝玉的分享
宝玉的分享
博客园_首页
Microsoft Security Blog
Microsoft Security Blog
Engineering at Meta
Engineering at Meta
Know Your Adversary
Know Your Adversary
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
T
Tenable Blog
S
Schneier on Security
V
Vulnerabilities – Threatpost
V
V2EX
T
Tor Project blog
Security Latest
Security Latest
S
Securelist
G
Google Developers Blog
NISL@THU
NISL@THU
Schneier on Security
Schneier on Security
Webroot Blog
Webroot Blog
小众软件
小众软件
Google Online Security Blog
Google Online Security Blog
阮一峰的网络日志
阮一峰的网络日志
W
WeLiveSecurity
IT之家
IT之家
I
InfoQ
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
月光博客
月光博客
I
Intezer
T
The Blog of Author Tim Ferriss
C
Cisco Blogs
博客园 - 【当耐特】
The GitHub Blog
The GitHub Blog
Cloudbric
Cloudbric
Scott Helme
Scott Helme
The Cloudflare Blog
L
LINUX DO - 热门话题

IBM Research

It’s time for cryptography to get its own abstraction layer This could be the largest synthetic code dataset yet How to measure the performance of a quantum computer | IBM Quantum Computing Blog Release News: Qiskit v2.5 is here! | IBM Quantum Computing Blog CoFrGeNets replace the ‘bones’ of transformer-based models How training environments can teach AI models to misbehave What’s new at IBM Quantum - Q2 2026 | IBM Quantum Computing Blog Modeling the chemistry of fusion reactor material | IBM Quantum Computing Blog Ponder This Challenge - July 2026 - Return of the Superheroes Apply to IBM Quantum Developer Conference 2026 | IBM Quantum Computing Blog Qiskit Paulice: postselected quantum error correction | IBM Quantum Computing Blog What is IBM’s nanostack chip architecture? IBM introduces the smallest computer chip in the world A new playbook for quantum optimization benchmarking Running AI on mixed hardware for speed and affordability Explore next-gen quantum algorithms with IBM Quantum Credits | IBM Quantum Computing Blog Allstate explores quantum computing for insurance portfolios | IBM Quantum Computing Blog Can LLMs discover quantum error correction codes? Bringing the power of semantic AI to IBM Db2 The fast Fourier transform, how and why it works Building AI more like software The future of quantum takes center stage at NY Tech Week Qiskit Fall Fest 2026: Applications open | IBM Quantum Computing Blog IBM to invest $10 billion in quantum computing | IBM Quantum Computing Blog Renowned mathematician Subhash Khot joins IBM Research Ponder This Challenge - June 2026 - The Superhero Team Movies New Classroom Accounts expand quantum access for educators | IBM Quantum Computing Blog Qiskit Global Summer School 2026: Registration now open | IBM Quantum Computing Blog How researchers built a record-setting quantum circuit | IBM Quantum Computing Blog IBM charts a new research path with MIT How IBM is using quantum computing to understand the operating system of the universe How to use sample-based quantum diagonalization on IBM hardware Quantum-centric supercomputing simulates 12,635-atom protein | IBM Quantum Computing Blog A decade of quantum on the cloud | IBM Quantum Computing Blog Ponder This Challenge - May 2026 - The Powers of a Binary Matrix Where the frontiers of high-speed racing and computing meet Introducing the IBM Granite 4.1 family of models Building the future of computing, together Next-generation algorithms could move fusion from the lab to the grid Bringing quantum-centric supercomputing to Illinois What’s new at IBM Quantum - Q1 2026 | IBM Quantum Computing Blog Release News: Qiskit v2.4 is here! | IBM Quantum Computing Blog How IBM Quantum is enabling healthcare and biology research | IBM Quantum Computing Blog How an extra training step can unlock AI’s reasoning power IBM demonstrates extreme scale for content-aware storage with a 100-billion vector database Ponder This Challenge - April 2026 - The Unlabeled Clock IBM Research and ETH Zurich open a new era of innovation IBM’s newest time-series models cover a full range of enterprise prediction tasks Toward a transparent supply chain for AI Quantum computers take a step into real materials science Donating llm-d to the Cloud Native Computing Foundation Cleveland Clinic & IBM debut new quantum simulation workflow | IBM Quantum Computing Blog Turning turbulence into transcripts Like the information in a dream: IBM’s Charles H. Bennett receives ACM Turing award Doubling down on open-access quantum computing | IBM Quantum Computing Blog Unveiling the first reference architecture for quantum-centric supercomputing Realizing Feynman’s vision for the future of simulation | IBM Quantum Computing Blog IBM is working today to secure communication from tomorrow’s quantum risks Building PyTorch-native support for the IBM Spyre Accelerator Quantum simulates properties of the first-ever half-Möbius molecule, designed by IBM and researchers A look back at the International Year of Quantum | IBM Quantum Computing Blog TerraStackAI: Bringing Earth and space AI to Red Hat and the world Ponder This Challenge - March 2026 - Path game on a hole-riddled chessboard IBM demonstrates High NA EUV process capability on track for insertion below 2 nm nodes at SPIE 2026 Quantum Advantage Tracker: the race to advantage | IBM Quantum Computing Blog
Prototype and validate fermionic circuits faster with ffsim | IBM Quantum Computing Blog
2026-06-11 · via IBM Research

Key takeaways:

  • ffsim accelerates prototyping and benchmarking of fermionic quantum circuits
  • Exploits physical symmetries to reduce simulation cost and memory requirements
  • Enables simulations inaccessible to general-purpose quantum simulators
  • Supports validation of quantum algorithms before running on real hardware
  • Integrates with Qiskit for end-to-end quantum computing workflows

One reason we expect quantum computers to offer advantages is that simulating them classically becomes exponentially costly as systems grow. Exact classical simulations cannot match quantum hardware at scale, but they’re still essential for building, testing, and validating quantum workloads. We use them to prototype algorithms, explore their behavior at tractable problem sizes, and generate benchmarks for real quantum hardware. As quantum hardware and algorithms advance, we need faster, more capable verification tools to match their pace.

To meet this growing demand, we developed ffsim, an open-source Python library designed for simulating quantum circuits modeling fermions—the particles that make up atoms, molecules, and materials. ffsim exploits symmetries in these systems to greatly reduce the cost of simulation compared to a general-purpose quantum circuit simulator. Through its integration with Qiskit, ffsim can also simulate a wide class of quantum circuits with similar symmetries, even if they are unrelated to fermions.

In this blog, we provide a high-level overview of the ffsim library. If you’re interested to learn more, you’ll find additional details in our preprint on arXiv.

Why build a dedicated fermionic simulator?

There are many powerful general-purpose simulators that can represent any quantum circuit, from fermionic models to applications in optimization or machine learning. But that flexibility comes at a fundamental cost.

To represent a system with nn qubits, the simulator must store a full state vector—the mathematical object that encodes the system’s quantum state—of dimension 2n2^n. For the fermionic systems that make up molecules and materials, that’s an enormous waste of computational resources. These systems almost always conserve two key symmetries: the total particle number, and the zz component of spin. As a result, the physically meaningful states occupy only a small corner of the full Hilbert space of all possible quantum states. ffsim exploits this structure to drastically reduce the cost of fermionic simulation.

Instead of storing a 22N2^{2N}-dimensional state vector for 2N2N spin orbitals, it restricts the simulation to states with fixed numbers of spin-up electrons (NαN_\alpha) and spin-down electrons (NβN_\beta). This approach reduces the size of the problem to (NNα)×(NNβ)\binom{N}{N_\alpha} \times \binom{N}{N_\beta}. The scaling is still exponential, but with a much smaller prefactor that can make a meaningful difference in determining which systems we can simulate in practice.

Consider a two-dimensional Hubbard model on a 4×8 lattice, which maps to 64 qubits under standard fermion-to-qubit mappings. Representing this system with a general-purpose state vector simulation would require 256 EiB of memory—more than exists in all the world's supercomputers combined. However, at 1/8 filling—i.e., when only 1/8 of the spin orbitals are occupied by electrons—ffsim can simulate this system with only 19.3 GiB, allowing it to run on a single workstation.

What ffsim can do

ffsim's core function is to store a fermionic wave function and evolve it by applying fermionic quantum gates. It provides highly optimized implementations of a universal set of number-preserving fermionic gates—i.e., gates that conserve particle number—including orbital rotation, diagonal Coulomb evolution, number interaction, and more. State vectors are represented as standard NumPy arrays, and gate application follows a simple functional programming pattern:

rotated_vec = ffsim.apply_orbital_rotation(     vec, orbital_rotation, norb=norb, nelec=nelec )

Beyond basic state-vector evolution, ffsim offers additional features, including variational ansatzes like the LUCJ ansatz—commonly used in SQD calculations for chemistry—Hamiltonian time evolution via Trotter-Suzuki product formulas, efficient sampling of Slater determinants, and seamless integration with Qiskit and PySCF.

Together, these capabilities allow ffsim to function as a high-performance simulator within larger research workflows—giving you the ability to construct, refine, and benchmark circuits through repeated classical evaluation before running jobs on real quantum hardware.

For more details, see the full documentation.

Beyond fermions: simulating Hamming weight-preserving quantum circuits

Through its integration with Qiskit, ffsim's reach extends beyond explicitly fermionic simulation. Any Qiskit circuit composed entirely of Hamming weight-preserving gates—gates that leave the total number of 1s in the computational basis unchanged—can be simulated by ffsim, regardless of whether the circuit has anything to do with fermions.

Gates in this class include CPhaseGate, SwapGate, and XXPlusYYGate, among others. In practice, this allows ffsim to act as a high-performance simulator for a broader class of quantum circuits than its name might suggest. ffsim's flexibility also means you can easily integrate it into broader tooling ecosystems, where you'll be able to funnel circuits generated by different libraries or workflows into a common, symmetry-aware simulation backend.

Performance comparison with FQE and Qiskit Aer

To understand how ffsim performs in realistic application settings, we benchmarked it against FQE, the library most similar in purpose, and Qiskit Aer, a general-purpose quantum circuit simulator. The figure below shows runtimes for a representative workload: Trotterized time evolution of a molecular Hamiltonian in the double factorized representation, a common building block in quantum chemistry simulations.

Benchmark results comparing fermionic quantum circuit simulation performance in ffsim, FQE, and Qiskit Aer

ffsim is an order of magnitude faster than FQE for this task. Qiskit Aer lags behind both libraries at the larger system sizes, and cannot run the largest 16-orbital benchmark due to memory requirements.The 16 orbitals in this demonstration map to 32 qubits. All results were collected on a laptop.

The table below shows ffsim's speedups over FQE in a single-threaded configuration on an M1 MacBook.

TaskSpeedup over FQE (single-threaded)
Double-factorized Trotter simulation11×
Diagonal Coulomb evolution1.2×
Quadratic Hamiltonian evolution2.4×
Molecular Hamiltonian operator action8.4×

Get started

As quantum software stacks continue to evolve, tools like ffsim will play an important role in enabling efficient classical validation of increasingly sophisticated circuit constructions, bridging the gap between algorithm design and quantum hardware execution.

We hope ffsim will serve as a useful tool for the quantum community. To get started, explore the documentation. We recommend beginning with State vectors and gates to learn the core concepts, or you can dive straight into a tutorial.

You can also browse the guides for help with specific tasks, or consult the API reference for detailed documentation of the library’s functions and classes. If you'd like to get involved with the development of ffsim, feel free to open an issue or pull request!