|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Functions | |
| def | benchmark_func (func, num_runs=10, warmup=3) |
| def | main () |
| def | print_results (results, title="Benchmark Results") |
| def | print_summary (results) |
| def | run_benchmark (circuits, num_runs=10, warmup=3) |
Variables | |
| int | NUM_RUNS = 1 |
| string | PRIMARY_BACKEND = "density_matrix" |
| string | REFERENCE_BACKEND = "qiskit_aer_density_matrix" |
| int | WARMUP_RUNS = 0 |
Performance Benchmark: SQUANDER vs Qiskit Noisy Circuit Simulation Benchmarks execution time of identical circuits in both frameworks. Run with: python benchmarks/benchmark_perf.py
| def benchmark_perf.benchmark_func | ( | func, | |
num_runs = 10, |
|||
warmup = 3 |
|||
| ) |
Benchmark a function with warmup runs.
Definition at line 24 of file benchmark_perf.py.

| def benchmark_perf.main | ( | ) |
| def benchmark_perf.print_results | ( | results, | |
title = "Benchmark Results" |
|||
| ) |
Print benchmark results in a formatted table.
Definition at line 87 of file benchmark_perf.py.

| def benchmark_perf.print_summary | ( | results | ) |
Print benchmark summary statistics.
Definition at line 103 of file benchmark_perf.py.

| def benchmark_perf.run_benchmark | ( | circuits, | |
num_runs = 10, |
|||
warmup = 3 |
|||
| ) |
Run benchmark on a list of circuits.
Definition at line 46 of file benchmark_perf.py.


| int benchmark_perf.NUM_RUNS = 1 |
Definition at line 20 of file benchmark_perf.py.
| string benchmark_perf.PRIMARY_BACKEND = "density_matrix" |
Definition at line 16 of file benchmark_perf.py.
| string benchmark_perf.REFERENCE_BACKEND = "qiskit_aer_density_matrix" |
Definition at line 17 of file benchmark_perf.py.
| int benchmark_perf.WARMUP_RUNS = 0 |
Definition at line 21 of file benchmark_perf.py.
1.8.13