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

Qiskit / qiskit / 11708174957 / 1
88%
main: 88%

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

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.

77099 of 86859 relevant lines covered (88.76%)

364275.25 hits per line

Source Files on job 11708174957.1
  • Tree
  • List 0
  • Changed 70
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11708174957
  • 6ed77439 on github
  • Prev Job for on main (#11705826753.1)
  • Next Job for on main (#11709487579.1)
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