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

Qiskit / qiskit / 15330061903
88%

Build:
DEFAULT BRANCH: main
Ran 29 May 2025 06:17PM UTC
Jobs 1
Files 815
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

29 May 2025 05:19PM UTC coverage: 87.859%. Remained the same
15330061903

push

github

web-flow
Add registers to circuits C API (#14355)

* Add registers to circuits C API

This commit expands the C API for circuits to enable creating standalone
quantum and classical registers and adding them to a circuit. This can
be used to assign register labels to qubits in the cirucit, but for
manipulation purposes everything is still done with bit indices and not
directly with registers. It is just treated as extra metadata for the
circuit in C.

* Manually add typedef for registers

* Docstring fixes

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* Add missing examples

* Remove duplicated register methods

* Make separate docs pages for registers

* Add registers to doc toctree

* Apply suggestions from code review

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* Fix argument name for qk_classical_register_new

* Improve docs for registers

---------

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

74 of 78 new or added lines in 1 file covered. (94.87%)

17 existing lines in 2 files now uncovered.

79625 of 90628 relevant lines covered (87.86%)

363865.99 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
84.18
3.02% crates/cext/src/circuit.rs

Uncovered Existing Lines

Lines Coverage ∆ File
5
92.48
-0.25% crates/qasm2/src/lex.rs
12
97.15
-0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 15330061903.1 29 May 2025 06:17PM UTC 815
87.86
GitHub Action Run
Source Files on build 15330061903
  • Tree
  • List 815
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15330061903
  • abe91093 on github
  • Prev Build on gh-readonly-queue/main/pr-13936-faf7ba1daeba7dc7ee99acd77b0ad5c2b0d41789 (#15312597947)
  • Next Build on main (#15330118071)
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