openfermion
Package to compile and analyze quantum algorithms for simulating fermionic systems.
Decision gist · record as of 2026-08-14
Yes. OpenFermion is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. Install it if you are developing quantum algorithms for chemistry or fermionic systems. The main constraint is Python version (≥3.10) and platform support for certain plugins (Mac/Linux preferred for electronic structure integration).AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10.0.
- Electronic structure plugins are only compatible on Mac and Linux; Windows users may use Docker.
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive). You may use, modify, and distribute the package freely in commercial and private projects, provided you retain the license notice.
last release 2026-07-17 (28 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 210,247 downloads/mo, #9,499 on PyPI
Alternatives
Verify before relying
pip install openfermion
import openfermion
# Create and manipulate fermionic operators
operator = openfermion.FermionOperator('0^ 1')- Whether the package's quantum simulation capabilities are suitable for your specific fermionic system or chemistry problem scale
- Performance characteristics and memory requirements for large Hamiltonian representations
- Integration requirements with specific quantum hardware or simulators beyond those mentioned in the description
What it is and what it does
OpenFermion is a Python package for quantum chemistry and fermionic system simulation on quantum computers. It provides data structures and algorithms to compile quantum circuits and analyze fermionic Hamiltonians, with built-in support for converting between fermionic and qubit representations. The package depends on cirq-core for quantum circuit operations, numpy and scipy for numerical computation, sympy for symbolic algebra, networkx for graph operations, and h5py for data I/O, plus pubchempy and requests for chemistry data retrieval.
The package is designed for researchers and developers working on quantum algorithms for electronic structure problems. It integrates with external plugins for high-performance simulation (OpenFermion-FQE), circuit compilation (Forest-OpenFermion, SFOpenBoson), and classical electronic structure packages (Psi4, PySCF, DIRAC, Q-Chem). Installation is straightforward via pip, though some plugins require Mac or Linux.
Use it for
- Compile quantum circuits for simulating molecular electronic structure on quantum computers
- Convert fermionic Hamiltonians to qubit representations for NISQ devices
- Analyze and manipulate fermionic operators for quantum chemistry research
- Integrate quantum simulations with classical electronic structure packages via plugins
- Develop and test quantum algorithms for chemistry applications
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
OpenFermion is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. Install it if you are developing quantum algorithms for chemistry or fermionic systems. The main constraint is Python version (≥3.10) and platform support for certain plugins (Mac/Linux preferred for electronic structure integration).
Install
openfermion on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a release within 28 days. Supports current Python versions (3.10–3.13) and runs on Mac, Windows, and Linux.
Requires Python >= 3.10.0. Electronic structure plugins are only compatible on Mac and Linux; Windows users may use Docker.
License in practice
Licensed under Apache-2.0 (permissive). You may use, modify, and distribute the package freely in commercial and private projects, provided you retain the license notice.
Quickstart
pip install openfermion
import openfermion
# Create and manipulate fermionic operators
operator = openfermion.FermionOperator('0^ 1')
Verify before relying
- Whether the package's quantum simulation capabilities are suitable for your specific fermionic system or chemistry problem scale
- Performance characteristics and memory requirements for large Hamiltonian representations
- Integration requirements with specific quantum hardware or simulators beyond those mentioned in the description
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagescirq-coredeprecationh5pynetworkxnumpypubchempyrequestsscipysympy |
| Maintenance | Actively maintained 28 days since the last release |
| First released | |
| Downloads | 210,247 / month, #9,499 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/Engineering :: ChemistryTopic :: Scientific/Engineering :: Quantum Computing |
Evidence: openfermion-1.8.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “quantum chemistry simulation”
- openfermionOpenFermion compiles and analyzes quantum algorithms to simulate…
- pennylanePennyLane is a quantum computing framework that lets you build,…
- openfermionpyscfBridges OpenFermion quantum algorithm library with PySCF electronic…
Give your agent the search over MCP, or paste the wish link into any chat.
More Chemistry packages
PubChemPy is a Python wrapper around the PubChem REST API that lets you search for chemical compounds by name, substructure, or similarity, retrieve their properties, and convert between chemical file formats.
Install it if you need programmatic access to PubChem data.
SimSIMD provides SIMD-optimized kernels for computing vector distances, dot-products, and similarity measures across multiple data types and precisions, with support for spatial, probabilistic, and bit-level operations.
Install it if vector similarity or distance computation is a measurable bottleneck in your application.
VTK is a 3D graphics, image processing, and visualization toolkit that provides algorithms for surface reconstruction, volume rendering, and advanced rendering techniques.
Provides unit-aware measurement objects for Python that support conversion between different units and arithmetic operations across multiple measurement types including distance, weight, temperature, energy, speed, volume, time, and area.
Gemmi is a C++ library with Python bindings for reading, writing, and manipulating macromolecular structural data (PDB, mmCIF, MTZ files) and crystallographic information, including symmetries, density maps, and refinement restraints.
Pymatgen provides Python classes and analysis tools for materials science workflows, including structure representation, file I/O for computational chemistry formats (VASP, ABINIT, Gaussian, CIF), phase diagrams, electronic structure analysis, and integration with the Materials Project REST API.
Install it if you work with crystal structures, computational chemistry outputs, or materials databases; skip it if your work does not involve materials analysis.
See also openfermionpyscf · qutip · cirq-core · cirq · pyscf · pennylane · cirq-ionq · qiskit · qiskit-experiments · liboqs-python