Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last updates before v0.12 tag #230

Merged
merged 16 commits into from
Jan 21, 2025
Merged

Last updates before v0.12 tag #230

merged 16 commits into from
Jan 21, 2025

Conversation

lkdvos
Copy link
Member

@lkdvos lkdvos commented Jan 21, 2025

I tried to give the docs a final push to try and get this released tomorrow.
It can locally be run using QuantumKitHub/MPSKitModels.jl#42, which cannot be released before tagging this so we will have to do some post-release fixing of the docs.

While it's obvious that the docs are far from finished, I don't think it is worth it to wait for them to release this. For me, this is thus good to go.

@lkdvos lkdvos requested a review from VictorVanthilt January 21, 2025 04:04
@lkdvos lkdvos requested a review from leburgel January 21, 2025 04:08
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 64.28571% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/utility/multiline.jl 0.00% 4 Missing ⚠️
src/operators/mpo.jl 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/MPSKit.jl 100.00% <ø> (ø)
src/algorithms/ED.jl 0.00% <ø> (ø)
src/algorithms/approximate/approximate.jl 100.00% <100.00%> (ø)
src/algorithms/approximate/idmrg.jl 95.74% <ø> (ø)
src/algorithms/fidelity_susceptibility.jl 100.00% <ø> (ø)
src/algorithms/groundstate/find_groundstate.jl 76.92% <ø> (ø)
src/algorithms/groundstate/idmrg.jl 98.30% <100.00%> (ø)
src/algorithms/propagator/corvector.jl 95.40% <ø> (ø)
src/algorithms/statmech/leading_boundary.jl 100.00% <ø> (ø)
src/algorithms/timestep/time_evolve.jl 100.00% <ø> (ø)
... and 5 more

Copy link
Contributor

@VictorVanthilt VictorVanthilt left a comment

Choose a reason for hiding this comment

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

Big fan of the IDMRG1 rename.
The rest of the changes look good.
Having documentation on environments is something that is very necessary in my opinion as this is something I've heard users complain about not being clear at all. It is however, not essential for the release of 0.12 so all is good to go.

Copy link
Member

@leburgel leburgel left a comment

Choose a reason for hiding this comment

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

Looks great! I just added a few minor things:

  • The makedocs call threw an error, seemed like a typo in the doctest kwarg and was fixed by changing doctests -> doctest
  • There was a missing finite lattice in the Hamiltonian construction in the ChepigaAnsatz example, causing it to fail. I added it so it runs and the (local) build is fixed, but it seems it doesn't actually give the expected result?
  • There was a missing docstring for fidelity_susceptibility, so I added this to the best of my abilities
  • The exact_diagonalization docstring was not very useful, so I tried to expand it a bit
  • Fixed some typos and made some minor cosmetic tweaks
  • Added the return arguments to the function signature in the docstrings of the main algorithms. This is something that I keep forgetting, so I thought might as well add it now

@lkdvos lkdvos merged commit da6732f into master Jan 21, 2025
2 of 3 checks passed
@lkdvos lkdvos deleted the ld-fixdocs branch January 21, 2025 13:57
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.

3 participants