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

Qiskit / qiskit / 15864679267
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 25 Jun 2025 01:20AM UTC
Jobs 1
Files 829
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

25 Jun 2025 12:50AM UTC coverage: 88.034% (-0.01%) from 88.045%
15864679267

push

github

web-flow
Use Arc instead of Box for internal expression nodes in SymbolExpr (#14660)

This commit updates the internal construction of the SymbolExpr struct
use a reference counting pointer instead of a regular pointer to a heap
allocated object. The way the binary tree gets constructed internally
using a normal pointer results in a lot of a copies of elements on the
tree. This creates a large performance overhead for the symbol expr as
we end up copying and freeing elements on the binary tree a large
amount. This was the root cause of the regression reported in #14653
as the expression that gets generated by the transpiler internally ends
up adding a lot of elements to global phase expression and that results
in a lot of memory allocation and deallocation overhead. By using a
reference counting pointer instead of creating and freeing copies of
the expressions on the tree we instead only keep a single copy and
just increment or decrement the reference count.

Fixes #14653

48 of 71 new or added lines in 3 files covered. (67.61%)

24 existing lines in 3 files now uncovered.

84050 of 95475 relevant lines covered (88.03%)

511097.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
84.38
0.0% crates/circuit/src/symbol_parser.rs
22
73.9
0.21% crates/circuit/src/symbol_expr.rs

Uncovered Existing Lines

Lines Coverage ∆ File
4
73.9
0.21% crates/circuit/src/symbol_expr.rs
8
91.98
-1.25% crates/qasm2/src/lex.rs
12
97.15
-0.93% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 15864679267.1 25 Jun 2025 01:20AM UTC 829
88.03
GitHub Action Run
Source Files on build 15864679267
  • Tree
  • List 829
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15864679267
  • 3b260020 on github
  • Prev Build on gh-readonly-queue/main/pr-14571-0427d9bfcc2b63c832337357cd22ae706414b0b3 (#15858731993)
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

© 2025 Coveralls, Inc