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

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

Build:
Build:
LAST BUILD BRANCH: 2.3.0
DEFAULT BRANCH: main
Ran 13 Jun 2025 05:19PM UTC
Files 827
Run time 57s
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:26PM UTC coverage: 87.984% (-0.007%) from 87.991%
15639739604.1

push

github

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

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

83034 of 94374 relevant lines covered (87.98%)

517074.79 hits per line

Source Files on job 15639739604.1
  • Tree
  • List 827
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15639739604
  • 3fef6901 on github
  • Prev Job for on stable/2.1 (#15635402815.1)
  • Next Job for on stable/2.1 (#15684255949.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