Skip to content

Fix FixedSpaceTruncation for simple update#360

Open
Yue-Zhengyuan wants to merge 3 commits intoQuantumKitHub:masterfrom
Yue-Zhengyuan:su-fixedspacetrunc
Open

Fix FixedSpaceTruncation for simple update#360
Yue-Zhengyuan wants to merge 3 commits intoQuantumKitHub:masterfrom
Yue-Zhengyuan:su-fixedspacetrunc

Conversation

@Yue-Zhengyuan
Copy link
Copy Markdown
Member

@Yue-Zhengyuan Yue-Zhengyuan commented Apr 16, 2026

This PR mainly fixes FixedSpaceTruncation for Simple Update, which was broken after generalizing it for arbitrary MPO gates in #339.

Apart from that, in SU for the ground state, I now also output the energy estimated with SUWeight (equivalently BPEnv). But convergence is still determined from the change in SUWeight (instead of energy).

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 16, 2026

Codecov Report

❌ Patch coverage is 95.45455% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/algorithms/time_evolution/simpleupdate.jl 94.59% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/algorithms/time_evolution/apply_gate.jl 92.85% <ø> (-0.48%) ⬇️
src/algorithms/time_evolution/apply_mpo.jl 100.00% <100.00%> (ø)
src/algorithms/time_evolution/simpleupdate3site.jl 92.24% <100.00%> (+0.24%) ⬆️
src/algorithms/time_evolution/simpleupdate.jl 95.27% <94.59%> (+0.14%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Yue-Zhengyuan Yue-Zhengyuan requested a review from lkdvos April 16, 2026 14:00
Yue-Zhengyuan added a commit to Yue-Zhengyuan/PEPSKit.jl that referenced this pull request Apr 17, 2026
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.

1 participant