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

qiskit-community / qiskit-machine-learning
90%

Build:
DEFAULT BRANCH: main
Repo Added 05 Jun 2023 05:56PM UTC
Files 116
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • AC/intersphinx-cloud
  • PR_NTangled
  • Update-CODEOWNERS
  • Update-migration-guide
  • VFF_PR
  • add-arxiv-shield
  • add-sbplx-optimizer
  • add-support-py313
  • bump-version-pre-release
  • cct_fns_use
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/download-artifact-5
  • dependabot/github_actions/actions/download-artifact-6
  • dependabot/github_actions/actions/setup-python-6
  • dependabot/github_actions/actions/upload-artifact-5
  • edoaltamura-coveralls-fix
  • edoaltamura-fix-toxini-qiskit
  • edoaltamura-pin-qiskit-2
  • enh-docs-samplerqnn-outputshape
  • feature-predict-probabilities
  • feature-support-for-different-v2-primitives
  • fischer-info
  • fix-black-version
  • fix-callback-nonscipy-optimizer
  • fix-callback_trainable_model
  • fix-copyright
  • fix-mypy-typing
  • fix-tox-ini
  • fix-valueerror-basekernel
  • fix/samplerqnn-postprocess-layout
  • fix_ci
  • fix_rnd_ci
  • fix_trainable_kernels
  • fixes_mypy
  • mergify/bp/stable/0.8/pr-862
  • mergify/bp/stable/0.8/pr-875
  • mergify/bp/stable/0.8/pr-878
  • mergify/bp/stable/0.8/pr-879
  • mergify/bp/stable/0.8/pr-884
  • mergify/bp/stable/0.8/pr-886
  • mergify/bp/stable/0.8/pr-894
  • mergify/bp/stable/0.8/pr-919
  • mergify/bp/stable/0.8/pr-925
  • mergify/bp/stable/0.8/pr-926
  • mergify/bp/stable/0.8/pr-933
  • mergify/bp/stable/0.8/pr-944
  • mergify/bp/stable/0.8/pr-964
  • mergify/bp/stable/0.8/pr-981
  • mergify/bp/stable/0.8/pr-982
  • paper-citation
  • pin-scipy1_15
  • pre-release-0.8.1
  • pre-release-v-bump
  • release_0_8_2
  • remove-psutil
  • reno_4_cct_fns
  • restore-qiskit-version
  • scikit
  • scipy1p16
  • stable/0.6
  • stable/0.7
  • stable/0.8
  • support-py313
  • typo
  • update-contributing-guide
  • update-outshape-dec-tutorial
  • update-serialisation
  • update_tutorials

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

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

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

5174 of 5771 relevant lines covered (89.66%)

0.9 hits per line

Relevant lines Covered
Build:
Build:
5771 RELEVANT LINES 5174 COVERED LINES
0.9 HITS PER LINE
Source Files on main
  • Tree
  • List 116
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25482029184 main 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 mapp... push 07 May 2026 08:16AM UTC web-flow github
89.66
25476069335 main fix mypy issue with non-typed mapping (#1039) push 07 May 2026 05:20AM UTC web-flow github
89.64
25416429803 main fix mypy issue with non-typed mapping (#1039) push 06 May 2026 05:20AM UTC web-flow github
89.64
25301181592 main fix mypy issue with non-typed mapping (#1039) push 04 May 2026 05:25AM UTC web-flow github
89.64
25269945894 main fix mypy issue with non-typed mapping (#1039) push 03 May 2026 05:28AM UTC web-flow github
89.64
25147290102 main fix mypy issue with non-typed mapping (#1039) push 30 Apr 2026 05:15AM UTC web-flow github
89.64
25090767245 main fix mypy issue with non-typed mapping (#1039) push 29 Apr 2026 03:35PM UTC web-flow github
89.64
24976431959 main fix mypy issue with non-typed mapping (#1039) push 27 Apr 2026 05:14AM UTC web-flow github
89.64
24948042485 main fix mypy issue with non-typed mapping (#1039) push 26 Apr 2026 05:11AM UTC web-flow github
89.64
24921828961 main fix mypy issue with non-typed mapping (#1039) push 25 Apr 2026 04:42AM UTC web-flow github
89.64
See All Builds (1109)
  • Repo on GitHub
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