Skip to content

Remove support for integer space specifiers in state and environment constructors#266

Merged
leburgel merged 12 commits intomasterfrom
lb/purge_ints
Sep 29, 2025
Merged

Remove support for integer space specifiers in state and environment constructors#266
leburgel merged 12 commits intomasterfrom
lb/purge_ints

Conversation

@leburgel
Copy link
Member

@leburgel leburgel commented Sep 26, 2025

See #265.

I also tried to simplify the constructors a bit in the process by splitting out the filling of the physical and virtual spaces depending on how were provided. I at least removed a bunch of things, not sure if this actually made things simpler.

@leburgel leburgel marked this pull request as draft September 26, 2025 12:58
@leburgel leburgel changed the title Remove support for integer space specifiers in state and environment constructors [WIP] Remove support for integer space specifiers in state and environment constructors Sep 28, 2025
@codecov
Copy link

codecov bot commented Sep 28, 2025

Codecov Report

❌ Patch coverage is 77.41935% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/environments/ctmrg_environments.jl 81.81% 4 Missing ⚠️
src/states/infinitepartitionfunction.jl 0.00% 3 Missing ⚠️
Files with missing lines Coverage Δ
src/states/infinitepeps.jl 65.25% <100.00%> (+0.59%) ⬆️
src/states/infinitepartitionfunction.jl 26.66% <0.00%> (+2.47%) ⬆️
src/environments/ctmrg_environments.jl 69.88% <81.81%> (-0.23%) ⬇️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@leburgel leburgel changed the title [WIP] Remove support for integer space specifiers in state and environment constructors Remove support for integer space specifiers in state and environment constructors Sep 29, 2025
@leburgel leburgel marked this pull request as ready for review September 29, 2025 06:16
Copy link
Member

@lkdvos lkdvos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall definitely looks good, I like the simplification quite a bit

Co-authored-by: Lukas Devos <ldevos98@gmail.com>
@leburgel leburgel merged commit e0419a8 into master Sep 29, 2025
48 of 50 checks passed
@leburgel leburgel deleted the lb/purge_ints branch September 29, 2025 14:49
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.

[Discussion] Remove support for specifying ComplexSpaces using integers

2 participants