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

RimuQMC / Rimu.jl / 16461016159
94%

Build:
DEFAULT BRANCH: develop
Ran 23 Jul 2025 04:12AM UTC
Jobs 1
Files 96
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

23 Jul 2025 03:45AM UTC coverage: 94.243% (-0.06%) from 94.3%
16461016159

push

github

web-flow
ModifiedHamiltonian (#331)

# New features
* Interface for creating Hamiltonians that modify the (off)-diagonal
elements with less boilerplate code. This is done by making the
Hamiltonian wrapper a `ModifiedHamiltonian` and implementing a small
interface. Implementations for `operator_column`, `offdiagonals`,
`diagonal_element` and a few other functions are then provided
automatically.
* Reimplementations of existing Hamiltonian wrappers (importance
sampling, symmetries, `FirstOrderTransitionOperator`, `TransformUndoer`,
`Stoquastic`) using the new interface. This makes them all work
correctly with Hamiltonians implemented using the new Hamiltonians
interface. Previously, that functionality was broken because the
wrappers were modifying the `offdiagonals` directly.
* New interface function `undo_transformation` that replaces the ad-hoc
way of handling transformations with `TransformUndoer`. The
transformations are now applied automatically. The results are reported
in the same columns as before. Passing `transform` to `AllOverlaps` is
now derpecated.
* New `IdentityOperator` which is currently only used in
`TransformUndoer`.
# Breaking changes
* The reimplemented wrappers no longer support the old Hamiltonians
interface.

---------

Co-authored-by: Joachim Brand <joachim.brand@gmail.com>
Co-authored-by: jamie-tay <jamiet96@gmail.com>

151 of 183 new or added lines in 12 files covered. (82.51%)

7121 of 7556 relevant lines covered (94.24%)

15350325.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
90.48
-3.55% src/Hamiltonians/GuidingVectorSampling.jl
4
85.37
-4.24% src/Interfaces/hamiltonians.jl
5
87.18
-5.78% src/Hamiltonians/abstract.jl
19
59.57
src/Hamiltonians/ModifiedHamiltonian.jl
Jobs
ID Job ID Ran Files Coverage
1 16461016159.1 23 Jul 2025 04:12AM UTC 96
94.24
GitHub Action Run
Source Files on build 16461016159
  • Tree
  • List 96
  • Changed 13
  • Source Changed 13
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16461016159
  • 5764d5d4 on github
  • Prev Build on develop (#16440774892)
  • Next Build on develop (#16493414814)
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

© 2025 Coveralls, Inc