|
Ran
|
Jobs
1
|
Files
916
|
Run time
4min
|
Badge
README BADGES
|
push
github
Do not raise deprecation warnings for internal uses of dag.duration and dag.unit (backport #14133) (#14147) * Do not raise deprecation warnings for internal uses of dag.duration and dag.unit (#14133) * Filter Rust deprecation warning when calling dag.duration/dag.unit internally Filter Rust deprecation warning when calling dag.duration/dag.unit internally * Apply Matt's suggestions: * Refactor access patterns: add dag._duration and dag._unit * Refactor internal uses of dag.duration and dag.unit to rely on internal methods * Remove blanket warning filters from unit test config On top of these: * Extend deprecation warnings to dag.duration and dag.unit setters (previously only in getters) * Clean up unit test config from old filters * Change stacklevel * Fix circuit_to_dag * Handle failing tests * _DAGDependencyV2 is private and not a DAGCircuit, so don't use internal attributes * Reduce duplication in getters and setters (cherry picked from commit d0aa10088) # Conflicts: # crates/circuit/src/dag_circuit.rs # qiskit/transpiler/passes/scheduling/padding/base_padding.py # test/python/circuit/test_scheduled_circuit.py # test/python/compiler/test_transpiler.py # test/utils/base.py * Fix merge conflicts * Address failing tests * More fixes * More fixes * Last try --------- Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com> Co-authored-by: Elena Peña Tapia <epenatap@gmail.com>
50 of 92 new or added lines in 14 files covered. (54.35%)
37 existing lines in 4 files now uncovered.79437 of 89467 relevant lines covered (88.79%)
359048.95 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 8 |
72.22 |
0.0% | qiskit/circuit/duration.py |
| 34 |
88.28 |
-0.8% | crates/circuit/src/dag_circuit.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
93.21 |
0.0% | crates/accelerate/src/unitary_synthesis.rs |
| 7 |
92.48 |
-0.5% | crates/qasm2/src/lex.rs |
| 11 |
88.28 |
-0.8% | crates/circuit/src/dag_circuit.rs |
| 18 |
96.23 |
-1.38% | crates/qasm2/src/parse.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 14200061146.1 | 916 |
88.79 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|