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

Qiskit / qiskit-paulice / 43907134629
100%

Build:
DEFAULT BRANCH: main
Ran 16 Nov 2026 04:26PM UTC
Jobs 1
Files 6
Run time 1min
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

16 Nov 2026 04:24PM UTC coverage: 100.0%. Remained the same
43907134629

push

github

web-flow
Make cost="LER" reproducible under a seed (#92)

* Add Philox4x64-10 and a tabulated Poisson inverse CDF

A counter-based generator gives every (seed, stream, counter) its own
draw, so a seeded sample does not depend on how the work is split
across threads. The Poisson table inverts a precomputed CDF, so the
count drawn for a uniform is the same on every platform.

proba_from_rate becomes pub(crate) so the tables can compute lambda
from a rate.

Signed-off-by: Liegeois, Kim <Kim.Liegeois@amd.com>

* Draw the LER sample per generator and score it as bit planes

Each error generator draws its shots from its own Philox stream, keyed
on the seed and the generator index, so a seeded sample does not depend
on how rayon schedules the work. The per-shot hash-map product is
replaced by XORing fixed-width rows: phase-free Pauli products are XOR
on the X/Z bits, and the cumulant parity is linear in them, so each
generator's contribution is packed once per evaluation. A test-only
copy of the hash-map scorer checks that both give bit-identical results
over the same sample.

The fired count is capped at nshots, so the position draw always
terminates.

approximate_psr_ler takes an optional seed; the metric still passes
None for now.

Signed-off-by: Liegeois, Kim <Kim.Liegeois@amd.com>

* Seed the LER Monte Carlo sampler

cost="LER" sampled from an OS-seeded source, so a seeded search
returned a slightly different cost on every call and only cost="gamma"
was deterministic under a seed. add_pauli_checks now passes its seed
through the LER metric to the sampler, so a seeded windowed search with
either cost reproduces exactly, across repeated calls and thread
counts.

Signed-off-by: Liegeois, Kim <Kim.Liegeois@amd.com>

* Reuse Poisson tables for a search and scope the reproducibility claim.

lambda does not depend on the candidate, so the search keeps one CDF per
rate instead of rebuilding it on every evaluation. The seeded sample is
bit-identical on a given build; exp... (continued)

662 of 662 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43907134629.1 16 Nov 2026 04:26PM UTC 6
100.0
GitHub Action Run
Source Files on build 43907134629
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43907134629
  • 6604507d on github
  • Prev Build on main (#42642363329)
  • Next Build on main (#43907321039)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc