Posted by Ryan Babbush and Jarrod McClean, Quantum Software Engineers, Quantum AI Team

*“The underlying physical laws necessary for the mathematical theory of a large part of physics and the whole of chemistry are thus completely known, and the difficulty is only that the exact application of these laws leads to equations much too complicated to be soluble.”*

–Paul Dirac, Quantum Mechanics of Many-Electron Systems (1929)

In this passage, physicist Paul Dirac laments that while quantum mechanics accurately models all of chemistry, exactly simulating the associated equations appears intractably complicated. Not until 1982 would Richard Feynman suggest that instead of surrendering to the complexity of quantum mechanics, we might harness it as a computational resource. Hence, the original motivation for quantum computing: by operating a computer according to the laws of quantum mechanics, one could efficiently unravel exact simulations of nature. Such simulations could lead to breakthroughs in areas such as photovoltaics, batteries, new materials, pharmaceuticals and superconductivity. And while we do not yet have a quantum computer large enough to solve classically intractable problems in these areas, rapid progress is being made. Last year, Google published this paper detailing the first quantum computation of a molecule using a superconducting qubit quantum computer. Building on that work, the quantum computing group at IBM scaled the experiment to larger molecules, which made the cover of Nature last month.

Today, we announce the release of OpenFermion, the first open source platform for translating problems in chemistry and materials science into quantum circuits that can be executed on existing platforms. OpenFermion is a library for simulating the systems of interacting electrons (fermions) which give rise to the properties of matter. Prior to OpenFermion, quantum algorithm developers would need to learn a significant amount of chemistry and write a large amount of code hacking apart other codes to put together even the most basic quantum simulations. While the project began at Google, collaborators at ETH Zurich, Lawrence Berkeley National Labs, University of Michigan, Harvard University, Oxford University, Dartmouth University, Rigetti Computing and NASA all contributed to alpha releases. You can learn more details about this release in our paper, OpenFermion: The Electronic Structure Package for Quantum Computers.

One way to think of OpenFermion is as a tool for generating and compiling physics equations which describe chemical and material systems into representations which can be interpreted by a quantum computer^{1}. The most effective quantum algorithms for these problems build upon and extend the power of classical quantum chemistry packages used and developed by research chemists across government, industry and academia. Accordingly, we are also releasing OpenFermion-Psi4 and OpenFermion-PySCF which are plugins for using OpenFermion in conjunction with the classical electronic structure packages Psi4 and PySCF.

The core OpenFermion library is designed in a quantum programming framework agnostic way to ensure compatibility with various platforms being developed by the community. This allows OpenFermion to support external packages which compile quantum assembly language specifications for diverse hardware platforms. We hope this decision will help establish OpenFermion as a community standard for putting quantum chemistry on quantum computers. To see how OpenFermion is used with diverse quantum programming frameworks, take a look at OpenFermion-ProjectQ and Forest-OpenFermion – plugins which link OpenFermion to the externally developed circuit simulation and compilation platforms known as ProjectQ and Forest.

The following workflow describes how a quantum chemist might use OpenFermion in order to simulate the energy surface of a molecule (for instance, by preparing the sort of quantum computation we described in our past blog post):

- The researcher initializes an OpenFermion calculation with specification of:

- An input file specifying the coordinates of the nuclei in the molecule.
- The basis set (e.g. cc-pVTZ) that should be used to discretize the molecule.
- The charge and spin multiplicity (if known) of the system.

- The researcher uses the OpenFermion-Psi4 plugin or the OpenFermion-PySCF plugin to perform scalable classical computations which are used to optimally stage the quantum computation. For instance, one might perform a classical Hartree-Fock calculation to choose a good initial state for the quantum simulation.
- The researcher then specifies which electrons are most interesting to study on a quantum computer (known as an active space) and asks OpenFermion to map the equations for those electrons to a representation suitable for quantum bits, using one of the available procedures in OpenFermion, e.g. the Bravyi-Kitaev transformation.
- The researcher selects a quantum algorithm to solve for the properties of interest and uses a quantum compilation framework such as OpenFermion-ProjectQ to output the quantum circuit in assembly language which can be run on a quantum computer. If the researcher has access to a quantum computer, they then execute the experiment.

A few examples of what one might do with OpenFermion are demonstrated in ipython notebooks here, here and here. While quantum simulation is widely recognized as one of the most important applications of quantum computing in the near term, very few quantum computer scientists know quantum chemistry and even fewer chemists know quantum computing. Our hope is that OpenFermion will help to close the gap between these communities and bring the power of quantum computing to chemists and material scientists. If you’re interested, please checkout our GitHub repository – pull requests welcome!

**1 **If we may be allowed one sentence for the experts: the primary function of OpenFermion is to encode the electronic structure problem in second quantization defined by various basis sets and active spaces and then to transform those operators into spin Hamiltonians using various isomorphisms between qubit and fermion algebras.^{↩}

Source: Announcing OpenFermion: The Open Source Chemistry Package for Quantum Computers

除非特别声明，此文章内容采用知识共享署名 3.0许可，代码示例采用Apache 2.0许可。更多细节请查看我们的服务条款。

Tags:
Develop

- Android Things Contest Winners
- Skylake processors now available in seven regions
- Deploying Memcached on Container Engine: tutorial
- 弥补深度机器人学习的仿真与现实差距
- 利用 AutoML 进行大规模图像分类和对象检测
- Introducing our new developer YouTube Series: “Build Out”
- Introducing Dialogflow Enterprise Edition, a new way to build voice and text conversational apps
- Introducing container-diff, a tool for quickly comparing container images
- Getting your Android app ready for Autofill
- Taming architecture complexity in V8 — the CodeStubAssembler

- 谷歌招聘软件工程师 (19,059)
- Google 推出的 31 套在线课程 (15,982)
- 如何选择 compileSdkVersion, minSdkVersion 和 targetSdkVersion (11,685)
- Seti UI 主题: 让你编辑器焕然一新 (9,477)
- Android Studio 2.0 稳定版 (7,952)
- Android N 最初预览版：开发者 API 和工具 (7,588)
- 像 Sublime Text 一样使用 Chrome DevTools (5,357)
- Google I/O 2016: Android 演讲视频汇总 (5,191)
- 生还是死？Android 进程优先级详解 (4,426)
- 用 Google Cloud 打造你的私有免费 Git 仓库 (4,394)
- 面向普通开发者的机器学习应用方案 (3,975)
- 面向 Web 开发者的 Sublime Text 插件 (3,878)
- 适配 Android N 多窗口特性的 5 个要诀 (3,669)
- 参加 Google I/O Extended，观看 I/O 直播，线下聚会！ (3,366)

© 2017 中国谷歌开发者社区 - ChinaGDG