-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e92d350
commit 199bb7d
Showing
5 changed files
with
226 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
# Max-Cut implementation using VQE | ||
# Event Scheduling using Max Cut | ||
|
||
The following is the implementation of Variational Quantum Eigensolver algorithm for solving max-cut problem. | ||
![Max Cut](maxcut.png) | ||
|
||
## The problem statement | ||
|
||
There is an event scheduling organization who has events on weekends. All of the events are a day long, so it is not possible for a participant to attend more than one event in a day. To maximize the attendance, the company has asked all the participants to submit their preferences for which two events they wish to attend. Our task is to schedule the events such that it maximizes the participation based on the preferences. | ||
|
||
To solve the above problem, I have implemented the VQE algorithm in Qiskit. Refer to [this notebook](https://github.com/jashgopani/maxcut-vqe/blob/main/maxcut_vqe.ipynb) for the code for the same. | ||
|
||
## VQE diagram | ||
|
||
![VQE Diagram](vqe.png) | ||
|
||
## Setup instructions | ||
|
||
The setup instructions are specified in the `maxcut_vqe.ipynb` file. | ||
|
||
## Tech stack | ||
|
||
<img src="https://appedus.com/wp-content/uploads/2021/04/Qiskit.jpg" alt="Qiskit" width="50"/> | ||
<img src="https://pluspng.com/img-png/python-logo-png-open-2000.png" alt="Python" width="50"/> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.