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

Qiskit / qiskit / 24564082673
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: c-api-inspect-expr
DEFAULT BRANCH: main
Ran 17 Apr 2026 12:33PM UTC
Jobs 1
Files 923
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

17 Apr 2026 11:34AM UTC coverage: 87.612% (-0.001%) from 87.613%
24564082673

push

github

web-flow
Fix panic in `RemoveIdentityEquivalent` with `ParameterVector` global phase (#16054) (#16055)

If a circuit has a global phase containing a `ParameterVectorElement`,
the resulting `SymbolExpr` will transitively contain a `Py<PyAny>`
pointing back to the `ParameterVector` object.  When adding to the
global phase, a name/symbol-map clone occurs, which requires us to be
attached to the Python interpreter.  Since `RemoveIdentityEquivalent`
manually detaches from the Python interpreter, we may attempt to
increment the refcount without being attached.

This patch is intended to be minimal for backport to 2.4; there are
several more invasive changes we could make (and largely _should_ make)
to make `ParameterExpression` safer and more performant, and in general
it is becoming clear we still have a lot of work to do to be able to
remove the `py-clone` feature use of PyO3 and let the compiler catch
these mistakes for us.

(cherry picked from commit 16c808857)

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

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

7 existing lines in 3 files now uncovered.

104118 of 118840 relevant lines covered (87.61%)

1009689.0 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
74.05
-0.2% crates/circuit/src/parameter/symbol_expr.rs
1
93.82
-0.24% crates/qasm2/src/expr.rs
1
92.8
0.77% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 24564082673.1 17 Apr 2026 12:33PM UTC 923
87.61
GitHub Action Run
Source Files on build 24564082673
  • Tree
  • List 923
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24564082673
  • cd969a8a on github
  • Prev Build on 2.4.0 (#24519680452)
  • Next Build on stable/2.4 (#24897648572)
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