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

qiskit-community / qiskit-machine-learning / 25619935369 / 1
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 05:31AM UTC
Files 116
Run time 2s
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

07 May 2026 07:23AM UTC coverage: 89.655% (+0.01%) from 89.643%
25619935369.1

push

github

web-flow
Fix SamplerQNN._postprocess to handle transpiled circuit layouts (#1041)

* fix: marginalise ancilla qubits in SamplerQNN._postprocess

  The previous filter (ki < 2**num_virtual_qubits) discarded valid
  measurements when logical qubits were mapped to high physical
  positions by the transpiler. This fix uses the circuit layout to
  extract only the logical qubit bits and marginalises over ancillas.

  Fixes #1040

* test: add regression test for SamplerQNN layout postprocessing

  Verifies that _postprocess correctly marginalises ancilla qubits
  when logical qubits are mapped to high physical positions by the
  transpiler.

  Related: #1040

* docs: add release note for SamplerQNN postprocess fix

  Fixes #1040

* style: apply black formatting

* fix: use SamplerV2 in test to trigger physical-space bitstring bug

* docs: clarify SamplerV2 usage in regression test docstring

* style: apply black formatting

* fix: use American English spelling in comments

* fix: add type annotation for probs_i to satisfy mypy

* fix: use American English in release note

* docs: update release note to describe both bug causes and add ki to spell dict

* docs: update test docstring to describe both bug causes and fix spelling

* refactor: rename ki to
  key_int for clarity in _postprocess

5174 of 5771 relevant lines covered (89.66%)

0.9 hits per line

Source Files on job 25619935369.1
  • Tree
  • List 116
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25619935369
  • f6832841 on github
  • Prev Job for on main (#24128087555.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