From 47c210dc99b36de033d0722d4bcb810a7bd075ce Mon Sep 17 00:00:00 2001 From: ottjk Date: Tue, 5 Dec 2023 23:41:11 -0500 Subject: update --- README.md | 6 +++++- prob_plots.py | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 41c5651..ea3e314 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # csc591_proj -Using quantum computers and VQE/QAOA to solve a graph coloring problem. +Using quantum computers and QAOA to solve a graph coloring problem. + +* `main.py` - definition of QC class for creating a quantum circuit from a graph +* `prob_plots.py` - script used for finding ground states and generating probability distributions +* `graphviz.py` - generate graphs from outputted states diff --git a/prob_plots.py b/prob_plots.py index 741eaec..e2696eb 100644 --- a/prob_plots.py +++ b/prob_plots.py @@ -23,5 +23,6 @@ n_vertices = 6 graph = [(0,1),(0,2),(0,3),(0,4),(0,5),(1,2),(2,3),(3,4),(4,5),(5,1)] qc_6 = QC(graph, n_vertices, n_layers) +# uncomment which one you want # get_probs(qc_5) get_probs(qc_6) -- cgit v1.3