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

Qiskit / qiskit / 23184253032
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: two-qubit-peephole-parallel-pass
DEFAULT BRANCH: main
Ran 17 Mar 2026 08:31AM UTC
Jobs 1
Files 910
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

17 Mar 2026 08:00AM UTC coverage: 87.522% (-0.01%) from 87.535%
23184253032

push

github

web-flow
Fix approximate-by-default behaviour of `UnitarySynthesis` (#15807)

* Fix approximate-by-default behaviour of `UnitarySynthesis`

In gh-15492[^1], we accidentally swapped the behaviour of
`approximation_degree` such that `None` was treated as "exact" and `1.0`
as "up to gate error".  Despite all _other_ explicit float values
meaning up-to-gate-fidelity multiplied by the value,
`approximation_degree=1.0` has historically _actually_ meant "exact
synthesis", and `None` is "up to gate error" instead.

While the oversight is easy to correct (and now encapsulated on entry to
`UnitarySynthesis` rather than dealing with two different systems), the
more worrying aspect was that our test suite did not catch the swap; we
came unfortunately close to releasing Qiskit 2.4 with approximate
synthesis turned on by default.

[^1]: 0b8bceb0: Rewrite default `UnitarySynthesis` to cache decomposers

* Improve documentation comments

* Fix typo

59 of 67 new or added lines in 5 files covered. (88.06%)

17 existing lines in 4 files now uncovered.

101153 of 115574 relevant lines covered (87.52%)

1169313.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
89.83
0.09% crates/cext/src/transpiler/passes/unitary_synthesis.rs
7
94.71
-1.31% crates/transpiler/src/passes/unitary_synthesis/decomposers.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.99
0.0% crates/circuit/src/parameter/parameter_expression.rs
3
92.29
0.51% crates/qasm2/src/lex.rs
4
92.61
-0.58% crates/transpiler/src/transpiler.rs
9
74.02
-0.37% crates/circuit/src/parameter/symbol_expr.rs
Jobs
ID Job ID Ran Files Coverage
1 23184253032.1 17 Mar 2026 08:31AM UTC 910
87.52
GitHub Action Run
Source Files on build 23184253032
  • Tree
  • List 910
  • Changed 8
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23184253032
  • fd2fd0d0 on github
  • Prev Build on gh-readonly-queue/main/pr-15818-d7641b47f32229916f8486dc28f3d78a7593265b (#23152793047)
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