Tutorials

These tutorial notebooks contain more guided examples of using the functionality in InQuanto and its extensions to simulate quantum chemistry using quantum computers. The notebooks are available to download (right-click and ‘Save as’ on download link) or viewable in browser. InQuanto also includes many other examples of specific functionality, mostly in the form of scripts that can be adapted. Examples using the inquanto-extensions can be found here. If there isn’t a downloadable tutorial for your use case then take a look at the relevant manual pages as they contain extensive example code-blocks.

Core Tutorials

These tutorials cover some of the main methods, demonstrating how a user can put together their own calculation and perform analysis using the modules in InQuanto.

VQE

A basic VQE simulation

download

Extended VQE

Extended VQE

download

VQD

Variational Quantum Deflation for excited states

download

NGLView

Visualization with inquanto-nglview

download

Backend Tutorials

These tutorials detail how to best run calculations on different pytket backends, which provide access to simulators, emulators, and quantum hardware. We also highlight the stochastic nature of hamiltonian averaging (shots and sampling), as well as examine the role of noise and error mitigation methods.

Aer Simulator

Hamiltonian averaging with the Aer simulator (shots)

download

InQuanto-Nexus

Accessing and managing backend access with Nexus

download

H2 H-Series

Using pyktet-quantinuum to access the H-Series

download

H-Series async

Running asynchronous experiments on the H-Series

download

H-Series QSE

Quantum Subspace Expansion with the H-Series

download

H-series setup

Further details on accessing H series

IBMQ setup

How to set up IBM Quantum credentials and backends

PDF version

Case Study Tutorials - Fe4N2

This is a set of tutorials based on modeling nitrogen activation and dissociation on iron clusters. Refer to the research paper for additional information. The tutorials are divided into three parts: creating optimized active space and Hamiltonian, constructing optimized circuits using ADAPT-VQE, and evaluating these circuits on noisy hardware.

This InQ_tut_fe4n2_pickles.tar file contains the pickle files for executing theses tutorials.

Classical Workflow

Building the Fe4N2 system using AVAS and CASSCF

download

ADAPT-VQE

Building an efficient ansatz using ADAPT-VQE

download

Fe4N2 H-Series

Running Fe4N2 experiments on the H-Series

download

Fragmentation Tutorials

These tutorials demonstrate how to construct small subsystems which can be evaluated with wave function / quantum computational methods whilst interacting with a larger environment.

DMET

Tackling larger systems with fragmentation

download

WF-in-DFT

Projection-based embedding

download

NEVPT2 + AC0 corrections

NEVPT2 and AC0 energy corrections

download

WFT-in-DFT + NEVPT2 or AC0

Projection-based embedding with energy corrections

download