QPanda3  0.1.0
Supported by OriginQ
Loading...
Searching...
No Matches
Benchmark

The following benchmark rom IBM's Qiskit benchpress. We forked the repository and added test items for pyqpanda3 to complete the relevant tests. Our test repository can be found at https://github.com/OriginQ/benchpress.

‍"The Benchpress open-source benchmarking suite comprises over 1,000 different tests. These are standardized benchmarking tests designed by other members of the quantum community. For example, Benchpress compares SDKs’ abilities to generate QASMBench circuits, Feynman circuits, and Hamiltonian circuits. It also includes tests designed to test a language's ability to transpiler circuits for specific hardware, including the heavy hex architecture of IBM quantum processors and other generic qubit layouts."

IBM Qiskit

Quantum Circuit Construct

Bench Name qpanda_mean_time(s) qiskit_mean_time(s)
test_multi_control_circuit 0.000014 0.001511
test_bigint_qasm2_import 0.000153 0.002675
test_param_circSU2_100_bind 0.003641 0.003034
test_param_circSU2_100_build 0.004207 0.022184
test_DTC100_set_build 0.017526 0.169972
test_QV100_build 0.073330 0.102457
test_clifford_build 1.381037 3.095774

Manipulate

Bench Name qpanda_mean_time(s) qiskit_mean_time(s)
test_multi_control_decompose 0.018107 0.180172
test_random_clifford_decompose 0.023454 0.006619
test_DTC100_twirling 0.048522 0.005823
test_QV100_basis_change 0.829566 2.600466

Quantum Circuit Transpilation

Quantum Circuit Transpilation