• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 20663023597
88%

Build:
DEFAULT BRANCH: main
Ran 02 Jan 2026 06:19PM UTC
Jobs 1
Files 885
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jan 2026 04:59PM UTC coverage: 88.311% (-0.01%) from 88.325%
20663023597

push

github

web-flow
Use realistic errors in C API test Target (#15491)

Previously, the error rates were ludicrously high, which meant that, in
general, `UnitarySynthesis` could synthesise entangling 2q blocks into
separable states without any 2q gates at all, while maintaining its
configured fidelity target.

For example, the `Target` used in
`test.python.c_api.TestTranspile.test_translate_ecr_basis` has ECR
properties of (approximately):

    (0, 1): (duration=0.976, error=0.094)
    (1, 0): (duration=0.786, error=0.786)

The error on the (1, 0) link is ridiculous, and effectively means that
any synthesis that depends on that error will create pure noise.  Due to
weirdness in the `UnitarySynthesis` "preferred direction" logic as of
Qiskit 2.3.0, the "preferred direction" is chosen based first on the
duration, meaning that the (1, 0) link is chosen, but the _error_ used
in the approximation of this decomposition is not updated to the flipped
error, but instead remains as the (0, 1) error.

The actual root compilation bug here is in the heuristic choices of
`UnitarySynthesis`, but this can be fixed separately in a follow up.
Regardless of those heuristics, the `Target` construction in these C
tests is creating crazy situations but testing as if the backend is
sane.

96716 of 109517 relevant lines covered (88.31%)

1209550.96 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
73.14
-0.08% crates/circuit/src/parameter/symbol_expr.rs
5
91.77
-0.26% crates/qasm2/src/lex.rs
12
97.09
-0.94% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 20663023597.1 02 Jan 2026 06:18PM UTC 885
88.31
GitHub Action Run
Source Files on build 20663023597
  • Tree
  • List 885
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20663023597
  • ae3d26a9 on github
  • Prev Build on gh-readonly-queue/main/pr-15467-94289464dfe1fc3e23acc3383d35d7921f17677d (#20365953474)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc