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

qutip / qutip / 32090160353
92%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2026 02:23AM UTC
Jobs 4
Files 117
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 Aug 2026 01:58AM UTC coverage: 86.637% (-0.002%) from 86.639%
32090160353

push

github

web-flow
Fix solver output isherm for non-Hermiticity-preserving dynamics (#2940)

* Fix solver output isherm flag for non-Hermiticity-preserving dynamics

Do not copy the initial state's isherm metadata onto evolved states.
Qobj.isherm recomputes from the actual data so mesolve/sesolve outputs
report Hermiticity correctly when the generator does not preserve it.

Fixes #2410

* Rename changelog entry to PR number 2940

* Add TODO on isherm recomputation cost

* Preserve isherm metadata for standard master equations

Mark Hamiltonian-and-collapse-operator RHS construction as Hermiticity-preserving so solver output can retain the cached flag without rescanning every state. Leave user-supplied superoperators uncached unless their evolved data is checked.

* Harden contributors plot against GitHub API rate limits

RTD builds treat plot exceptions as warnings-as-errors, so anonymous
GitHub API 403s were making docs checks flake.

* Drop docs RTD change; cache isherm for SME/SSE

Move the contributors plot fallback to a separate PR. Stochastic solvers
always take an operator Hamiltonian, so set _rhs_preserves_hermiticity for
SMESolver and SSESolver.

* Use Qobj.ishp for Hermiticity-preserving superoperator RHS

After #2886, constant superoperator generators that are Hermiticity-
preserving can take the fast isherm cache path. Check ishp on Qobj
before any QobjEvo conversion, per Paul's suggestion.

* Guard ishp probe for Qobj subclasses without _ishp

qutip-jax's Qobj subclass lacks the _ishp attribute, so reading the ishp
property raises AttributeError. Default the probe to False there.

* fix(solver): use cached Qobj._ishp for hermiticity flag

Avoid Qobj.ishp which may compute the Choi matrix. Only trust the
already-known Hermitian-preserving cache, per review.

* Recognise constant HP superoperators after QobjEvo conversion

mesolve() wraps H in a QobjEvo before constructing MESolver, so the
Qobj-only _ishp check never fired for users calling mesolve() rather t... (continued)

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

1 existing line in 1 file now uncovered.

14231 of 16426 relevant lines covered (86.64%)

3.44 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
98.51
-1.49% qutip/simdiag.py
Jobs
ID Job ID Ran Files Coverage
1 macos-15-intel-3.11-macos - numpy fallback - 32090160353.1 18 Aug 2026 02:49AM UTC 117
86.46
GitHub Action Run
2 ubuntu-latest-3.11-Oldest officially supported - 32090160353.2 18 Aug 2026 02:49AM UTC 117
86.42
GitHub Action Run
3 windows-latest-3.11-Windows - numpy fallback - 32090160353.3 18 Aug 2026 02:49AM UTC 117
84.98
GitHub Action Run
4 ubuntu-latest-3.12-p312, numpy fallback - 32090160353.4 18 Aug 2026 02:49AM UTC 117
86.47
GitHub Action Run
Source Files on build 32090160353
  • Tree
  • List 117
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8d9e2406 on github
  • Prev Build on master (#31984605098)
  • Next Build on master (#32284165783)
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