Skip to content

Commit

Permalink
Minor correction on the figure label (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxiLi committed Jan 5, 2022
1 parent 04962de commit 40a508a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/pulse-paper/qft.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,13 @@ def get_control_latex(model):
11.539598500728607,
31.34040207862854]

fig, ax = plt.subplots(figsize=(LINEWIDTH, LINEWIDTH/3*2), dpi=200)
ax.plot(range(1, 11), compiling_time, "-s", markersize=4, label="solver")
ax.plot(range(1, 11), simulation_time, "-D", markersize=4, label="compiling")
fig, ax = plt.subplots(figsize=(TEXTWIDTH, LINEWIDTH/3*2), dpi=200)
ax.plot(range(1, 11), compiling_time, "-s", markersize=4, label=r"Compiler (\texttt{Processor.load\_circuit)}")
ax.plot(range(1, 11), simulation_time, "-D", markersize=4, label=r"Solver (\texttt{Processor.run\_state})")
ax.set_ylabel("Simulation time [s]")
ax.set_xlabel("Number of qubits")
ax.set_yscale("log")
ax.set_ylim((ax.get_ylim()[0], 150))
ax.legend()
fig.tight_layout()
fig.savefig("runtime.pdf")
Expand Down

0 comments on commit 40a508a

Please sign in to comment.