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

Qiskit / qiskit / 34096520551
88%

Build:
DEFAULT BRANCH: main
Ran 07 Sep 2026 08:10AM UTC
Jobs 1
Files 961
Run time 3min
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

07 Sep 2026 07:13AM UTC coverage: 87.816% (+0.007%) from 87.809%
34096520551

push

github

web-flow
Fix identity one-qubit gates in the U and U3 Euler bases (#16834)

* Fix identity one-qubit gates in U/U3 Euler decomposition

At zero theta, `U` and `U3` are diagonal and only depend on `phi + lam`,
but the emitters for those two bases normalised `phi` and `lam`
separately and then tested them individually. A result such as
`U(0, -pi, -pi)` is the identity, yet both angles are non-zero, so the
gate was kept. Normalise `phi + lam` first, the way the `U321` basis
already does, before deciding whether to emit anything.

This is what left a stray one-qubit gate behind when `TwoQubitBasisDecomposer`
used the `U` or `U3` basis, e.g. decomposing CX in the CX basis.

Fixes #9315

* Update C transpiler test for the removed identity gate

test_transpile_idle_qubits transpiles a CRZ onto a CX + U target and
checks the instruction count at each optimisation level. With the
identity one-qubit gate no longer emitted, optimisation level 1 now
produces 7 instructions rather than 8, which is what levels 2 and 3
already expected.

* Address review feedback on synthesis test

14 of 14 new or added lines in 1 file covered. (100.0%)

11 existing lines in 3 files now uncovered.

116080 of 132186 relevant lines covered (87.82%)

988377.85 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
97.63
0.47% crates/qasm2/src/parse.rs
4
91.77
-0.26% crates/qasm2/src/lex.rs
1
80.7
0.11% crates/circuit/src/parameter/symbol_expr.rs
Jobs
ID Job ID Ran Files Coverage
1 34096520551.1 07 Sep 2026 08:10AM UTC 961
87.82
GitHub Action Run
Source Files on build 34096520551
  • Tree
  • List 961
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34096520551
  • 5f0a8617 on github
  • Prev Build on gh-readonly-queue/main/pr-16884-bc5caea4dc3527670b6f4b5ea02ab729b66dabfa (#34091199389)
  • Next Build on main (#34096966029)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc