Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Refactor mixed_canonize! #14

Merged
merged 7 commits into from
Feb 22, 2024
Merged

Refactor mixed_canonize! #14

merged 7 commits into from
Feb 22, 2024

Conversation

mofeing
Copy link
Member

@mofeing mofeing commented Feb 21, 2024

I just discovered some things from #10 that wasn't convinced about.

  • mode kwarg in canonize_site! would be better named as method
  • There are redundant factorizations in mixed_canonize!

Something not yet addressed in this PR is that if we use the :svd method in canonize_site!, then we cannot properly mixed-canonize a Chain without also contracting the "spectrum vector" with the next tensor.

src/Ansatz/Chain.jl Show resolved Hide resolved
src/Ansatz/Chain.jl Show resolved Hide resolved
@mofeing
Copy link
Member Author

mofeing commented Feb 22, 2024

The CI is failing because some weird interaction with the master version of Tenet. Merging because all tests pass in my computer.

@mofeing mofeing merged commit f4efd5a into master Feb 22, 2024
1 of 3 checks passed
@mofeing mofeing deleted the refactor-canonize branch February 22, 2024 18:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants