save figure

This commit is contained in:
Daniel Knüttel 2020-02-14 11:04:57 +01:00
parent 7fb7d1108c
commit 75512c8a6b
2 changed files with 2 additions and 2 deletions

View File

@ -25,5 +25,5 @@ plt.xlabel("Number of Qbits $N_q$")
plt.ylabel("Execution time per circuit [s]") 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.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.show()
#plt.savefig("scaling_qbits_linear.png", dpi=400)

View File

@ -26,6 +26,6 @@ plt.xlabel("Number of Qbits $N_q$")
plt.ylabel("Execution time per circuit [s]") 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.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.show()
#plt.savefig("scaling_qbits_log.png", dpi=400)