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

Qiskit / qiskit / 24248802512
87%

Build:
DEFAULT BRANCH: main
Ran 10 Apr 2026 03:39PM UTC
Jobs 1
Files 932
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

10 Apr 2026 02:20PM UTC coverage: 87.478% (+0.006%) from 87.472%
24248802512

push

github

web-flow
Use nalgebra Matrix2 internally in the TwoQubitBasisDecomposer (#15928)

* Use nalgebra Matrix2 internally in the TwoQubitBasisDecomposer

This commit moves to using Matrix2 as the array type used internally for
the TwoQubitBasisDecomposer. Matrix2 is a fixed size stack allocated
matrix type that has several performance advantages especially for
matmul because the compiler can reason about a fixed number of
operations and better optimize the implementation. Similarly we avoid a
lot of heap allocations. This will improve the runtime performance of
the two qubit basis decomposer.

This is part of the ongoing effort to move to using nalgebra's fixed
size matrix types Matrix4 and Matrix2 inside all of the two qubit
decomposer paths. We will still use faer for the involved linear
algebra such as eigenvalue decomposition where it is faster and more
numerically stable. This doesn't get us all the way to this goal, it's
just another step on the journey.

There are still places in the module that are using ndarray as the array
types, this is mostly because they're used with either the Weyl
decomposition or the one qubit euler decomposition. In particular there
are a couple of duplicate methods either prefixed or postfixed with
nalgebra to either return or convert to/from an nalgebra object which
are temporary while we're in the middle of the transition. The goal is
to remove these as we migrate the rest of the two qubit decomposers to
be using nalgebra for the storage type.

* Move static definitions to the top of the file

131 of 167 new or added lines in 2 files covered. (78.44%)

13 existing lines in 4 files now uncovered.

104524 of 119486 relevant lines covered (87.48%)

1024791.77 hits per line

Uncovered Changes

Lines Coverage ∆ File
36
83.96
-0.52% crates/synthesis/src/two_qubit_decompose/basis_decomposer.rs

Coverage Regressions

Lines Coverage ∆ File
6
97.63
0.47% crates/qasm2/src/parse.rs
4
74.05
0.04% crates/circuit/src/parameter/symbol_expr.rs
2
92.8
1.03% crates/qasm2/src/lex.rs
1
90.53
0.0% crates/circuit/src/parameter/parameter_expression.rs
Jobs
ID Job ID Ran Files Coverage
1 24248802512.1 10 Apr 2026 03:39PM UTC 932
87.48
GitHub Action Run
Source Files on build 24248802512
  • Tree
  • List 932
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24248802512
  • a2c1136e on github
  • Prev Build on gh-readonly-queue/main/pr-15945-61c436e798fc6c26c3f8fe7c3717bc70b2a921bf (#24247255436)
  • Next Build on main (#24252975121)
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