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

Add functions to return bond dimensions/maximum bond dimension for a chain #181

Open
starsfordummies opened this issue Aug 12, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@starsfordummies
Copy link
Contributor

something like linkdims(psi) and maxlinkdim(psi), if we want to borrow notation from other libraries

@mofeing mofeing added enhancement New feature or request good first issue Good for newcomers labels Aug 12, 2024
@starsfordummies
Copy link
Contributor Author

eg something like

linkdims(psi::Chain) = [size(psi,link) for link in inds(psi, set=:inner)]
maxlinkdim(psi) = maximum(linkdims(psi))

@mofeing mofeing added this to the 0.8 milestone Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants