Skip to content

Commit

Permalink
update plots
Browse files Browse the repository at this point in the history
  • Loading branch information
caitaozhan committed May 2, 2023
1 parent 11fe2c6 commit f71e390
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ class Plot:
plt.rcParams['font.weight'] = 'bold'
plt.rcParams['axes.labelweight'] = 'bold'

METHOD = ['povmloc-one', 'povmloc', 'qml-r', 'qml-r-two', 'qml-c', 'qml-c-two', 'qml-ibmq_manila', 'qml-two-ibmq_manila']
_LEGEND = ['QSD-One', 'QSD-Two', 'PQC-One', 'PQC-Two', 'PQC-One', 'PQC-Two', 'PQC-One (IBM Quantum)', 'PQC-two (IBM Quantum)']
METHOD = ['povmloc-one', 'povmloc', 'qml-r', 'qml-r-two', 'qml-c', 'qml-c-two', 'qml-ibmq_manila', 'qml-two-ibmq_manila']
_LEGEND = ['QSD-One', 'QSD-Two', 'PQC-One', 'PQC-Two', 'PQC-One', 'PQC-Two', 'PQC-One (IBM Quantum)', 'PQC-two (IBM Quantum)']
LEGEND = dict(zip(METHOD, _LEGEND))

_COLOR = ['r', 'darksalmon', 'darkblue', 'cornflowerblue', 'darkblue', 'cornflowerblue', 'green', 'springgreen']
_COLOR = ['cornflowerblue', 'darkblue', 'darksalmon', 'r', 'darksalmon', 'r', 'springgreen', 'green']
COLOR = dict(zip(METHOD, _COLOR))

_LINE = ['-', '--', '-', '--', '-', '--', '-', '--']
_LINE = ['--', '-', '--', '-', '--', '-', '--', '-']
LINE = dict(zip(METHOD, _LINE))


Expand Down Expand Up @@ -578,10 +578,10 @@ def runtime():

continuous_varygrid()
continuous_varysensornum()
# localization_error_cdf()
localization_error_cdf()

# discrete_varygrid()
# discrete_varysensornum()
discrete_varygrid()
discrete_varysensornum()


# IBM
Expand Down
Binary file modified results/continuous.varygrid.ibm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/continuous.varygrid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/continuous.varysensornum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/discrete.varygrid.ibm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/discrete.varygrid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/discrete.varysensornum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/error_cdf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified results/error_cdf_ibm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f71e390

Please sign in to comment.