aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--prob_plots.py1
2 files changed, 6 insertions, 1 deletions
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)