|
Ran
|
Jobs
1
|
Files
124
|
Run time
1min
|
Badge
README BADGES
|
push
github
fix(circuit): reject non-positive Suzuki-Trotter orders (#393) (#394) The order check only ruled out odd values, so 0 and negative even orders passed the constructor. The recursion in the schedule builder only stops at orders 1 and 2, so any such order descended forever and surfaced as a RecursionError at synthesis time, far from the offending argument. An operator with a single factor short-circuits before the recursion, so whether it failed also depended on the operator. Validate in the constructor instead: the order must be 1 or a positive even integer. (cherry picked from commit 95e1e9d9b) Co-authored-by: Max Rossmannek <21973473+mrossinek@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
1 of 1 new or added line in 1 file covered. (100.0%)
1 existing line in 1 file now uncovered.13950 of 14205 relevant lines covered (98.2%)
460128.92 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
99.52
|
-0.48% | crates/core/src/mappers/qk_obs.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 39768952521.1 | 124 |
98.2
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|