Spaces:
Runtime error
Runtime error
Amit
commited on
Commit
·
2dd4184
1
Parent(s):
4a099e2
add qpanda.
Browse files- data/hdyn/pennylane_l_multithread_dp.h5 +0 -0
- data/hdyn/pennylane_l_multithread_sp.h5 +0 -0
- data/hdyn/qpanda_multithread_dp.h5 +0 -0
- data/hdyn/qpanda_singlethread_dp.h5 +0 -0
- data/qft/pennylane_l_multithread_dp.h5 +0 -0
- data/qft/pennylane_l_multithread_sp.h5 +0 -0
- data/qft/qpanda_singlethread_dp.h5 +0 -0
- data/rqc/pennylane_l_multithread_dp.h5 +0 -0
- data/rqc/pennylane_l_multithread_sp.h5 +0 -0
- data/rqc/qpanda_singlethread_dp.h5 +0 -0
- plot_scripts/map_packages_colors_1v1.py +2 -2
- plot_scripts/map_packages_colors_all.py +1 -1
- plot_scripts/map_packages_colors_mgpu.py +1 -1
- plot_scripts/plot_display_all.py +1 -1
- plot_scripts/plot_display_com_pack.py +1 -1
- plot_scripts/plot_display_mgpu.py +1 -1
- plots_display_all.ipynb +3 -3
data/hdyn/pennylane_l_multithread_dp.h5
ADDED
Binary file (2.15 kB). View file
|
|
data/hdyn/pennylane_l_multithread_sp.h5
ADDED
Binary file (2.16 kB). View file
|
|
data/hdyn/qpanda_multithread_dp.h5
ADDED
Binary file (2.17 kB). View file
|
|
data/hdyn/qpanda_singlethread_dp.h5
ADDED
Binary file (2.15 kB). View file
|
|
data/qft/pennylane_l_multithread_dp.h5
ADDED
Binary file (2.16 kB). View file
|
|
data/qft/pennylane_l_multithread_sp.h5
ADDED
Binary file (2.15 kB). View file
|
|
data/qft/qpanda_singlethread_dp.h5
ADDED
Binary file (2.06 kB). View file
|
|
data/rqc/pennylane_l_multithread_dp.h5
ADDED
Binary file (2.14 kB). View file
|
|
data/rqc/pennylane_l_multithread_sp.h5
ADDED
Binary file (2.14 kB). View file
|
|
data/rqc/qpanda_singlethread_dp.h5
ADDED
Binary file (2.06 kB). View file
|
|
plot_scripts/map_packages_colors_1v1.py
CHANGED
@@ -30,9 +30,9 @@ n_colors = 20
|
|
30 |
x_arr = [cm(1.*i/n_colors) for i in range(n_colors)]
|
31 |
# s_arr = ["o", "*", "s", "^", "D", "v"]
|
32 |
# s_arr = Line2D.filled_markers*100
|
33 |
-
s_arr = ['o', 'v', '^', '<', '>', '8', 's', 'p', '*', 'h', 'H', 'D', 'd', 'P', 'X', '+', '
|
34 |
|
35 |
-
pkg_str = ['cirq', 'hybridq', 'intel_qs_cpp', 'pennylane_l', 'projectq', 'qcgpu', 'qibojit', 'qsimcirq', 'quest', 'svsim', 'yao', 'hiq', 'pennylane', 'qibo', 'qiskit', 'qrack_sch', 'qulacs', 'cuquantum_qiskit', 'cuquantum_qsimcirq']
|
36 |
|
37 |
task = ['hdyn', 'rqc', 'qft']
|
38 |
|
|
|
30 |
x_arr = [cm(1.*i/n_colors) for i in range(n_colors)]
|
31 |
# s_arr = ["o", "*", "s", "^", "D", "v"]
|
32 |
# s_arr = Line2D.filled_markers*100
|
33 |
+
s_arr = ['o', 'v', '^', '<', '>', '8', 's', 'p', '*', 'h', 'H', 'D', 'd', 'P', 'X', '+', '2', '4']*50
|
34 |
|
35 |
+
pkg_str = ['cirq', 'hybridq', 'intel_qs_cpp', 'pennylane_l', 'projectq', 'qcgpu', 'qibojit', 'qsimcirq', 'quest', 'svsim', 'yao', 'hiq', 'pennylane', 'qibo', 'qiskit', 'qrack_sch', 'qulacs', 'cuquantum_qiskit', 'cuquantum_qsimcirq', 'qpanda']
|
36 |
|
37 |
task = ['hdyn', 'rqc', 'qft']
|
38 |
|
plot_scripts/map_packages_colors_all.py
CHANGED
@@ -31,7 +31,7 @@ x_arr = [cm(1.*i/n_colors) for i in range(n_colors)]
|
|
31 |
# s_arr = Line2D.filled_markers*100
|
32 |
s_arr = ['o', 'v', '^', '<', '>', '8', 's', 'p', '*', 'h', 'H', 'D', 'd', 'P', 'X', '+', '2', '4']*70
|
33 |
|
34 |
-
pkg_str = ['cirq', 'hybridq', 'intel_qs_cpp', 'pennylane_l', 'projectq', 'qcgpu', 'qibojit', 'qsimcirq', 'quest', 'svsim', 'yao', 'hiq', 'pennylane', 'qibo', 'qiskit', 'qrack_sch', 'qulacs', 'cuquantum_qiskit', 'cuquantum_qsimcirq']
|
35 |
|
36 |
task = ['hdyn', 'rqc', 'qft']
|
37 |
|
|
|
31 |
# s_arr = Line2D.filled_markers*100
|
32 |
s_arr = ['o', 'v', '^', '<', '>', '8', 's', 'p', '*', 'h', 'H', 'D', 'd', 'P', 'X', '+', '2', '4']*70
|
33 |
|
34 |
+
pkg_str = ['cirq', 'hybridq', 'intel_qs_cpp', 'pennylane_l', 'projectq', 'qcgpu', 'qibojit', 'qsimcirq', 'quest', 'svsim', 'yao', 'hiq', 'pennylane', 'qibo', 'qiskit', 'qrack_sch', 'qulacs', 'cuquantum_qiskit', 'cuquantum_qsimcirq', 'qpanda']
|
35 |
|
36 |
task = ['hdyn', 'rqc', 'qft']
|
37 |
|
plot_scripts/map_packages_colors_mgpu.py
CHANGED
@@ -31,7 +31,7 @@ x_arr = [cm(1.*i/n_colors) for i in range(n_colors)]
|
|
31 |
# s_arr = Line2D.filled_markers*100
|
32 |
s_arr = ['o', 'v', '^', '<', '>', '8', 's', 'p', '*', 'h', 'H', 'D', 'd', 'P', 'X', '+', '2', '4']*70
|
33 |
|
34 |
-
pkg_str = ['cirq', 'hybridq', 'intel_qs_cpp', 'pennylane_l', 'projectq', 'qcgpu', 'qibojit', 'qsimcirq', 'quest', 'svsim', 'yao', 'hiq', 'pennylane', 'qibo', 'qiskit', 'qrack_sch', 'qulacs', 'cuquantum_qiskit', 'cuquantum_qsimcirq']
|
35 |
|
36 |
task = ['hdyn', 'rqc', 'qft']
|
37 |
|
|
|
31 |
# s_arr = Line2D.filled_markers*100
|
32 |
s_arr = ['o', 'v', '^', '<', '>', '8', 's', 'p', '*', 'h', 'H', 'D', 'd', 'P', 'X', '+', '2', '4']*70
|
33 |
|
34 |
+
pkg_str = ['cirq', 'hybridq', 'intel_qs_cpp', 'pennylane_l', 'projectq', 'qcgpu', 'qibojit', 'qsimcirq', 'quest', 'svsim', 'yao', 'hiq', 'pennylane', 'qibo', 'qiskit', 'qrack_sch', 'qulacs', 'cuquantum_qiskit', 'cuquantum_qsimcirq', 'qpanda']
|
35 |
|
36 |
task = ['hdyn', 'rqc', 'qft']
|
37 |
|
plot_scripts/plot_display_all.py
CHANGED
@@ -22,7 +22,7 @@ from plot_scripts_all import *
|
|
22 |
# p_com_cap = input(" Enter the choice of the compute capability : ")
|
23 |
# p_prec = input(" Enter the choice of the precision : ")
|
24 |
|
25 |
-
package_str = ['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq']
|
26 |
|
27 |
def abs_time(t, cc, pr, compare_pack, N_end):
|
28 |
|
|
|
22 |
# p_com_cap = input(" Enter the choice of the compute capability : ")
|
23 |
# p_prec = input(" Enter the choice of the precision : ")
|
24 |
|
25 |
+
package_str = ['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq', 'qpanda']
|
26 |
|
27 |
def abs_time(t, cc, pr, compare_pack, N_end):
|
28 |
|
plot_scripts/plot_display_com_pack.py
CHANGED
@@ -22,7 +22,7 @@ from plot_scripts_all import *
|
|
22 |
# p_com_cap = input(" Enter the choice of the compute capability : ")
|
23 |
# p_prec = input(" Enter the choice of the precision : ")
|
24 |
|
25 |
-
package_str = ['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq']
|
26 |
|
27 |
# N = 36
|
28 |
ngates_hdyn = [5544, 7722, 9900, 12078, 14256, 16434, 18612, 20790, 22968, 25146, 27324, 29502, 31680, 33858, 36036, 38214]
|
|
|
22 |
# p_com_cap = input(" Enter the choice of the compute capability : ")
|
23 |
# p_prec = input(" Enter the choice of the precision : ")
|
24 |
|
25 |
+
package_str = ['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq', 'qpanda']
|
26 |
|
27 |
# N = 36
|
28 |
ngates_hdyn = [5544, 7722, 9900, 12078, 14256, 16434, 18612, 20790, 22968, 25146, 27324, 29502, 31680, 33858, 36036, 38214]
|
plot_scripts/plot_display_mgpu.py
CHANGED
@@ -7,7 +7,7 @@ sys.path.append('/plot_scripts')
|
|
7 |
from map_packages_colors_mgpu import *
|
8 |
from plot_scripts_mgpu import *
|
9 |
|
10 |
-
package_str = ['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq']
|
11 |
|
12 |
def abs_time(t, pr, n_gpu, compare_pack, N_end):
|
13 |
|
|
|
7 |
from map_packages_colors_mgpu import *
|
8 |
from plot_scripts_mgpu import *
|
9 |
|
10 |
+
package_str = ['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq', 'qpanda']
|
11 |
|
12 |
def abs_time(t, pr, n_gpu, compare_pack, N_end):
|
13 |
|
plots_display_all.ipynb
CHANGED
@@ -244,7 +244,7 @@
|
|
244 |
" \n",
|
245 |
" prec = mr.Select(label=\"Select Precision : \", value=\"Single\", choices=[\"Single\", \"Double\"])\n",
|
246 |
" \n",
|
247 |
-
" com_pack = mr.Select(label=\"Select Package to compare: \", value=\"qsimcirq\", choices=['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq'])\n",
|
248 |
" \n",
|
249 |
" # if task.value == \"Heisenberg dynamics\" or task.value == \"Quantum Fourier Transform\":\n",
|
250 |
" # N_slider = mr.Slider(value=36, min=6, max=36, label=\"Select System size: \", step=2)\n",
|
@@ -271,7 +271,7 @@
|
|
271 |
" \n",
|
272 |
" task = mr.Select(label=\"Select Task I:\", value=\"Heisenberg dynamics\", choices=[\"Heisenberg dynamics\", \"Random Quantum Circuit\", \"Quantum Fourier Transform\"])\n",
|
273 |
" \n",
|
274 |
-
" pack = mr.Select(label=\"Select Package I:\", value=\"qsimcirq\", choices=['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq'])\n",
|
275 |
" \n",
|
276 |
" com_cap = mr.Select(label=\"Select Compute Capability I:\", value=\"Singlethread\", choices=[\"Singlethread\", \"Multithread\", \"GPU\"])\n",
|
277 |
" \n",
|
@@ -281,7 +281,7 @@
|
|
281 |
" \n",
|
282 |
" task_2 = mr.Select(label=\"Select Task II:\", value=\"Random Quantum Circuit\", choices=[\"Heisenberg dynamics\", \"Random Quantum Circuit\", \"Quantum Fourier Transform\"])\n",
|
283 |
"\n",
|
284 |
-
" pack_2 = mr.Select(label=\"Select Package to compare: \", value=\"qsimcirq\", choices=['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq'])\n",
|
285 |
" \n",
|
286 |
" com_cap_2 = mr.Select(label=\"Select Compute Capability II:\", value=\"Singlethread\", choices=[\"Singlethread\", \"Multithread\", \"GPU\"])\n",
|
287 |
" \n",
|
|
|
244 |
" \n",
|
245 |
" prec = mr.Select(label=\"Select Precision : \", value=\"Single\", choices=[\"Single\", \"Double\"])\n",
|
246 |
" \n",
|
247 |
+
" com_pack = mr.Select(label=\"Select Package to compare: \", value=\"qsimcirq\", choices=['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq', 'qpanda'])\n",
|
248 |
" \n",
|
249 |
" # if task.value == \"Heisenberg dynamics\" or task.value == \"Quantum Fourier Transform\":\n",
|
250 |
" # N_slider = mr.Slider(value=36, min=6, max=36, label=\"Select System size: \", step=2)\n",
|
|
|
271 |
" \n",
|
272 |
" task = mr.Select(label=\"Select Task I:\", value=\"Heisenberg dynamics\", choices=[\"Heisenberg dynamics\", \"Random Quantum Circuit\", \"Quantum Fourier Transform\"])\n",
|
273 |
" \n",
|
274 |
+
" pack = mr.Select(label=\"Select Package I:\", value=\"qsimcirq\", choices=['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq', 'qpanda'])\n",
|
275 |
" \n",
|
276 |
" com_cap = mr.Select(label=\"Select Compute Capability I:\", value=\"Singlethread\", choices=[\"Singlethread\", \"Multithread\", \"GPU\"])\n",
|
277 |
" \n",
|
|
|
281 |
" \n",
|
282 |
" task_2 = mr.Select(label=\"Select Task II:\", value=\"Random Quantum Circuit\", choices=[\"Heisenberg dynamics\", \"Random Quantum Circuit\", \"Quantum Fourier Transform\"])\n",
|
283 |
"\n",
|
284 |
+
" pack_2 = mr.Select(label=\"Select Package to compare: \", value=\"qsimcirq\", choices=['qiskit' , 'cirq', 'qsimcirq', 'pennylane', 'pennylane_l', 'qibo', 'qibojit', 'yao', 'quest', 'qulacs', 'intel_qs_cpp', 'projectq', 'svsim', 'hybridq', 'hiq', 'qcgpu', 'qrack_sch', 'cuquantum_qiskit', 'cuquantum_qsimcirq', 'qpanda'])\n",
|
285 |
" \n",
|
286 |
" com_cap_2 = mr.Select(label=\"Select Compute Capability II:\", value=\"Singlethread\", choices=[\"Singlethread\", \"Multithread\", \"GPU\"])\n",
|
287 |
" \n",
|