From 1a9123e82f37d5b0a019e7e0d02c47ff67a4281f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kn=C3=BCttel?= Date: Mon, 6 Apr 2020 17:49:10 +0200 Subject: [PATCH] moved from s to ms --- performance/plot_scaling_qbits_linear.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/performance/plot_scaling_qbits_linear.py b/performance/plot_scaling_qbits_linear.py index 6fa6200..18e6759 100644 --- a/performance/plot_scaling_qbits_linear.py +++ b/performance/plot_scaling_qbits_linear.py @@ -14,18 +14,18 @@ with open("qbit_scaling_meta.json") as fin: meta = json.load(fin) -h0 = plt.errorbar(results_naive[:, 0], results_naive[:, 2], results_naive[:, 3] +h0 = plt.errorbar(results_naive[:, 0], results_naive[:, 2]*1000, results_naive[:, 3]*1000 , label=f"Dense Vector Simulator $N_c={int(results_naive[:, 1][0])}$ Circuits" , marker="o" , color="black") -h1 = plt.errorbar(results_graph[:, 0], results_graph[:, 2], results_graph[:, 3] +h1 = plt.errorbar(results_graph[:, 0], results_graph[:, 2]*1000, results_graph[:, 3]*1000 , label=f"Graphical Simulator $N_c={int(results_graph[:, 1][0])}$ Circuits" , marker="^" , color="black") plt.legend(handles=[h0, h1]) plt.xlabel("Number of Qbits $N_q$") -plt.ylabel("Execution Time per Circuit [s]") +plt.ylabel("Execution Time per Circuit [ms]") plt.title(f"Execution Time for ${meta['ngates_per_qbit']}\\times N_q$ Gates with Random Circuits (Rescaled)") plt.savefig("scaling_qbits_linear.png", dpi=400)