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

Introduce groupinds! function to group parallel inds #199

Merged
merged 10 commits into from
Sep 10, 2024
Merged

Conversation

mofeing
Copy link
Member

@mofeing mofeing commented Sep 7, 2024

Copy link
Contributor

@starsfordummies starsfordummies left a comment

Choose a reason for hiding this comment

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

\o/

src/TensorNetwork.jl Outdated Show resolved Hide resolved
@jofrevalles
Copy link
Member

Shouldn't we indicate which indices should the function group? Like :i and :j, and not only those who are "parallel to" :i?

Co-authored-by: Jofre Vallès Muns <61060572+jofrevalles@users.noreply.github.com>
@mofeing
Copy link
Member Author

mofeing commented Sep 9, 2024

I see your point, but we are only going to "group" indices that are parallel; grouping indices that are not parallel involves performing contractions of the involved tensors, which we don't want to force.

@mofeing mofeing merged commit 280e5fb into master Sep 10, 2024
6 checks passed
@mofeing mofeing deleted the feature/groupinds branch September 10, 2024 13:05
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