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

Qiskit / qiskit-fermions / 29501847937
98%

Build:
DEFAULT BRANCH: main
Ran 16 Jul 2026 01:32PM UTC
Jobs 1
Files 84
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 Jul 2026 01:21PM UTC coverage: 97.733%. Remained the same
29501847937

push

github

web-flow
Some refactoring (#185)

* refactor: use `From<InnerOp>` to build pyext operators via `.into()`

The `From<InnerOp>` impls added for the term-ordering dispatch now let us
drop the explicit `Self { inner: <expr> }` wrappers throughout `pyext` in
favour of `<expr>.into()`, so a single conversion path replaces the repeated
field-construction boilerplate.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

* refactor: add a `value_err` helper for core-error conversion

The orphan rule blocks a `From<CoreError> for PyErr` impl (both types are
foreign to `pyext`), so each fallible boundary hand-wrote
`PyValueError::new_err(e.to_string())`. A small `value_err` helper lets those
sites collapse to `.map_err(crate::value_err)` and drops the now-unused
`PyValueError` imports.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

* refactor: generate operator data iterators via a macro

Each operator file declared a near-identical `<Op>DataIter` /
`<Op>DataGroupIter` pyclass pair differing only in the element type and the
registered module/class names. A `declare_operator_iters!` macro emits both
from a single invocation, removing ~160 lines of duplicated iterator plumbing.

The struct idents are passed explicitly rather than pasted from a prefix, so
they stay greppable and no extra dependency is pulled in.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

* refactor: fold shared operator dunders into the magic-methods macro

`__len__`, `__deepcopy__`, `__pow__`, and `__str__` were identical across the
four operator files (only the class name in `__str__` differed), so they now
live in `impl_operator_magic_methods!` alongside the arithmetic dunders. The
macro gains a class-name literal argument to render `__str__`.

Docstring-bearing methods are deliberately left per-file: their doc-comments
feed the `.pyi` stubs and carry per-type doctests, so hiding them in a macro
would be a net loss.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

... (continued)

8020 of 8206 relevant lines covered (97.73%)

155.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29501847937.1 16 Jul 2026 01:32PM UTC 84
97.73
GitHub Action Run
Source Files on build 29501847937
  • Tree
  • List 84
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29501847937
  • 2323e15b on github
  • Prev Build on main (#29499706546)
  • Next Build on main (#29510949104)
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