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

Qiskit / qiskit / 25715795365
87%

Build:
DEFAULT BRANCH: main
Ran 12 May 2026 06:08AM UTC
Jobs 1
Files 939
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

12 May 2026 05:13AM UTC coverage: 87.639% (+0.03%) from 87.606%
25715795365

push

github

web-flow
Improve single-qubit gate count in `TwoQubitControlledUDecomposer` (#16123)

* add a function append_1q_sequence

* use append_1q_sequence function

* reduce 1-qubit gtaes, need to debug failing tests

* update matrix calculation. still need to fix failing tests

* minor fix

* fix bugs, tests are passing now!

* rename gates1 to weyl_gates

* fix clippy errors

* move H, S, SDG matrices to common

* simplify append_1q_sequence, remove invert_1q_gate

* add tests for the number of gates

* add another test

* invert matrices inplace using try_inverse_mut

* add release notes

* not inverting the k matrices twice

* invert the RXX equivalent gate in to_rxx_gate

* handle weyl_gate.global_phase

* only create the euler_basis once

* to_rxx_gate returns only one 2-qubit gate, or its inverse

* minor update to test

* the two qubit indices are only [0,1]

* update panic error

* modify k_mats in place

* add circuit pictures

* Use a struct instead of a tuple for result objects

This commit updates the result type usec internally between the
to_rxx_gate() function and it's caller to be a struct instead of a
4-tuple. This allows named access and makes it easier to reason about
about what each of the fields are and give them context.

* Rename variables for clarity

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

190 of 196 new or added lines in 1 file covered. (96.94%)

7 existing lines in 1 file now uncovered.

107043 of 122141 relevant lines covered (87.64%)

961514.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
93.47
2.76% crates/synthesis/src/two_qubit_decompose/controlled_u_decomposer.rs

Coverage Regressions

Lines Coverage ∆ File
7
92.03
-0.51% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 25715795365.1 12 May 2026 06:08AM UTC 939
87.64
GitHub Action Run
Source Files on build 25715795365
  • Tree
  • List 939
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25715795365
  • 02f052df on github
  • Prev Build on gh-readonly-queue/main/pr-16014-b955d1435ce0a0af7652ca748c18b50f217ed6a7 (#25514239653)
  • Next Build on main (#25724701732)
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