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

Qiskit / qiskit / 12999985852
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: ajc/remove-pulse-guide-link
DEFAULT BRANCH: main
Ran 27 Jan 2025 11:23PM UTC
Jobs 1
Files 914
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

27 Jan 2025 11:00PM UTC coverage: 88.879% (-0.04%) from 88.915%
12999985852

push

github

web-flow
Deprecate DAGNode.sort_key attribute (#13744)

Prior to having the DAGCircuit in rust the sort_key attribute was added
as a cache to speed up the lexicographical topological sort. Prior to
having this attribute the topological sort method would compute the sort
key as a string on the fly which ended up being a large bottleneck in
transpilation (see: #4040 for more details). However, since migrating the
DAGCircuit implementation to Rust this sort_key attribute isn't needed
anymore because we call the rustworkx-core function with a tuple of bit
objects instead of a string. The sort_key atribute was left on in place
for backwards compatibility (it shouldn't have been public, this was a
mistake in #4040) and when we create a python DAGNode object that will
be returned to Python the creation of the sort key is unnecessary
overhead (it takes roughly 1% of profile time to format the sort_key
string during transpilation). Since nothing in DAGCircuit is actually
using it this commit removes it to save the CPU cycles creating the
string on each dag creation.

This attribute is removed in Qiskit 2.0.0 in #13736

10 of 61 new or added lines in 3 files covered. (16.39%)

11 existing lines in 3 files now uncovered.

79074 of 88968 relevant lines covered (88.88%)

355616.99 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
51
70.81
-9.39% crates/circuit/src/dag_node.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.2
0.0% crates/accelerate/src/unitary_synthesis.rs
4
92.73
0.25% crates/qasm2/src/lex.rs
6
97.62
0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 12999985852.1 27 Jan 2025 11:23PM UTC 914
88.88
GitHub Action Run
Source Files on build 12999985852
  • Tree
  • List 914
  • Changed 71
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12999985852
  • da61465b on github
  • Prev Build on gh-readonly-queue/stable/1.4/pr-13602-f13673b05edf98263f80a174d2e13a118b4acda7 (#12775654788)
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