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

Implement trace methods for QuantumTensorNetwork #110

Closed
mofeing opened this issue Oct 9, 2023 · 3 comments · Fixed by #103
Closed

Implement trace methods for QuantumTensorNetwork #110

mofeing opened this issue Oct 9, 2023 · 3 comments · Fixed by #103
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@mofeing
Copy link
Member

mofeing commented Oct 9, 2023

LinearAlgebra.tr is the Julia function for the trace operator. Specialized methods must be defined for QuantumTensorNetwork.

If the quantum tensor network is a Property (i.e. a closed TN, its contraction returns a scalar number), then it should act as the identity and do nothing.

If it's a State, it should error.

If it's an Operator, then it should connect the input and output indices.

@mofeing mofeing added enhancement New feature or request good first issue Good for newcomers labels Oct 9, 2023
@mofeing mofeing added this to the 0.4 milestone Oct 9, 2023
@mofeing mofeing linked a pull request Oct 9, 2023 that will close this issue
6 tasks
@mofeing
Copy link
Member Author

mofeing commented Nov 3, 2023

Related code moved to Qrochet.jl.

@mofeing mofeing closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2023
@mofeing
Copy link
Member Author

mofeing commented Nov 13, 2023

Triggering TagBot for merged registry pull request: bsc-quantic/Registry#100

@mofeing
Copy link
Member Author

mofeing commented Dec 5, 2023

Triggering TagBot for merged registry pull request: bsc-quantic/Registry#105

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

Successfully merging a pull request may close this issue.

1 participant