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

Qiskit / qiskit / 11708174957
88%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2024 05:12PM UTC
Jobs 1
Files 897
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

06 Nov 2024 04:18PM UTC coverage: 88.763% (-0.007%) from 88.77%
11708174957

push

github

web-flow
Fix: Solve strange behavior with `qubit_properties` in `Target`. (#13400)

The previous implementation of the Target would always make sure to receive a real value for `num_qubits` or it would default to zero. Mistakenly because of the behavior of `Target::from_configuration` it was assumed that `num_qubits` could be `None` unless otherwise specified. However, the default behavior should be to make `num_qubits` zero unless specified otherwise.

The following commits fix this behavior by fixing the signature of the rust `Target` to have default values and adding an extra check when comparing against `qubit_properties`.

A test casde based on @wshanks findings in #13393 was also included in these additions.

3 of 3 new or added lines in 1 file covered. (100.0%)

23 existing lines in 4 files now uncovered.

77099 of 86859 relevant lines covered (88.76%)

364275.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11708174957.1 06 Nov 2024 05:12PM UTC 0
88.76
GitHub Action Run
Source Files on build 11708174957
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11708174957
  • 6ed77439 on github
  • Prev Build on gh-readonly-queue/main/pr-13394-3cc1988442cebc52ef61fa515fbf98797cbbb060 (#11705826753)
  • Next Build on main (#11709487579)
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