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

Qiskit / qiskit / 23049040177
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: fix-15509-substitute-node-variables
DEFAULT BRANCH: main
Ran 13 Mar 2026 12:06PM UTC
Jobs 1
Files 909
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

13 Mar 2026 11:35AM UTC coverage: 87.519% (-0.02%) from 87.535%
23049040177

push

github

web-flow
Make remove identity equiv multithreaded (#14719)

* Make remove identity equiv multithreaded

The RemoveIdentityEquiv transpiler pass analyzes each gate in the
circuit to check if it's equivalent to an identity operation to check
for removal. This checking was previously always performed serially but
there is no data dependency between the checks so they can be performed
in parallel using multithreading. While in practice the node removal
can end up dominating the runtime of the pass and must be performed
serially so this limits the potential speedup in cases with a lot of
nodes to remove. But in practice there aren't typically many gates that
get removed so there are real performance benefits available from doing
the analysis in parallel.

* Avoid an allocation for node indices in parallel path

* Use newer pass code after rebase

When this pass was updated to use main it ignored all the structural
changes in the file and was duplicating the logic of the pass which had
already been factored out into a standalone function. This commit
updates the new parallel pass to use this function and removes the
duplication. As a side-effect because the new function returns a
PyResult because of PauliEvolutionGate handling this PyResult needs to
be propogated out from the function now. This is at least until #15450
is implemented avoid the need to use python at all here.

* Add docs about threading to C API docs too

* Use a constant for PARALLEL_THRESHOLD

* Add release note

31 of 31 new or added lines in 1 file covered. (100.0%)

26 existing lines in 4 files now uncovered.

101239 of 115676 relevant lines covered (87.52%)

1164021.52 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.99
0.0% crates/circuit/src/parameter/parameter_expression.rs
5
92.03
-0.26% crates/qasm2/src/lex.rs
8
74.02
-0.33% crates/circuit/src/parameter/symbol_expr.rs
12
96.21
-0.95% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 23049040177.1 13 Mar 2026 12:06PM UTC 909
87.52
GitHub Action Run
Source Files on build 23049040177
  • Tree
  • List 909
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23049040177
  • cbde168f on github
  • Prev Build on gh-readonly-queue/main/pr-15804-02fef9ba22966df21cf882c73a4d37abc15dba91 (#23048661840)
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