You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementation of the MUlti-Angle Quantum Approximate Optimization Algorithm for the MaxCut problem with Qiskit
2
+
Implementation of the Multi-Angle Quantum Approximate Optimization Algorithm (MA-QAOA) for the [Maximum Cut (MaxCut) problem](https://en.wikipedia.org/wiki/Maximum_cut) with [Qiskit](https://www.ibm.com/quantum/qiskit)
3
+
4
+
## What's in here?
5
+
Here you can find the code we use in some of our quantum optimization projects.
6
+
*`classes` contains two classes, one to generate graph instances for the MaxCut problem and the other to implement and MA-QAOA-type quantum circuits.
7
+
*`data` contains some pre-generated data (graphs created with the `Problems` class) and an example data generation notebook.
8
+
*`documentation` contains two minimal documentation notebooks about the classes and utilities in this repository.
9
+
*`functions` contains utilities to work with the classes in `classes`, solve the MaxCut problem and othe related tasks.
10
+
*`tutorials` contains a minimal example notebook showing a possible pipeline where the MaxCut problem is solved in a specific instance.
11
+
*`config.py` is a configuration file used to specify some settings (e.g. the number of QAOA layers).
12
+
*`requirements.txt` contains the requirements (install the file before using the code in this repository)
13
+
14
+
## Use this repository
15
+
If you want to use the code in this repository in your projects, please cite explicitely our work, and
16
+
* Clone the repository with `git clone https://github.com/leonardoLavagna/ma_qaoa`
17
+
* Install the requirements with `pip install -r requirements.txt`
18
+
19
+
For further guidance check the examples in the `documentation` and `tutorials` directories.
0 commit comments