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

Qiskit / qiskit / 9846433295
88%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2024 08:47PM UTC
Jobs 1
Files 848
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

08 Jul 2024 07:47PM UTC coverage: 89.846% (-0.02%) from 89.87%
9846433295

push

github

web-flow
Use rust gates for ConsolidateBlocks (#12704)

* Use rust gates for ConsolidateBlocks

This commit moves to use rust gates for the ConsolidateBlocks transpiler
pass. Instead of generating the unitary matrices for the gates in a 2q
block Python side and passing that list to a rust function this commit
switches to passing a list of DAGOpNodes to the rust and then generating
the matrices inside the rust function directly. This is similar to what
was done in #12650 for Optimize1qGatesDecomposition. Besides being faster
to get the matrix for standard gates, it also reduces the eager
construction of Python gate objects which was a significant source of
overhead after #12459. To that end this builds on the thread of work in
the two PRs #12692 and #12701 which changed the access patterns for
other passes to minimize eager gate object construction.

* Add rust filter function for DAGCircuit.collect_2q_runs()

* Update crates/accelerate/src/convert_2q_block_matrix.rs

---------

Co-authored-by: John Lapeyre <jlapeyre@users.noreply.github.com>

86 of 94 new or added lines in 4 files covered. (91.49%)

19 existing lines in 3 files now uncovered.

65649 of 73068 relevant lines covered (89.85%)

295584.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9846433295.1 08 Jul 2024 08:47PM UTC 0
89.85
GitHub Action Run
Source Files on build 9846433295
Detailed source file information is not available for this build.
  • Back to Repo
  • 4fe9dbc6 on github
  • Prev Build on gh-readonly-queue/main/pr-12659-008dde3d56a5e9fa560519be6b76748f6e3a4532 (#9843731601)
  • Next Build on main (#9855880439)
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