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

Qiskit / qiskit / 33487315672
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-17182-93cea46ca1c547385067a7e9b83aacdde74221f0
DEFAULT BRANCH: main
Ran 01 Sep 2026 09:02AM UTC
Jobs 1
Files 961
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

01 Sep 2026 08:29AM UTC coverage: 87.779% (+0.01%) from 87.769%
33487315672

push

github

web-flow
Add barrier label rendering with barrier_label_len to the Rust circuit drawer (#16598)

* Add barrier label rendering with barrier_label_len to the Rust circuit drawer

Part of #16464. Ports the barrier label rendering of the Python text
drawer (including the barrier_label_len truncation added in #15776) to
the Rust circuit drawer.

The label is drawn above the top-most wire of the barrier and truncated
to barrier_label_len characters with a '...' suffix when it exceeds that
length, matching the Python text drawer output character-for-character.

The C API's QkCircuitDrawerConfig struct gains a barrier_label_len
field; 0 selects the default of 16 characters, so existing initializers
that omit the field keep the previous default behavior.

Part of #16464

* Delegate the barrier_label_len default handling to draw_circuit

Handle the case where barrier_label_len is 0, meaning "use the default",
in circuit_drawer::draw_circuit instead of in the C API wrapper, so that
qk_circuit_draw simply forwards the configured value.

Tests that do not exercise barrier label truncation now pass 0, and the
default truncation test passes 0 explicitly so that it checks the drawer
picks up the correct default.

The release note is split into a features_visualization entry for the
drawer behavior and a features_c entry for the new
QkCircuitDrawerConfig field.

Part of #16464

---------

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

187 of 189 new or added lines in 2 files covered. (98.94%)

23 existing lines in 3 files now uncovered.

115439 of 131511 relevant lines covered (87.78%)

977200.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
82.67
0.04% crates/cext/src/circuit.rs
1
96.24
0.3% crates/circuit/src/circuit_drawer.rs

Coverage Regressions

Lines Coverage ∆ File
18
96.69
-0.95% crates/qasm2/src/parse.rs
4
92.29
-0.26% crates/qasm2/src/lex.rs
1
90.32
0.0% crates/circuit/src/parameter/parameter_expression.rs
Jobs
ID Job ID Ran Files Coverage
1 33487315672.1 01 Sep 2026 09:02AM UTC 961
87.78
GitHub Action Run
Source Files on build 33487315672
  • Tree
  • List 961
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33487315672
  • 8f0669e9 on github
  • Prev Build on gh-readonly-queue/main/pr-16818-c4ab5461eb6ce305e3e769fba35bd70f93763a43 (#33485724628)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc