This folder contains the necessary files for running Variational Quantum Algorithms, namely VQE and QAOA, on the Maximal Disjoint Isomorphic Subgraph Selection (MDISS) directed graph problem.
-
VQALib.py
: This file defines the necessary classes to solve a problem instance with Variational Quantum Eigensolver (VQE) and Quantum Approximate Optimization Algorithm (QAOA). -
VQATests.py
: This file defines 27 problem instances to be solved using VQE and QAOA. There are 3 problems defined for the following sizes (qubit numbers): 4, 6, 8, 10, 12, 14, 16, 18, 21. -
VQA-experiments.py
: This file contains all the functions necessary to run experiments using VQE and QAOA. -
experiment-results.ipynb
: This file contains experiment results and their visualisations.
QAOA-demo-2.ipynb
andVQE-demo-2.ipynb
present walkthroughs for using the functions defined in VQALib and VQA-experiments to solve some problems defined inVQATests.py
To use the files in this folder, follow these steps:
-
Import the necessary libraries, which are given in
requirements.txt
-
Import the required classes and functions from the respective files.
-
Use the imported classes and functions to solve specific quantum computing problems or run experiments. Some examples are depicted in
QAOA-demo-2.ipynb
andVQE-demo-2.ipynb
.