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

Qiskit / qiskit-fermions / 44486467365
98%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2026 08:27AM UTC
Jobs 1
Files 131
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

19 Nov 2026 08:18AM UTC coverage: 98.259% (-0.005%) from 98.264%
44486467365

push

github

web-flow
fix: synthesize a hop with a Z-string exactly (#428)

The Givens mesh pairs modes that are adjacent within the gate. When an
OrbitalRotation or PrepareSlaterDeterminant sits on permuted or
non-contiguous wires, some of those pairs are not adjacent on the register,
so their Jordan-Wigner image carries a Z-string. HopEvolutionSynthesis only
recognized weight-2 hops and declined these, which left them to a one-step
product formula. Their XX + YY and XY - YX parts do not commute, so a
rotation with complex entries came out slightly wrong (overlaps of
0.996-0.9998), even though the mapping itself was correct.

The Z-string commutes with the rest of the generator and only flips the
sign of the evolution time on the odd-parity subspace, which a CZ on one
end reproduces. `match_hop` therefore now accepts two X/Y ends with Z on
every other qubit of the support, and returns a circuit: a CX ladder that
computes the parity onto one qubit, the XXPlusYYGate between two CZ
controlled on it, and the ladder undone. This is an operator identity, so
the Z-string does not have to lie between the two ends. It is also cheaper
than the product formula it replaces. The deprecated Givens plugins use the
same matcher and are fixed with it.

The new end-to-end tests compare against the exact evolution of the
Jordan-Wigner generator rather than the reference pipeline, which shared
the bug.

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

30 of 30 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

14564 of 14822 relevant lines covered (98.26%)

295872.74 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
95.0
-0.08% python/qiskit_fermions/transpiler/passes/synthesis/hop_evolution.py
Jobs
ID Job ID Ran Files Coverage
1 44486467365.1 19 Nov 2026 08:27AM UTC 131
98.26
GitHub Action Run
Source Files on build 44486467365
  • Tree
  • List 131
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44486467365
  • d1710141 on github
  • Prev Build on main (#44486329104)
  • Next Build on main (#44488712311)
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