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

Qiskit / qiskit / 23546949171 / 1
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: codex/fix-sabre-disjoint-idle-qubits-15841
DEFAULT BRANCH: main
Ran 25 Mar 2026 03:12PM UTC
Files 928
Run time 44s
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

25 Mar 2026 02:42PM UTC coverage: 87.188% (+0.07%) from 87.114%
23546949171.1

push

github

web-flow
Use nalgebra::Matrix4 as output for instructions_to_matrix (#15871)

* Use nalgebra::Matrix4 as output for instructions_to_matrix

This commit switches the return type of
convert_2q_block_matrix::instructions_to_matrix() to return a nalgebra
Matrix4 rather than a dynamicly allocated ndarray Array2. The function
explicitly returns a 4x4 Complex64 matrix. Using an nalgebra fixed size
array is stack allocated and we avoid needing a dynamic allocation. This
should also speedup matrix multiplication since nalgebra can leverage
simd better (either directly or implicitly via the compiler) because it
knows the fixed operations needed. We were already setup towards doing
since #13649 which moved to using nalgebra internally for the 1q
component, but it didn't update the whole path in that PR to use an
nalgebra array for everything.

Ideally we'd be using nalgebra data types throughout the two qubit
decomposers too. We should still use faer for the more involved linear
algebra operations in the module but we should be using Matrix4 and
Matrix2 for fixed sized matrices where we know the size of the matrices
in that module and generate faer MatRefs using
qiskit_synthesis::linalg::nalgebra_to_faer() to do linear algebra with
the matrix. This PR is an incremental step towards doing that.

* Update safety comment

103620 of 118846 relevant lines covered (87.19%)

997492.11 hits per line

Source Files on job 23546949171.1
  • Tree
  • List 928
  • Changed 10
  • Source Changed 4
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23546949171
  • 3e803260 on github
  • Prev Job for on gh-readonly-queue/main/pr-15871-03e8f5b70ddcebf0d33448c036257fb05cd5fdf9 (#23541950809.1)
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