{ "cells": [ { "cell_type": "markdown", "id": "0c3d63fc", "metadata": {}, "source": [ "# QM/MM simulation: VQE within a Polarizable Embedded Framework.\n", "\n", "In this tutorial, we will discuss a hybrid quantum-classical algorithm called PE-VQE-SCF introduced in this [paper](https://arxiv.org/pdf/2312.01926). The PE-VQE-scf approch combines:\n", "\n", "- Variational Quantum Eigensolver (VQE) – a quantum algorithm for finding ground-state energies of molecules.\n", "- Self-Consistent Field (SCF) – a classical iterative method used in quantum chemistry.\n", "- Polarizable Embedding (PE) – a technique to model the effect of an environment (like a solvent or protein) on a quantum system.\n", "\n", "The goal is to simulate chemical systems on quantum computers (or simulator) by embedding them in a polarizable environment. In this tutorial, we will use CUDA-Q to implemnet the QM/MM framework and the CUDA-Q GPU accelerated simulator for running the simulation.\n", "\n", "## Key concepts:\n", "\n", "1- Variational Quantum Eigensolver (VQE)\n", "- A quantum algorithm that estimates the ground state energy of a molecule.\n", "- It uses a parameterized quantum circuit (ansatz) and a classical optimizer to minimize the energy expectation value.\n", "- In this tutorial, we employ VQE with UCCSD ansatz for the quantum part. However, user should be able to replace the VQE and the ansatz with other quantum algorithm.\n", "\n", "2- Self-Consistent Field (SCF)\n", "- A method where the solution (e.g., molecular orbitals) is updated iteratively until convergence.\n", "- In this context, SCF is used to update the embedding potential based on the quantum system's density.\n", "\n", "3- Polarizable Embedding (PE)\n", "- Models the environment as a set of polarizable sites that respond to the quantum system's electric field.\n", "- The environment affects the quantum system, and vice versa, requiring mutual polarization.\n", "\n", "## PE-VQE-SCF Algorithm Steps\n", "