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

Qiskit / qiskit / 24510477522
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: use-gate-direction-error
DEFAULT BRANCH: main
Ran 16 Apr 2026 01:02PM UTC
Jobs 1
Files 932
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

16 Apr 2026 12:34PM UTC coverage: 87.493% (+0.005%) from 87.488%
24510477522

push

github

web-flow
Switch TwoQubitWeylDecomposition to use nalgebra internally (#15960)

* Switch TwoQubitWeylDecomposition to use nalgebra internally

This is the next step towards using nalgebra as the matrix container
type in the two qubit decomposers. This commit updates the
weyl_decomposition module to leverage nalgebra to contain all the 1 and
2 qubit unitary matrices used during the decomposition.

This has the same advantages outlined in the previous patches in this
series, mainly that the nalgebra types used are fixed size and stack
allocated which provides advantages for these small matrices.

This commit also undoes some of the temporary work in the previous
commit that was adding a dual nalgebra path for some utility functions
in the two qubit basis decomposer. Now that both the weyl decomposition
and the two qubit basis decomposer are based on storage types in
nalgebra a lot of these aren't needed anymore and can be removed.

* Use nalgebra determinant instead of faer's

* Cleanup internal helper functions

This commit cleans up the internal helper functions added for working
with nalgebra and converting between the other libraries used. These
functions were not intended to be used outside of the specific cases
as in this PR as they make assumptions about matrix shape and/or layout.
This adjusts the visibility of the functions and adds docstrings around
the assumptions they make in case someone tries to use them outside of
in this PR.

* Reuse identity in decompose_two_qubit_product_gate()

230 of 256 new or added lines in 5 files covered. (89.84%)

14 existing lines in 6 files now uncovered.

104573 of 119522 relevant lines covered (87.49%)

976270.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
84.79
0.84% crates/synthesis/src/two_qubit_decompose/basis_decomposer.rs
3
61.95
0.34% crates/synthesis/src/linalg/mod.rs
2
96.65
-0.02% crates/synthesis/src/two_qubit_decompose/weyl_decomposition.rs

Coverage Regressions

Lines Coverage ∆ File
6
97.63
-0.47% crates/qasm2/src/parse.rs
3
73.88
-0.04% crates/circuit/src/parameter/symbol_expr.rs
2
92.8
0.77% crates/qasm2/src/lex.rs
1
90.53
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
84.79
0.84% crates/synthesis/src/two_qubit_decompose/basis_decomposer.rs
1
96.65
-0.02% crates/synthesis/src/two_qubit_decompose/weyl_decomposition.rs
Jobs
ID Job ID Ran Files Coverage
1 24510477522.1 16 Apr 2026 01:02PM UTC 932
87.49
GitHub Action Run
Source Files on build 24510477522
  • Tree
  • List 932
  • Changed 10
  • Source Changed 5
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24510477522
  • ceba7598 on github
  • Prev Build on gh-readonly-queue/main/pr-16044-ad95060f4efbb29e1c3e3ab3a12918c81f445a82 (#24478313925)
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