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

Qiskit / qiskit-addon-sqd-hpc / 35385231671
75%

Build:
DEFAULT BRANCH: main
Ran 18 Sep 2026 07:20PM UTC
Jobs 1
Files 15
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

18 Sep 2026 07:18PM UTC coverage: 75.052%. Remained the same
35385231671

push

github

web-flow
Remove unused includes from the public headers (#62)

Several headers included standard library headers whose facilities they
never name.  Drop them:

  configuration_recovery.hpp  <optional> <random> <sstream>
  fermion.hpp                 <array> <climits> <functional>
  postselection.hpp           <cassert> <stdexcept>
  subsampling.hpp             <cmath> <cstddef> <random> <stdexcept>

Two cases deserve comment.  Neither configuration_recovery.hpp nor
subsampling.hpp needs <random>, despite both being templated on an RNG
type: they only pass the generator through to internal::NoReplacementSampler
and never name a std:: random facility themselves.  Under C++20,
internal/concepts.hpp includes <random> anyway for the
std::uniform_random_bit_generator concept.  Likewise, neither
postselection.hpp nor subsampling.hpp needs <stdexcept>, as both throw
exclusively through QKA_SQD_THROW_INVALID_ARGUMENT_, and
internal/exception-macros.hpp owns that include.

<iostream> is deliberately retained in configuration_recovery.hpp.  It is
used only under `#if QKA_SQD_DEBUG_RECOVERY`, which nothing in the tree
defines, but that path should keep compiling when it is switched on, and
relying on exception-macros.hpp to supply <iostream> transitively would be
fragile.  <cstdlib> is likewise retained for integer std::abs.

Separately, spell the default template argument of MatchesRightLeftHamming
as std::uint32_t rather than bare uint32_t.  <cstdint> is only guaranteed
to declare the std::-qualified names; the unqualified spelling happens to
work on libstdc++ but is not portable.  This was the only unqualified
<cstdint> type name under include/, test/, and benchmark/.

Verified against all three build configurations (C++17, C++20, and
-fno-exceptions/-fno-rtti) with tests passing, and each header also
compiles standalone under both standards.

Assisted-by: Claude Opus 5

770 of 1134 branches covered (67.9%)

Branch coverage included in aggregate %.

683 of 802 relevant lines covered (85.16%)

304565.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35385231671.1 18 Sep 2026 07:20PM UTC 15
75.05
GitHub Action Run
Source Files on build 35385231671
  • Tree
  • List 15
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35385231671
  • dbd36be5 on github
  • Prev Build on main (#35368693067)
  • Next Build on main (#36063769083)
  • 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