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

Qiskit / qiskit / 15621920148
88%

Build:
DEFAULT BRANCH: main
Ran 12 Jun 2025 10:46PM UTC
Jobs 1
Files 827
Run time 137min
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 Jun 2025 09:55PM UTC coverage: 87.998%. Remained the same
15621920148

push

github

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

* 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

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

5 existing lines in 2 files now uncovered.

83159 of 94501 relevant lines covered (88.0%)

516066.31 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.57
0.0% crates/transpiler/src/passes/unitary_synthesis.rs
4
91.98
-0.5% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 15621920148.1 12 Jun 2025 10:46PM UTC 827
88.0
GitHub Action Run
Source Files on build 15621920148
  • Tree
  • List 827
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15621920148
  • ba74b5c4 on github
  • Prev Build on gh-readonly-queue/main/pr-14557-93f102f5475d9f21affb9a84a1e5fc3799a6c6e2 (#15619988317)
  • Next Build on main (#15628982001)
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