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

Qiskit / qiskit-fermions / 40320919908
98%

Build:
DEFAULT BRANCH: main
Ran 26 Oct 2026 12:17PM UTC
Jobs 1
Files 125
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

26 Oct 2026 12:13PM UTC coverage: 98.214%. Remained the same
40320919908

push

github

web-flow
fix: visit DAG nodes in circuit order in passes that rebuild the circuit (#401)

`F2QSynthesis` walked the input DAG with `op_nodes()`, which returns the
nodes in storage order, not in the order of their dependencies. The two
agree for a circuit built by appending, but not after a pass has
replaced a node by a sub-circuit (`substitute_node_with_dag`): the
replacement is stored after everything already there, so the factors of
two successive replacements end up interleaved. The output is then a
well-formed circuit for a different unitary, since the gates of
neighbouring replacements share qubits and do not commute. Nothing
fails; the result is just wrong.

`RelabelModes` and `QDriftTrotterization` rebuild their output node by
node in the same way and had the same problem. For qDRIFT the occupation
tracking behind `filter_trivial` additionally depends on seeing
`InitializeModes` and `OrbitalRotation` gates in the order they act. All
three now iterate with `topological_op_nodes()`.

The passes that only substitute nodes in place
(`FermionicTrotterization`) are safe with either order, and the
iteration that merely gathers excitations for the `RelabelModes`
permutation model is order-insensitive, so both are left alone.

The regression tests trotterize evolutions in fermionic space, so each
is replaced by several gates. For the synthesis they compare the lowered
circuit with the ordered product of the exact group evolutions (off by
about 0.26 without the change, 1e-16 with it); for `RelabelModes` and
`QDriftTrotterization` they check that the circuit order survives the
pass. They do not involve any of the orbital-rotation machinery that
surfaced this: any pass that substitutes nodes could hit it.

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

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

14076 of 14332 relevant lines covered (98.21%)

456051.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40320919908.1 26 Oct 2026 12:17PM UTC 125
98.21
GitHub Action Run
Source Files on build 40320919908
  • Tree
  • List 125
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40320919908
  • 19630135 on github
  • Prev Build on main (#40293829302)
  • Next Build on main (#40663472873)
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