# Introduction to the quantum chemistry library

The quantum chemistry library for the Quantum Development Kit is designed to work well with computational chemistry packages, most notably the **NWChem** computational chemistry platform developed by the Environmental Molecular Sciences Laboratory (EMSL) at Pacific Northwest National Laboratory.

In particular, the **Microsoft.Quantum.Chemistry** package provides tools for loading instances of quantum chemistry simulation problems represented in the Broombridge schema, also supported for export by recent versions of NWChem.

For more information about how to use the Quantum Development Kit with either NWChem and Broombridge, see Installation of the Quantum Chemistry Library

## Azure Quantum Elements

Currently in private preview, Azure Quantum Elements uses the Copilot in Azure Quantum to design, code, and render molecular models. For more information, see Azure Quantum Elements.

## Quantum chemistry concepts

The quantum chemistry concepts provide a concise introduction to simulating electronic structure problems on quantum computers in order to help you understand the role that many aspects of the Hamiltonian simulation library play within the space. The quantum chemistry concepts start with a brief introduction to quantum mechanics and then proceed to discuss how electronic systems are modeled in it, and how such quantum dynamics can be emulated using a quantum computer.

- Quantum Dynamics, a brief introduction to quantum mechanics and how an initial quantum state evolves over time.
- Quantum Models for Electronic Systems.
- Second Quantization.
- Symmetries of Molecular Integrals.
- Jordan-Wigner Representation.
- Simulating Hamiltonian Dynamics, where you can find two methods to compile the quantum dynamics to sequences of elementary gates: Trotter-Suzuki decompositions and qubitization.
- Hartree–Fock Theory. One of the most important quantities in quantum chemistry simulation is the ground state, which is the minimum energy eigenvector of the Hamiltonian matrix. The Hartree–Fock theory gives a simple way to construct the ground state for quantum systems.
- Correlated wavefunctions. Although Hartree–Fock theory provides a qualitative description of molecular properties through a single-determinant reference state, in order to achieve quantitative accuracy, one must consider correlation effects.

## Quantum chemistry examples

The quantum chemistry examples combine the chemistry simulation algorithms outlined in Simulating Hamiltonian dynamics with quantum phase estimation in the canon library. This combination allows to estimates of energy levels in the represented molecule, which is one of the key applications of quantum chemistry on a quantum computer.

Instead of specifying terms of the Hamiltonian one-by-one, you can work through some examples that allow you to perform quantum chemistry experiments at scale.

- Estimating the values of energy levels for the canonical example of molecular hydrogen.
- Loading a Hamiltonian from file. Since quantum chemistry at scale require Hamiltonians with millions or billions of terms, this Hamiltonians are too large to import by hand.
- Obtaining resource counts of a quantum chemistry simulation, such as the number of T-gates or CNOT gates.
- End-to-end with NWChem.

## Broombridge quantum chemistry schema

The examples load a chemistry Hamiltonian encoded in the Broombridge schema, which is a YAML-based schema.

The Broombridge Quantum Chemistry Schema) is an Open Source schema. Being YAML-based, Broombridge is a structured, human-readable and human-editable way of representing electronic structure problems. In particular, the following data can be represented:

- Fermionic Hamiltonians can be represented using one- and two-electron integrals.
- Ground and excited states can be presented using creation sequences.
- Upper and lower bounds of energy levels can be specified.

## Next steps

## Feedback

Submit and view feedback for