Ran
|
Jobs
1
|
Files
1282
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
Fix unnecessary serialisation of `PassManager` in serial contexts (backport #12410) (#12500) * Fix unnecessary serialisation of `PassManager` in serial contexts (#12410) * Fix unnecessary serialisation of `PassManager` in serial contexts This exposes the interal decision in `parallel_map` of whether to actually run in serial or not. If not, there's no need for `PassManager` to side-car its `dill` serialisation onto the side of the IPC (we use `dill` because we need to pickle lambdas), which can be an unfortunately huge cost for certain IBM pulse-enabled backends. * Remove new function from public API This makes the patch series safe for backport to 1.1. (cherry picked from commit b12e9ec3c) # Conflicts: # qiskit/utils/__init__.py # qiskit/utils/parallel.py * solve conflicts * passmanager does not know the cpu_count --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com> Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
12 of 12 new or added lines in 3 files covered. (100.0%)
43 existing lines in 6 files now uncovered.74979 of 86276 relevant lines covered (86.91%)
100796.19 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
94.02 |
-0.24% | crates/qasm2/src/expr.rs |
2 |
65.67 |
0.59% | qiskit/utils/parallel.py |
4 |
87.37 |
-4.21% | qiskit/passmanager/passmanager.py |
7 |
91.86 |
-1.02% | crates/qasm2/src/lex.rs |
7 |
91.84 |
-1.04% | crates/accelerate/src/euler_one_qubit_decomposer.rs |
22 |
57.81 |
-34.38% | crates/accelerate/src/sabre_swap/neighbor_table.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 9426882578.1 | 1282 |
86.91 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|