Edit

Build state preparation circuits for quantum chemistry calculations with sparse isometry

State preparation is a central subroutine in many quantum algorithms for quantum chemistry calculations, such as Quantum Phase Estimation (QPE).

The state preparation circuit puts the qubit system on the quantum computer into a state that represents the real quantum state of your molecule. Isometry techniques are used to create the state preparation circuit from the wavefunction that you calculate for your molecule. Typical isometry approaches usually result in deep circuits that contain a lot of quantum gates. Each gate in a circuit has the potential to introduce noise into the calculation on the quantum computer, so the ideal circuit is one that performs an accurate computation with the fewest gates.

Sparse isometry circuit generation with the QDK chemistry libraries

QDK for chemistry (QDK/Chemistry) in the Microsoft Quantum Development Kit (QDK) includes a novel sparse isometry technique that uses a small number of dense qubits to efficiently build an optimal state preparation circuit with less depth and fewer gates than traditional isometry encoding techniques. The circuit from sparse isometry prepares the same initial state as the larger circuit from regular isometry, but the sparse isometry circuit is less computationally expensive and introduces less noise into the calculation on the quantum computer.

The sparse isometry implementation in QDK/Chemistry allows you to encode ab initio wavefunctions in a consistent linear workflow to help you build optimal state preparation circuits for a wide variety of molecules and systems. To get started, see How to install QDK for chemistry.

Learn more

To learn more about state preparation circuits and sparse isometry in QDK/Chemistry, see State preparation in the QDK/Chemistry documentation on GitHub.