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

Qiskit / qiskit-fermions / 30087484454
98%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2026 11:06AM UTC
Jobs 1
Files 91
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

24 Jul 2026 10:49AM UTC coverage: 97.979% (+0.3%) from 97.692%
30087484454

push

github

web-flow
refactor(mappers): rename concrete JW to `fermion_jordan_wigner` (#209)

The Jordan-Wigner mapper was the only one named after the transform rather
than its source operator type. Because JW is also definable for other operator
types (e.g. `MajoranaOperator`, mapping to the same qubit target), the bare
name would collide once such variants exist — and Rust and C cannot overload.

Rename the fermion-specific implementation to encode its source type
(`fermion_jordan_wigner` in Rust/Python; `qf_ferm_op_jordan_wigner` in C, which
also restores the `qf_ferm_op_*` prefix convention the bare name broke). The
`jordan_wigner` module keeps its name so future `<type>_jordan_wigner`
implementations live alongside.

Add a pure-Python `jordan_wigner(operator, num_qubits)` dispatcher in
`mappers.library` that delegates on the concrete operator type (today:
`FermionOperator`; else `TypeError`). Its `(OperatorTrait, int) ->
SparseObservable` signature matches the synthesis `MapperFunction`, so the
transpiler preset consumes it unchanged and gains future types for free.

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

17 of 17 new or added lines in 3 files covered. (100.0%)

5 existing lines in 2 files now uncovered.

10082 of 10290 relevant lines covered (97.98%)

322.03 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
97.42
-0.14% crates/core/src/linalg/givens.rs
1
98.47
0.31% crates/core/src/linalg/double_factorized.rs
Jobs
ID Job ID Ran Files Coverage
1 30087484454.1 24 Jul 2026 11:06AM UTC 91
97.98
GitHub Action Run
Source Files on build 30087484454
  • Tree
  • List 91
  • Changed 14
  • Source Changed 10
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30087484454
  • a5d7b8d6 on github
  • Prev Build on main (#30087167531)
  • Next Build on main (#30100745176)
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