From 75512c8a6bbe7baa52d91fefcbc3e4927ad089d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kn=C3=BCttel?= Date: Fri, 14 Feb 2020 11:04:57 +0100 Subject: [PATCH] save figure --- performance/plot_scaling_qbits_linear.py | 2 +- performance/plot_scaling_qbits_log.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/performance/plot_scaling_qbits_linear.py b/performance/plot_scaling_qbits_linear.py index e051a9b..18161c9 100644 --- a/performance/plot_scaling_qbits_linear.py +++ b/performance/plot_scaling_qbits_linear.py @@ -25,5 +25,5 @@ plt.xlabel("Number of Qbits $N_q$") plt.ylabel("Execution time per circuit [s]") 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) plt.show() -#plt.savefig("scaling_qbits_linear.png", dpi=400) diff --git a/performance/plot_scaling_qbits_log.py b/performance/plot_scaling_qbits_log.py index 6bffa45..e53fbee 100644 --- a/performance/plot_scaling_qbits_log.py +++ b/performance/plot_scaling_qbits_log.py @@ -26,6 +26,6 @@ plt.xlabel("Number of Qbits $N_q$") plt.ylabel("Execution time per circuit [s]") plt.title(f"Execution Time for ${meta['ngates_per_qbit']}\\times N_q$ Gates with random Circuits (rescaled)") +plt.savefig("scaling_qbits_log.png", dpi=400) plt.show() -#plt.savefig("scaling_qbits_log.png", dpi=400)