Table of Contents
Fetching ...

OpenFermion: The Electronic Structure Package for Quantum Computers

Jarrod R. McClean, Kevin J. Sung, Ian D. Kivlichan, Yudong Cao, Chengyu Dai, E. Schuyler Fried, Craig Gidney, Brendan Gimby, Pranav Gokhale, Thomas Häner, Tarini Hardikar, Vojtěch Havlíček, Oscar Higgott, Cupjin Huang, Josh Izaac, Zhang Jiang, Xinle Liu, Sam McArdle, Matthew Neeley, Thomas O'Brien, Bryan O'Gorman, Isil Ozfidan, Maxwell D. Radin, Jhonathan Romero, Nicholas Rubin, Nicolas P. D. Sawaya, Kanav Setia, Sukin Sim, Damian S. Steiger, Mark Steudtner, Qiming Sun, Wei Sun, Daochen Wang, Fang Zhang, Ryan Babbush

TL;DR

OpenFermion addresses the gap between quantum chemistry and quantum algorithms by providing an open-source, modular toolkit that translates molecular electronic-structure problems into qubit Hamiltonians and hardware-ready circuits. It introduces data structures for fermions, qubits, bosons, and quadratic systems, plus a plugin-based workflow that interfaces with chemistry packages and hardware frameworks such as Cirq, Forest, and Strawberry Fields. The paper demonstrates the efficiency and versatility of these designs through examples on Trotter decompositions, symbolic basis transformations, and Gaussian-state preparation, highlighting scalable paths toward practical quantum-chemistry simulations. Overall, OpenFermion accelerates the development of quantum algorithms for chemistry and materials by reducing domain barriers and enabling cross-disciplinary collaboration with robust software infrastructure.

Abstract

Quantum simulation of chemistry and materials is predicted to be an important application for both near-term and fault-tolerant quantum devices. However, at present, developing and studying algorithms for these problems can be difficult due to the prohibitive amount of domain knowledge required in both the area of chemistry and quantum algorithms. To help bridge this gap and open the field to more researchers, we have developed the OpenFermion software package (www.openfermion.org). OpenFermion is an open-source software library written largely in Python under an Apache 2.0 license, aimed at enabling the simulation of fermionic models and quantum chemistry problems on quantum hardware. Beginning with an interface to common electronic structure packages, it simplifies the translation between a molecular specification and a quantum circuit for solving or studying the electronic structure problem on a quantum computer, minimizing the amount of domain expertise required to enter the field. The package is designed to be extensible and robust, maintaining high software standards in documentation and testing. This release paper outlines the key motivations behind design choices in OpenFermion and discusses some basic OpenFermion functionality which we believe will aid the community in the development of better quantum algorithms and tools for this exciting area of research.

OpenFermion: The Electronic Structure Package for Quantum Computers

TL;DR

OpenFermion addresses the gap between quantum chemistry and quantum algorithms by providing an open-source, modular toolkit that translates molecular electronic-structure problems into qubit Hamiltonians and hardware-ready circuits. It introduces data structures for fermions, qubits, bosons, and quadratic systems, plus a plugin-based workflow that interfaces with chemistry packages and hardware frameworks such as Cirq, Forest, and Strawberry Fields. The paper demonstrates the efficiency and versatility of these designs through examples on Trotter decompositions, symbolic basis transformations, and Gaussian-state preparation, highlighting scalable paths toward practical quantum-chemistry simulations. Overall, OpenFermion accelerates the development of quantum algorithms for chemistry and materials by reducing domain barriers and enabling cross-disciplinary collaboration with robust software infrastructure.

Abstract

Quantum simulation of chemistry and materials is predicted to be an important application for both near-term and fault-tolerant quantum devices. However, at present, developing and studying algorithms for these problems can be difficult due to the prohibitive amount of domain knowledge required in both the area of chemistry and quantum algorithms. To help bridge this gap and open the field to more researchers, we have developed the OpenFermion software package (www.openfermion.org). OpenFermion is an open-source software library written largely in Python under an Apache 2.0 license, aimed at enabling the simulation of fermionic models and quantum chemistry problems on quantum hardware. Beginning with an interface to common electronic structure packages, it simplifies the translation between a molecular specification and a quantum circuit for solving or studying the electronic structure problem on a quantum computer, minimizing the amount of domain expertise required to enter the field. The package is designed to be extensible and robust, maintaining high software standards in documentation and testing. This release paper outlines the key motivations behind design choices in OpenFermion and discusses some basic OpenFermion functionality which we believe will aid the community in the development of better quantum algorithms and tools for this exciting area of research.

Paper Structure

This paper contains 26 sections, 31 equations.