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

Qiskit / qiskit / 13818813863
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 12 Mar 2025 06:48PM UTC
Jobs 1
Files 788
Run time 13min
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 06:26PM UTC coverage: 88.118% (-0.008%) from 88.126%
13818813863

push

github

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

* 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>

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

19 existing lines in 4 files now uncovered.

72677 of 82477 relevant lines covered (88.12%)

497854.86 hits per line

New Missed Lines in Diff

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

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.69
0.0% crates/accelerate/src/unitary_synthesis.rs
1
94.23
-0.23% crates/qasm2/src/expr.rs
5
93.23
0.0% crates/qasm2/src/lex.rs
12
97.15
-0.93% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 13818813863.1 12 Mar 2025 06:48PM UTC 788
88.12
GitHub Action Run
Source Files on build 13818813863
  • Tree
  • List 788
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13818813863
  • 3a80a814 on github
  • Prev Build on gh-readonly-queue/main/pr-13989-abb0cf9dbe6c53c554c9227cfa4c3659348ba99c (#13815247728)
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