Skip to content

FixTaylorCluster for non-square (finite) Hamiltonians - #511

Merged
lkdvos merged 4 commits into
mainfrom
vv-rectangular-finite-tempos
Sep 25, 2026
Merged

lkdvos merged 4 commits into
mainfrom
vv-rectangular-finite-tempos

Conversation

@VictorVanthilt

@VictorVanthilt VictorVanthilt commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

Description

The TaylorCluster algorithm's "loopback" algorithm involves removing the rows and columns that are labled by level-labels only containing 1's and "3"'s. Currently the rows and columns were removed using the right-virtualsize of the Hamiltonian as the "3" level.

To be correct for non-square Hamiltonians, we need to remove the columns with a "3" level based on the right-virtualsize and the rows based on the left-virtual size. This PR implements this.

Checklist

  • Tests pass locally (julia --project=test test/runtests.jl, or the relevant subset)
  • Documentation updated, if this PR changes public API (docstrings, docs/src/)
  • Runic formatter is run
  • Changelog entry added under [Unreleased] in docs/src/changelog.md, if this PR is user-facing (new feature, behavior change, bug fix, deprecation, or removal)

Comment thread src/algorithms/timestep/taylorcluster.jl
Comment thread src/algorithms/timestep/taylorcluster.jl Outdated
@codecov

codecov Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/algorithms/timestep/taylorcluster.jl 98.33% <100.00%> (+0.24%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@VictorVanthilt

Copy link
Copy Markdown
Member Author

I don't understand this test failure, I can't see what failed from the logs.

@lkdvos
lkdvos force-pushed the vv-rectangular-finite-tempos branch from a3a76f0 to 227f902 Compare September 24, 2026 17:31
@lkdvos lkdvos mentioned this pull request Sep 24, 2026
4 of 7 tasks
@lkdvos
lkdvos force-pushed the vv-rectangular-finite-tempos branch from 227f902 to 51e2db5 Compare September 25, 2026 19:17
@lkdvos
lkdvos merged commit 0002f5d into main Sep 25, 2026
20 of 70 checks passed
@lkdvos
lkdvos deleted the vv-rectangular-finite-tempos branch September 25, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants