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

Qiskit / qiskit / 15640009818
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: rust-error-circuit_data
DEFAULT BRANCH: main
Ran 13 Jun 2025 05:29PM UTC
Jobs 1
Files 916
Run time 4min
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

13 Jun 2025 04:25PM UTC coverage: 88.801% (+0.003%) from 88.798%
15640009818

push

github

web-flow
Fix random number generator seed argument for quantum_volume (#14586) (#14590)

* Fix random number generator seed argument for quantum_volume

The `seed` argument to `quantum_volume` being a `numpy.random.Generator`
resulted in `integers` being called with 0 for the `low` argument. When
called with only a `low` argument like this, this value is taken as one
more than the maximum and 0 is treated as the minimum. This resulted in a
`TypeError` because the range is from 0 to -1. Here the handling of
`Generator` was updated to match how the deprecated `QuantumVolume`
class handled `seed` (which was slightly odd -- it caps the range at the
int64 limit even though the argument is a `u64` in the Rust function --
but probably fine; keeping the range helps keep the behavior consistent
between `QuantumVolume` and `quantum_volume` for a generator with the
same seed).

* Address pylint's misunderstanding of the test import

(cherry picked from commit ba74b5c47)

Co-authored-by: Will Shanks <willshanks@us.ibm.com>

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

13 existing lines in 3 files now uncovered.

79494 of 89519 relevant lines covered (88.8%)

356138.09 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.02
-0.24% crates/qasm2/src/expr.rs
6
91.48
-0.75% crates/qasm2/src/lex.rs
6
97.15
0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 15640009818.1 13 Jun 2025 05:29PM UTC 916
88.8
GitHub Action Run
Source Files on build 15640009818
  • Tree
  • List 916
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15640009818
  • 190bf83f on github
  • Prev Build on stable/1.4 (#15622177387)
  • Next Build on stable/1.4 (#15759930963)
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