|
Ran
|
Jobs
1
|
Files
923
|
Run time
2min
|
Badge
README BADGES
|
push
github
QPY Rust and Python compatibility fixes (#15847) (#15887) * Change the encoding of qpy_replay ParameterVector elements to what the Python module expects * Add test * Fix another two bugs found by the extended testing * BoxOp parameter handling * Rust writer now writes SwitchCaseOp's params in the python style * Reading of python style SwitchCaseOp in Rust * Make for_loop tuple params be saved as little endian * Fix BoxOp handling of Nulll duration * Reconcile new and old reading of SwitchCaseOp * Make control_flow_class_name use the enum, not the string * Bugfix in parameter vector lookup for QPY<15 * Raise an error when condition value is too large * Fixes according to PR review * Bugfix * Apply suggestions from code review * Fixes according to PR review * Ensure all combinations of read/write run --------- (cherry picked from commit 63ccd7d3c) Co-authored-by: gadial <gadial@gmail.com> Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com> Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
106 of 144 new or added lines in 4 files covered. (73.61%)
65 existing lines in 6 files now uncovered.103959 of 118710 relevant lines covered (87.57%)
998897.0 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 23 |
78.65 |
-1.92% | crates/qpy/src/circuit_reader.rs |
| 9 |
92.37 |
-0.33% | crates/qpy/src/circuit_writer.rs |
| 6 |
74.9 |
-2.26% | crates/qpy/src/value.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 35 |
78.65 |
-1.92% | crates/qpy/src/circuit_reader.rs |
| 21 |
74.9 |
-2.26% | crates/qpy/src/value.rs |
| 3 |
92.54 |
0.51% | crates/qasm2/src/lex.rs |
| 3 |
63.4 |
-1.55% | crates/qpy/src/bytes.rs |
| 2 |
96.89 |
-0.48% | crates/transpiler/src/passes/unitary_synthesis/mod.rs |
| 1 |
74.34 |
0.12% | crates/circuit/src/parameter/symbol_expr.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23638138370.1 | 923 |
87.57 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|