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

Qiskit / qiskit / 13821191064
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 12 Mar 2025 09:06PM UTC
Jobs 1
Files 788
Run time 5min
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

12 Mar 2025 08:14PM UTC coverage: 88.108% (+0.006%) from 88.102%
13821191064

push

github

web-flow
Add missing  `__getitem__` and other attributes to `BitLocations` (#13997) (#14008)

* Add: `__getitem__` and other attributes to `BitLocations`
In an oversight after #13860, when switching to use the pyo3 friendly `BitLocations` which is not an instance of `namedtuple` we did not extend it to include sequence methods `__getitem__` and `__len__`, which results in breaking api changes.

The following commits add those methods to `BitLocations` and also labels the class correctly as a `sequence` in PyO3.

* Fix: Address review comments

* Fix: More formatting issues in tests

* Apply suggestions from code review

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
(cherry picked from commit 3a80a8143)

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

17 of 18 new or added lines in 1 file covered. (94.44%)

4 existing lines in 2 files now uncovered.

72648 of 82453 relevant lines covered (88.11%)

495798.12 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
86.15
0.13% crates/circuit/src/dag_circuit.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.23
-0.23% crates/qasm2/src/expr.rs
3
91.98
0.0% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 13821191064.1 12 Mar 2025 09:06PM UTC 788
88.11
GitHub Action Run
Source Files on build 13821191064
  • Tree
  • List 788
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13821191064
  • 7d21ae26 on github
  • Prev Build on gh-readonly-queue/stable/2.0/pr-14004-5a1016908f35f57a16b6c55cf51086e685afbda7 (#13816962474)
  • Next Build on stable/2.0 (#13836289882)
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