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

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Mar 26, 2024
1 parent 0008e0a commit 00c1641
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Ansatz/Chain.jl
Original file line number Diff line number Diff line change
Expand Up @@ -653,5 +653,6 @@ function overlap(::State, a::Chain, ::State, b::Chain)
return contract(tn)
end

# TODO optimize
overlap(a::Product, b::Chain) = overlap(convert(Chain, a), b)
overlap(a::Chain, b::Product) = overlap(a, convert(Chain, b))

0 comments on commit 00c1641

Please sign in to comment.