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

Functions for arithmetic operations of two tensor networks #119

Open
hanfluid opened this issue Feb 12, 2024 · 3 comments
Open

Functions for arithmetic operations of two tensor networks #119

hanfluid opened this issue Feb 12, 2024 · 3 comments

Comments

@hanfluid
Copy link

Does cuQuantum include efficient functions for implementing arithmetic operations, i.e., addition and subtraction, on two tensor networks?

@DmitryLyakh
Copy link
Collaborator

What do you mean exactly? Addition and subtraction of entire tensor networks or something else?

@hanfluid
Copy link
Author

For instance, to compute the elementwise sum of a and b, using mps_a and mps_b, where a and b represent two state vectors approximated by the Matrix Product States mps_a and mps_b, respectively.

@haidarazzam
Copy link
Collaborator

If you want to (add/subtract/sum elementwise) of one tensor, you can use the cuTENSOR library. cuQuantum performs contraction of a tensor network. if you want to add/subtract a tensor network (more than one tensor) then you might want to do it one by one using the cuTENSOR. Currently cuQuantum doesn't offer such unitary operation on a network.

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

No branches or pull requests

3 participants